Hi, I have had an unexpected (!) problem trying to compile gcc43 under fink - which seems to be related to some data structure (Dl_Info) related to Java being unavailable on my system (OS X 10,4,11). I do have Java 1.5 in /usr/bin and using fink install I get this after some 1h of compilation:
... libtool: compile: /sw/src/fink.build/gcc43-4.3.1-1000/darwin_objdir/./gcc/ xgcc -shared-libgcc -B/sw/src/fink.build/gcc43-4.3.1- 1000/darwin_objdir/./gcc -nostdinc++ -L/sw/src/fink.build/gcc43-4.3.1- 1000/darwin_objdir/i686- apple-darwin8/libstdc++-v3/src - L/sw/src/fink.build/gcc43-4.3.1-1000/darwin_objdir/i686-apple-darwin8/ libstdc++-v3/src/.libs - B/sw/lib/gcc4.3/i686-apple-darwin8/bin/ - B/sw/lib/gcc4.3/i686-apple-darwin8/lib/ -isystem /sw/lib/gcc4.3/i686- apple-darwin8/include - isystem /sw/lib/gcc4.3/i686-apple-darwin8/sys- include -DHAVE_CONFIG_H -I. -I../../../gcc-4.3.1/libjava -I./include -I./ gcj -I../../../gcc-4.3.1/libjava -Iinclude -I../../../gcc-4.3.1/libjava/include - I../../../gcc-4.3.1/libjava/classpath/include -Iclasspath/include -I../../../ gcc-4.3.1/libjava/classpath/native/fdlibm -I../../../gcc- 4.3.1/libjava/../boehm-gc/include -I../boehm-gc/include -I../../../gcc-4 .3.1/libjava/libltdl - I../../../gcc-4.3.1/libjava/libltdl -I../../../gcc- 4.3.1/libjava/.././libjava/../gcc -I../../../gcc-4.3.1/libjava/../libffi/include -I../libffi/include - I/sw/include -fno-rtti -fnon-call-exceptions -fdollars- in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -ffloat-store -fomit-frame-pointer -Usun - Wextra -Wall -D_GNU_SOURCE - DPREFIX=\"/sw/lib/gcc4.3\" -DTOOLEXECLIBDIR=\"/sw/lib/gcc4.3/lib\" - DJAVA_HOME=\"/sw/lib/gcc4.3\" - DBOOT_CLASS_PATH=\"/sw/lib/gcc4.3/share/java/libgcj-4.3.1.jar\" - DJAVA_EXT_DIRS=\"/sw/lib/gcc4.3/share/java/ext\" - DGCJ_ENDORSED_DIRS=\"/sw/lib/gcc4.3/share/java/gcj-endorsed\" - DGCJ_VERSIONED_LIBDIR=\"/sw/lib/gcc4.3/lib/gcj-4.3.1-9\" - DPATH_SEPARATOR=\":\" -DECJ_JAR_FILE=\"/sw/lib/gcc4.3/share/java/ ecj.jar\" -DLIBGCJ_DEFAULT_DATABASE=\"/sw/lib/gcc4.3/lib/gcj-4.3.1- 9/classmap.db\" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.3.1 /classmap.db\" -O2 -g -g -O2 -MT boehm.lo -MD -MP -MF .deps/boehm.Tpo -c ../../../gcc-4.3.1/libjava/boehm.cc -fno-common -DPIC -o .libs/boehm.o ../../../gcc-4.3.1/libjava/boehm.cc: In function 'void _Jv_RegisterLibF orGc(const void*)': ../../../gcc-4.3.1/libjava/boehm.cc:704: error: 'Dl_info' was not declared in this scope ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../../../gcc-4.3.1/libjava/boehm.cc:704: error: expected `;' before 'info' ../../../gcc-4.3.1/libjava/boehm.cc:706: error: 'info' was not declared in this scope ../../../gcc-4.3.1/libjava/boehm.cc:706: error: 'dladdr' was not declared in this scope ../../../gcc-4.3.1/libjava/boehm.cc: At global scope: ../../../gcc-4.3.1/libjava/boehm.cc:716: warning: unused parameter 'thread' ../../../gcc-4.3.1/libjava/boehm.cc:725: warning: unused parameter 'thread' ../../../gcc-4.3.1/libjava/boehm.cc:734: warning: unused parameter 'thread' make[3]: *** [boehm.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-target-libjava] Error 2 make: *** [all] Error 2 ### execution of /var/tmp/tmp.1.Kib670 failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-gcc43-4.3.1-1000 (Reading database ... 48744 files and directories currently installed.) Removing fink-buildlock-gcc43-4.3.1-1000 ... Failed: phase compiling: gcc43-4.3.1-1000 failed It would appear that the error is some .h file missing perhaps in order to compile boehm.cc properly? Thanks for any hint, best wishes, chirs b. ------------------------------------------------------------------------- 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=/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users