Thanks to Kai-Uwe and Hal for the proposed fixes. I got further, but it still doesn't want to build :-/
On Mon, 03 Nov 2008 21:21:35 Kai-Uwe Behrmann wrote: > attached you will find a patch for basically compiling the library and > tifficc. It consists of a trivial makefile and some fixes/hacks (take your > pick;) to let the code run on Linux. I couldn't find a make file, just the diff for lcms2.h containing the added pre-processor macros. On Tue, 04 Nov 2008 12:36:16 Hal V. Engel wrote: > It also needs: > > #include <stddef.h> > > in lcms2.h to build. It also needs -fPIC added to the CFLAGS on amd64 > systems. And I needed apparently a -DNON_WINDOWS switch for gcc. Next to a bag full of warnings is now barfs at at cmscnvrt.c here: src/cmscnvrt.c:429: error: static declaration of '_cmsDefaultICCintents' follows non-static declaration src/cmscnvrt.c:45: error: previous declaration of '_cmsDefaultICCintents' was here scons: *** [Debug/cmscnvrt.os] Error 1 scons: building terminated because of errors. Just removing the keyword "static" from the implementation in line 428 doesn't help, as something still forks up somewhere else in cmsintrp.c then: src/cmsintrp.c:189: error: conflicting types for '_cmsComputeInterpParams' src/lcms2_internal.h:312: error: previous declaration of '_cmsComputeInterpParams' was here scons: *** [Debug/cmsintrp.os] Error 1 scons: building terminated because of errors. Any further input would be highly welcome. BTW, did it actually already compile for you (Kai-Uwe and Hal) on a non-Wintendo platform? Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Putaiao o Mohiohio me Pangarau Room 2.63, Quad Block A Building Massey University, Auckland, Albany Private Bag 102 904, North Shore Mail Centre voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 eMail: [EMAIL PROTECTED] http://iims.massey.ac.nz ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user