2006.07.24 14:39 "[Tiff] "Elf Error" building tifflib on Solaris 2.5", by John Prenis

2006.09.26 13:25 "RE: [Tiff] Cross compilation mac os x/linux", by Ivan LAURETTE

Bob,

I'm sorry, I didn't receive your answer and just found it on the libtiff mailing list.

I modified dummy.c following your advice.

I still get the same error.

I'm trying to cross compile the libtiff 3.8.2 for a PowerPC-860 (linux) on my PowerPC G5 (Mac OS 10.4.7). I'm using gcc as crosscompiler. I configured the compilation with:

The "libport" approach used in the libtiff build was a bad idea. It causes linker problems on some platforms when libport does not provide any external symbols.

A workaround is to edit port/dummy.c and change the word 'static' to 'extern'.