Hello, Just a note, recently I download lcms 1.17 for compile it under Mac OS 10.5.2 and XCode 2.5 on a PowerMac G4.
1) I notice the library name is incorrect, it is liblcms.1.0.16.dylib. For lcms version 1.17, the library name should be liblcms. 1.0.17.dylib, right ? xyz:.libs pchan$ pwd /Users/pchan/Project-Lib/lcms-1.17/src/.libs isidualg4:.libs pchan$ ls -als liblcms.* 448 -rwxr-xr-x 1 pchan staff 227096 Apr 23 09:32 liblcms. 1.0.16.dylib 8 lrwxr-xr-x 1 pchan staff 20 Apr 23 09:32 liblcms.1.dylib - > liblcms.1.0.16.dylib 1648 -rw-r--r-- 1 pchan staff 842208 Apr 23 09:32 liblcms.a 8 lrwxr-xr-x 1 pchan staff 20 Apr 23 09:32 liblcms.dylib -> liblcms.1.0.16.dylib 8 lrwxr-xr-x 1 pchan staff 13 Apr 23 09:32 liblcms.la -> ../ liblcms.la 8 -rw-r--r-- 1 pchan staff 811 Apr 23 09:32 liblcms.lai xyz:.libs pchan$ 2) I copy and ranlib liblcms.a file into a simple test project. The test project compile but the linker failed, spitting error messages, see below. Later I boot up Mac OS 10.4 (Tiger) on another machine, also using XCode 2.5, recompile lcms 1.17 and do the same step for the test project. No compilation error on tiger. Building target “TestLCMS” of project “TestLCMS” with configuration “Debug” Checking Dependencies Ld /Users/pchan/Project-Test/TestLCMS/build/Debug/TestLCMS.app/ Contents/MacOS/TestLCMS normal ppc cd /Users/pchan/Project-Test/TestLCMS /Xcode2.5/usr/bin/gcc-4.0 -o /Users/pchan/Project-Test/TestLCMS/ build/Debug/TestLCMS.app/Contents/MacOS/TestLCMS -L/Users/pchan/ Project-Test/TestLCMS/build/Debug -L/Users/pchan/Project-Test/TestLCMS -F/Users/pchan/Project-Test/TestLCMS/build/Debug -filelist /Users/ pchan/Project-Test/TestLCMS/build/TestLCMS.build/Debug/TestLCMS.build/ Objects-normal/ppc/TestLCMS.LinkFileList -framework Cocoa -llcms -arch ppc -Wl,-Y,1455 -mmacosx-version-min=10.4 -isysroot /Xcode2.5/SDKs/ MacOSX10.4u.sdk /Xcode2.5/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: _pthread_rwlock_destroy$UNIX2003 _pthread_rwlock_init$UNIX2003 _pthread_rwlock_rdlock$UNIX2003 _pthread_rwlock_unlock$UNIX2003 _pthread_rwlock_wrlock$UNIX2003 /Users/pchan/Project-Test/TestLCMS/liblcms.a(cmsxform.o) reference to undefined _pthread_rwlock_destroy$UNIX2003 /Users/pchan/Project-Test/TestLCMS/liblcms.a(cmsxform.o) reference to undefined _pthread_rwlock_init$UNIX2003 /Users/pchan/Project-Test/TestLCMS/liblcms.a(cmsxform.o) reference to undefined _pthread_rwlock_rdlock$UNIX2003 /Users/pchan/Project-Test/TestLCMS/liblcms.a(cmsxform.o) reference to undefined _pthread_rwlock_unlock$UNIX2003 /Users/pchan/Project-Test/TestLCMS/liblcms.a(cmsxform.o) reference to undefined _pthread_rwlock_wrlock$UNIX2003 collect2: ld returned 1 exit status Peter. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user