|TIFF and LibTiff Mailing List Archive|
LibTiff Mailing List
2006.09.26 13:25 "Re: 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. Bob Friesenhahn wrote: > On Tue, 5 Sep 2006, Ivan LAURETTE wrote: >> >> 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'.