Failure compiling gcc 3.4.x

Alessandro Di Maria adm@m42.ch
Sun Jul 11 21:38:00 GMT 2004


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:
../src/gcc-3.4.1/configure --prefix=/usr/local/gcj 
--enable-threads=posix --enable-shared --disable-checking 
--enable-languages=c,c++,java

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1745 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20040711/9ab91710/attachment.bin>


More information about the Gcc-help mailing list