I have been trying for a week now to build gcj on os x panther. I have read about some fink packages causing trouble. I have removed the packages and I still get the below error. Please help! Making all in include /bin/sh ./libtool --tag=CXX --mode=compile /Users/aubmoon/src/build/gcc/xgcc -shared-libgcc -B/Users/aubmoon/src/build/gcc/ -nostdinc++ -L/Users/aubmoon/src/build/powerpc-apple-darwin7.4.0/libstdc++-v3/src -L/Users/aubmoon/src/build/powerpc-apple-darwin7.4.0/libstdc++-v3/src/.libs -B/usr/bin/gcc-3.4.0/powerpc-apple-darwin7.4.0/bin/ -B/usr/bin/gcc-3.4.0/powerpc-apple-darwin7.4.0/lib/ -isystem /usr/bin/gcc-3.4.0/powerpc-apple-darwin7.4.0/include -isystem /usr/bin/gcc-3.4.0/powerpc-apple-darwin7.4.0/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-3.4.0/libjava -I./include -I./gcj -I../../../gcc-3.4.0/libjava -Iinclude -I../../../gcc-3.4.0/libjava/include -I/Users/aubmoon/src/gcc-3.4.0/boehm-gc/include -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 -DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I../../../gcc-3.4.0/libjava/libltdl -I../../../gcc-3.4.0/libjava/libltdl -I../../../gcc-3.4.0/libjava/.././libjava/../gcc -I../../../gcc-3.4.0/libjava/../zlib -I../../../gcc-3.4.0/libjava/../libffi/include -I../libffi/include -O2 -g -O2 -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -W -Wall -D_GNU_SOURCE -DPREFIX="\"/usr/bin/gcc-3.4.0\"" -DLIBDIR="\"/usr/bin/gcc-3.4.0/lib\"" -DBOOT_CLASS_PATH="\"/usr/bin/gcc-3.4.0/share/java/libgcj-3.4.0.jar\"" -g -O2 -MD -MT gnu/gcj/runtime/natNameFinder.lo -MF gnu/gcj/runtime/natNameFinder.pp -c -o gnu/gcj/runtime/natNameFinder.lo ../../../gcc-3.4.0/libjava/gnu/gcj/runtime/natNameFinder.cc /Users/aubmoon/src/build/gcc/xgcc -shared-libgcc -B/Users/aubmoon/src/build/gcc/ -nostdinc++ -L/Users/aubmoon/src/build/powerpc-apple-darwin7.4.0/libstdc++-v3/src -L/Users/aubmoon/src/build/powerpc-apple-darwin7.4.0/libstdc++-v3/src/.libs -B/usr/bin/gcc-3.4.0/powerpc-apple-darwin7.4.0/bin/ -B/usr/bin/gcc-3.4.0/powerpc-apple-darwin7.4.0/lib/ -isystem /usr/bin/gcc-3.4.0/powerpc-apple-darwin7.4.0/include -isystem /usr/bin/gcc-3.4.0/powerpc-apple-darwin7.4.0/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-3.4.0/libjava -I./include -I./gcj -I../../../gcc-3.4.0/libjava -Iinclude -I../../../gcc-3.4.0/libjava/include -I/Users/aubmoon/src/gcc-3.4.0/boehm-gc/include -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 -DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I../../../gcc-3.4.0/libjava/libltdl -I../../../gcc-3.4.0/libjava/libltdl -I../../../gcc-3.4.0/libjava/.././libjava/../gcc -I../../../gcc-3.4.0/libjava/../zlib -I../../../gcc-3.4.0/libjava/../libffi/include -I../libffi/include -O2 -g -O2 -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -W -Wall -D_GNU_SOURCE -DPREFIX=\"/usr/bin/gcc-3.4.0\" -DLIBDIR=\"/usr/bin/gcc-3.4.0/lib\" -DBOOT_CLASS_PATH=\"/usr/bin/gcc-3.4.0/share/java/libgcj-3.4.0.jar\" -g -O2 -MD -MT gnu/gcj/runtime/natNameFinder.lo -MF gnu/gcj/runtime/natNameFinder.pp -c ../../../gcc-3.4.0/libjava/gnu/gcj/runtime/natNameFinder.cc -fno-common -DPIC -o gnu/gcj/runtime/.libs/natNameFinder.o ../../../gcc-3.4.0/libjava/gnu/gcj/runtime/natNameFinder.cc: In member function `java::lang::StackTraceElement* gnu::gcj::runtime::NameFinder::dladdrLookup(gnu::gcj::RawData*, jint)': ../../../gcc-3.4.0/libjava/gnu/gcj/runtime/natNameFinder.cc:101: error: `Dl_info' undeclared (first use this function) ../../../gcc-3.4.0/libjava/gnu/gcj/runtime/natNameFinder.cc:101: error: (Each undeclared identifier is reported only once for each function it appears in.) ../../../gcc-3.4.0/libjava/gnu/gcj/runtime/natNameFinder.cc:101: error: expected `;' before "dl_info" ../../../gcc-3.4.0/libjava/gnu/gcj/runtime/natNameFinder.cc:103: error: `dl_info' undeclared (first use this function) ../../../gcc-3.4.0/libjava/gnu/gcj/runtime/natNameFinder.cc:103: error: `dladdr' undeclared (first use this function) make[2]: *** [gnu/gcj/runtime/natNameFinder.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-target-libjava] Error 2 powerbook:~/src/build aubmoon$ Thanks, Mark