Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XOrg emerge error on 12" powerbook
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
brianm
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2004
Posts: 78
Location: Aurora, Illinois, USA

PostPosted: Tue Aug 17, 2004 2:47 pm    Post subject: XOrg emerge error on 12" powerbook Reply with quote

Hi.

I have a powerbook g4 12" 1ghz superdrive. The initial gentoo install worked perfectly(i used stage3). When i try to emerge xorg-x11, it fails. The error i get is:
Code:
!!! ERROR: x11-base/xorg-x11-6.7.0-r1 failed.
!!! Function src_compiles, Line 668, Exitcode 2
!!! (no error message)


i'm using gcc 3.3
Thanks in advance
Back to top
View user's profile Send private message
gnufreax
n00b
n00b


Joined: 25 Jul 2004
Posts: 42

PostPosted: Tue Aug 17, 2004 4:21 pm    Post subject: What are your cflags? Reply with quote

I had the same problem with the tool GNU-Gettext
i had forgot the "-" at -mcpu= in my cflags.
Just post your cflags and wih gcc version you are using.
I hope that helps.
_________________
"No PC will ever need more then 64 KB of ram.." Bill Gates
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Tue Aug 17, 2004 5:00 pm    Post subject: Re: XOrg emerge error on 12" powerbook Reply with quote

brianm wrote:
When i try to emerge xorg-x11, it fails. The error i get is:
Code:
!!! ERROR: x11-base/xorg-x11-6.7.0-r1 failed.
!!! Function src_compiles, Line 668, Exitcode 2
!!! (no error message)


The error happened before, in the build process. What you posted here is useless, most build errors produce a message like this. Try to re-emerge the offending package and post whatever errors are spit out by the compiler/linker/whatever prior to the emerge-produced message.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
brianm
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2004
Posts: 78
Location: Aurora, Illinois, USA

PostPosted: Tue Aug 17, 2004 5:56 pm    Post subject: Reply with quote

Code:


libpng error: Call to NULL read function
PNG error while reading X_cursor-16.png!
make[5]: *** [X_cursor] Error 1
make[5]: Leaving directory '/var/tmp/portage/xorg=x11-6.7.0-r1/work/xc/programs/xcursorgen/redglass'
make[4]: *** [all] Error 2
make[4]: Leaving directory '/var/tmp/portage/xorg-x11-6.7.0-r1/xc/programs/xcursorgen'
make[3]: *** [all] Error 2
make[3]: Leaving directory /var/tmp/portage/xorg=x11-6.7.0-r1/work/xc'
make[2]: *** [all] Error 2
make[2]: Leaving directory '/var/tmp/portage/xorg-x11-6.7.0-r1/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory '/var/tmp/portage/xorg-x11-6.7.0-r1/xc'
make: *** [world] error 2

!!! ERROR: x11-base/xorg-x11-6.7.0-r1 failed.
!!! Function src_compiles, Line 668, Exitcode 2
!!! (no error message)


thanks again!
Back to top
View user's profile Send private message
brianm
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2004
Posts: 78
Location: Aurora, Illinois, USA

PostPosted: Tue Aug 17, 2004 6:08 pm    Post subject: Reply with quote

heres my cflags

Code:

CFLAGS="-02 -mcpu=7400 -maltivec -mabi=altivec -pipe"
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Wed Aug 18, 2004 2:57 pm    Post subject: Reply with quote

brianm wrote:
Code:
libpng error: Call to NULL read function
PNG error while reading X_cursor-16.png!


Aha! Now we are talking. I got it once too this one, re-emerge libpng and try Xorg once more; this time it should work. If I remember correctly, the problem was with libpng being compiled with a different GCC; in any case, the error you mention was fixed in my case by re-emerging libpng.

Your CFLAGS look fine, you may want to include -fno-strict-aliasing though if you use a newer version of GCC.

Stefan
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum