So after four days of googling around, I finally found the solution for my problem.
It's a incompatibility with fink and dlcompat.
http://gcc.gnu.org/ml/gcc-bugs/2003-12/msg02085.html
It would have been very usefull, if this known bug had been posted somewhere like:
http://gcc.gnu.org/install/specific.html#powerpc-*-darwin*
Regards
Alessandro
Hi
May I get closer to the problem. I read that dlcompat could cause the error.
Now dlcompat comes with fink, but should not be needed anymore since version 10.3.
Although the dlcompat files (patch, info, shlibs patch, shlibs info) still are in /sw/fink/10.3/stable/main/finkinfo/libs.
I want to be sensitive to fink and not damage the installation, because I need it ;-)
Does anybody know more? Is dlcompat really the cause of the problem? And how do I remove
dlcompat properly without doing damage to fink?
Thanks for any help.
Alessandro
Hello
I tried to compile GCC 3.4.1 and 3.4.0 as well, with MacOSX installed GCC 3.3.
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
MacOSX 10.3.4 (Panther) Powerbook 1.33 GHz PowerPC G4.
config:
<x-tad-bigger>../src/gcc-3.4.1/configure --prefix=/usr/local/gcj --enable-threads=posix --enable-shared --disable-checking --enable-languages=c,c++,java
</x-tad-bigger>
Tried with make and make bootstrap
and I receive always the same error:
/../../src/gcc-3.4.1/libjava/gnu/gcj/runtime/natNameFinder.cc -fno-common -DPIC -o gnu/gcj/runtime/.libs/natNameFinder.o
../../../src/gcc-3.4.1/libjava/gnu/gcj/runtime/natNameFinder.cc: In member function `java::lang::StackTraceElement* gnu::gcj::runtime::NameFinder::dladdrLookup(gnu::gcj::RawData*, jint)':
../../../src/gcc-3.4.1/libjava/gnu/gcj/runtime/natNameFinder.cc:101: error: `Dl_info' undeclared (first use this function)
../../../src/gcc-3.4.1/libjava/gnu/gcj/runtime/natNameFinder.cc:101: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../../src/gcc-3.4.1/libjava/gnu/gcj/runtime/natNameFinder.cc:101: error: expected `;' before "dl_info"
../../../src/gcc-3.4.1/libjava/gnu/gcj/runtime/natNameFinder.cc:103: error: `dl_info' undeclared (first use this function)
../../../src/gcc-3.4.1/libjava/gnu/gcj/runtime/natNameFinder.cc:103: error: `dladdr' undeclared (first use this function)
make[3]: *** [gnu/gcj/runtime/natNameFinder.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-target-libjava] Error 2
make: *** [bootstrap] Error 2
Can anybody help?
Thx
Alessandro