Greetings

I seem to be having a problem installing gcc4 unstable on my 10.3.9 machine. I ran selfupdate, then installed some other packages. Now I am trying to put gcc4 on the machine in an effort to get rid of the warning that my current compiler is known to give errors with C++. The best that I can figure out is that it needs to access some java libraries and cannot. I tried "fink dumpinfo gcc4" but I was not able to figure anything out.

Beyond the errors that I get from fink, Fink Commander also says that I do not have the latest version of gcc4 installed and that I should try installing that before I report any errors. Unfortunately updating gcc4 is what I was attempting to do in the first place. So I think that I am caught up in a Catch-22 situation.

Hopefully the following is enough information to enable someone to give me some suggestions.


Thanks

Lorenz



name category summary installed version binary stable unstable maintainer gcc4 languages GNU Compiler Collection Version 4 2:4.0.1-2 1:4.0.0-1 2:4.0.1-2 Jeffrey Whitaker

--
Package manager version: 0.24.10
Distribution version: 0.7.2.rsync
Mac OS X version: 10.3.9
Xcode version: 1.5
gcc version: 3.3 20030304 (Apple Computer, Inc. build 1671)
make version: 3.79
Feedback Courtesy of FinkCommander




/Downloads/gcc4-4.0.1-2/gcc-4.0.1/darwin/gcc/xgcc -shared-libgcc -B/Downloads/gcc4-4.0.1-2/gcc-4.0.1/darwin/gcc/ -nostdinc++ -L/Downloads/gcc4-4.0.1-2/gcc-4.0.1/darwin/powerpc-apple-darwin7/ libstdc++-v3/src -L/Downloads/gcc4-4.0.1-2/gcc-4.0.1/darwin/powerpc-apple-darwin7/ libstdc++-v3/src/.libs -B/sw/lib/gcc4/powerpc-apple-darwin7/bin/ -B/sw/lib/gcc4/powerpc-apple-darwin7/lib/ -isystem /sw/lib/gcc4/powerpc-apple-darwin7/include -isystem /sw/lib/gcc4/powerpc-apple-darwin7/sys-include -DHAVE_CONFIG_H -I. -I../../../libjava -I./include -I./gcj -I../../../libjava -Iinclude -I../../../libjava/include -I../../../libjava/../boehm-gc/include -I../boehm-gc/include -I../../../libjava/libltdl -I../../../libjava/libltdl -I../../../libjava/.././libjava/../gcc -I../../../libjava/../zlib -I../../../libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\"/sw/lib/gcc4\" -DLIBDIR=\"/sw/lib/gcc4/lib\" -DJAVA_HOME=\"/sw/lib/gcc4\" -DBOOT_CLASS_PATH=\"/sw/lib/gcc4/share/java/libgcj-4.0.1.jar\" -DJAVA_EXT_DIRS=\"/sw/lib/gcc4/share/java/ext\" -DGCJ_ENDORSED_DIRS=\"/sw/lib/gcc4/share/java/gcj-endorsed\" -DLIBGCJ_DEFAULT_DATABASE=\"/sw/lib/gcc4/lib/gcj-4.0.1/classmap.db\" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.0.1/classmap.db\" -DTOOLEXECLIBDIR=\"/sw/lib/gcc4/lib\" -g -O2 -MT gnu/gcj/runtime/natFinalizerThread.lo -MD -MP -MF gnu/gcj/runtime/.deps/natFinalizerThread.Tpo -c ../../../libjava/gnu/gcj/runtime/natFinalizerThread.cc -o gnu/gcj/runtime/natFinalizerThread.o >/dev/null 2>&1 depbase=`echo gnu/gcj/runtime/natNameFinder.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ if /bin/sh ./libtool --mode=compile /Downloads/gcc4-4.0.1-2/gcc-4.0.1/darwin/gcc/xgcc -shared-libgcc -B/Downloads/gcc4-4.0.1-2/gcc-4.0.1/darwin/gcc/ -nostdinc++ -L/Downloads/gcc4-4.0.1-2/gcc-4.0.1/darwin/powerpc-apple-darwin7/ libstdc++-v3/src -L/Downloads/gcc4-4.0.1-2/gcc-4.0.1/darwin/powerpc-apple-darwin7/ libstdc++-v3/src/.libs -B/sw/lib/gcc4/powerpc-apple-darwin7/bin/ -B/sw/lib/gcc4/powerpc-apple-darwin7/lib/ -isystem /sw/lib/gcc4/powerpc-apple-darwin7/include -isystem /sw/lib/gcc4/powerpc-apple-darwin7/sys-include -DHAVE_CONFIG_H -I. -I../../../libjava -I./include -I./gcj -I../../../libjava -Iinclude -I../../../libjava/include -I../../../libjava/../boehm-gc/include -I../boehm-gc/include -I../../../libjava/libltdl -I../../../libjava/libltdl -I../../../libjava/.././libjava/../gcc -I../../../libjava/../zlib -I../../../libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -Wextra -Wall -D_GNU_SOURCE -DPREFIX="\"/sw/lib/gcc4\"" -DLIBDIR="\"/sw/lib/gcc4/lib\"" -DJAVA_HOME="\"/sw/lib/gcc4\"" -DBOOT_CLASS_PATH="\"/sw/lib/gcc4/share/java/libgcj-4.0.1.jar\"" -DJAVA_EXT_DIRS="\"/sw/lib/gcc4/share/java/ext\"" -DGCJ_ENDORSED_DIRS="\"/sw/lib/gcc4/share/java/gcj-endorsed\"" -DLIBGCJ_DEFAULT_DATABASE="\"/sw/lib/gcc4/lib/gcj-4.0.1/classmap.db\"" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL="\"gcj-4.0.1/classmap.db\"" -DTOOLEXECLIBDIR="\"/sw/lib/gcc4/lib\"" -g -O2 -MT gnu/gcj/runtime/natNameFinder.lo -MD -MP -MF "$depbase.Tpo" -c -o gnu/gcj/runtime/natNameFinder.lo ../../../libjava/gnu/gcj/runtime/natNameFinder.cc; \ then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi /Downloads/gcc4-4.0.1-2/gcc-4.0.1/darwin/gcc/xgcc -shared-libgcc -B/Downloads/gcc4-4.0.1-2/gcc-4.0.1/darwin/gcc/ -nostdinc++ -L/Downloads/gcc4-4.0.1-2/gcc-4.0.1/darwin/powerpc-apple-darwin7/ libstdc++-v3/src -L/Downloads/gcc4-4.0.1-2/gcc-4.0.1/darwin/powerpc-apple-darwin7/ libstdc++-v3/src/.libs -B/sw/lib/gcc4/powerpc-apple-darwin7/bin/ -B/sw/lib/gcc4/powerpc-apple-darwin7/lib/ -isystem /sw/lib/gcc4/powerpc-apple-darwin7/include -isystem /sw/lib/gcc4/powerpc-apple-darwin7/sys-include -DHAVE_CONFIG_H -I. -I../../../libjava -I./include -I./gcj -I../../../libjava -Iinclude -I../../../libjava/include -I../../../libjava/../boehm-gc/include -I../boehm-gc/include -I../../../libjava/libltdl -I../../../libjava/libltdl -I../../../libjava/.././libjava/../gcc -I../../../libjava/../zlib -I../../../libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\"/sw/lib/gcc4\" -DLIBDIR=\"/sw/lib/gcc4/lib\" -DJAVA_HOME=\"/sw/lib/gcc4\" -DBOOT_CLASS_PATH=\"/sw/lib/gcc4/share/java/libgcj-4.0.1.jar\" -DJAVA_EXT_DIRS=\"/sw/lib/gcc4/share/java/ext\" -DGCJ_ENDORSED_DIRS=\"/sw/lib/gcc4/share/java/gcj-endorsed\" -DLIBGCJ_DEFAULT_DATABASE=\"/sw/lib/gcc4/lib/gcj-4.0.1/classmap.db\" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.0.1/classmap.db\" -DTOOLEXECLIBDIR=\"/sw/lib/gcc4/lib\" -g -O2 -MT gnu/gcj/runtime/natNameFinder.lo -MD -MP -MF gnu/gcj/runtime/.deps/natNameFinder.Tpo -c ../../../libjava/gnu/gcj/runtime/natNameFinder.cc -fno-common -DPIC -o gnu/gcj/runtime/.libs/natNameFinder.o ../../../libjava/gnu/gcj/runtime/natNameFinder.cc: In member function 'java::lang::StackTraceElement* gnu::gcj::runtime::NameFinder::dladdrLookup(gnu::gcj::RawData*, jint)': ../../../libjava/gnu/gcj/runtime/natNameFinder.cc:112: error: 'Dl_info' was not declared in this scope ../../../libjava/gnu/gcj/runtime/natNameFinder.cc:112: error: expected `;' before 'dl_info' ../../../libjava/gnu/gcj/runtime/natNameFinder.cc:114: error: 'dl_info' was not declared in this scope ../../../libjava/gnu/gcj/runtime/natNameFinder.cc:114: error: 'dladdr' was not declared in this scope
make[2]: *** [gnu/gcj/runtime/natNameFinder.lo] Error 1
make[1]: *** [all-recursive] Error 1
rm gnu/gcj/tools/gcj_dbtool/Main.class
make: *** [all-target-libjava] Error 2
### execution of /var/tmp/tmp.2.cPlFOe failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-gcc4-4.0.1-2
(Reading database ... 198682 files and directories currently installed.)
Removing fink-buildlock-gcc4-4.0.1-2 ...
Failed: phase compiling: gcc4-4.0.1-2 failed



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to