gcc-4.2.2 failed on Mac Power G4 running Leopard

doesNotMatter DoesNotMatter hijingfly@yahoo.com
Mon Jan 7 16:25:00 GMT 2008


Dear experts:

I was trying to compile gcc-4.2.2 on my PowerPC G4 and
it failed with  
the following message:

//====================
../../../gcc-4.2.2/libjava/boehm.cc: In function 'void
 
_Jv_RegisterLibForGc(const void*)':
../../../gcc-4.2.2/libjava/boehm.cc:670: error:
'Dl_info' was not  
declared in this scope
../../../gcc-4.2.2/libjava/boehm.cc:670: error:
expected `;' before  
'info'
../../../gcc-4.2.2/libjava/boehm.cc:672: error: 'info'
was not  
declared in this scope
../../../gcc-4.2.2/libjava/boehm.cc:672: error:
'dladdr' was not  
declared in this scope
../../../gcc-4.2.2/libjava/boehm.cc: At global scope:
../../../gcc-4.2.2/libjava/boehm.cc:682: warning:
unused parameter  
'thread'
../../../gcc-4.2.2/libjava/boehm.cc:691: 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.r15mOR failed, exit
code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r
fink-buildlock-gcc42-4.2.2-1000
(Reading database ... 39021 files and directories
currently installed.)
Removing fink-buildlock-gcc42-4.2.2-1000 ...
Failed: phase compiling: gcc42-4.2.2-1000 failed

//====================

I will appreciate any advice on what to do.

I am running Mac OS X Leopard on a Macintosh PowerPC
G4.  I also have the XCode 3 installed.

Thanks a lot !

Mark


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



More information about the Gcc-help mailing list