public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc-4.2.2 failed on Mac Power G4 running Leopard
@ 2008-01-07 16:25 doesNotMatter DoesNotMatter
  2008-01-08 15:27 ` Andreas Tobler
  0 siblings, 1 reply; 2+ messages in thread
From: doesNotMatter DoesNotMatter @ 2008-01-07 16:25 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc-4.2.2 failed on Mac Power G4 running Leopard
  2008-01-07 16:25 gcc-4.2.2 failed on Mac Power G4 running Leopard doesNotMatter DoesNotMatter
@ 2008-01-08 15:27 ` Andreas Tobler
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Tobler @ 2008-01-08 15:27 UTC (permalink / raw)
  To: doesNotMatter DoesNotMatter; +Cc: gcc-help

doesNotMatter DoesNotMatter wrote:
> 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.

ok, I verfied that a build of gcc svn 4.2.3 builds on my G4 with leopard 
10.5.1. There were no relevant changes between 4.2.2 and gcc-svn 4.2.3.

Though, I do not have fink or macports or whatever installed. I used a 
plain system install.

The Dl_info is defined in /usr/include/dlfcn.h. Might it be possible 
that on your installation another dlfcn.h is available which overrides 
the system one ?

You might ask the fink people if they need a special PATH setting or 
patches?

Andreas


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-07 20:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-07 16:25 gcc-4.2.2 failed on Mac Power G4 running Leopard doesNotMatter DoesNotMatter
2008-01-08 15:27 ` Andreas Tobler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).