Hi,
On Thu Jan 09, 2014 at 17:29:44 +0900, Irvanda Kurniadi wrote:
I've put the revision of jpegv9a and it solved the problem of true and false. But now I'm having another problem. I compiled libtiff library and got this error message:
lib/contrib/contrib/dbs/tiff-bi.s.o: In function `main': /home/irvanda/l4linux_test/src/l4/pkg/libtiff/lib/contrib/contrib/dbs/tiff-bi.c:36: multiple definition of `main' lib/contrib/contrib/addtiffo/addtiffo.s.o:/home/irvanda/l4linux_test/src/l4/pkg/libtiff/lib/contrib/contrib/addtiffo/addtiffo.c:73: first defined here lib/contrib/contrib/dbs/tiff-grayscale.s.o: In function `main': /home/irvanda/l4linux_test/src/l4/pkg/libtiff/lib/contrib/contrib/dbs/tiff-grayscale.c:42: multiple definition of `main' lib/contrib/contrib/addtiffo/addtiffo.s.o:/home/irvanda/l4linux_test/src/l4/pkg/libtiff/lib/contrib/contrib/addtiffo/addtiffo.c:73: first defined here
I think you included too many files in your Makefile. libtiff also contains programs (e.g. for testing purposes) which are not part of the library itself. You must not include those when building the library. Also, including files with 'win32' in the file name does not seem good to me. I recommend to only include those files that are part of a library build on Linux (display with "ar t libtiff.a").
Adam