View previous topic :: View next topic |
Author |
Message |
brianm Tux's lil' helper
Joined: 17 Aug 2004 Posts: 78 Location: Aurora, Illinois, USA
|
Posted: Tue Aug 17, 2004 2:47 pm Post subject: XOrg emerge error on 12" powerbook |
|
|
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 |
|
|
gnufreax n00b
Joined: 25 Jul 2004 Posts: 42
|
Posted: Tue Aug 17, 2004 4:21 pm Post subject: What are your cflags? |
|
|
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 |
|
|
bruda Guru
Joined: 06 May 2004 Posts: 376 Location: Sherbrooke, QC, Canada
|
Posted: Tue Aug 17, 2004 5:00 pm Post subject: Re: XOrg emerge error on 12" powerbook |
|
|
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 |
|
|
brianm Tux's lil' helper
Joined: 17 Aug 2004 Posts: 78 Location: Aurora, Illinois, USA
|
Posted: Tue Aug 17, 2004 5:56 pm Post subject: |
|
|
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 |
|
|
brianm Tux's lil' helper
Joined: 17 Aug 2004 Posts: 78 Location: Aurora, Illinois, USA
|
Posted: Tue Aug 17, 2004 6:08 pm Post subject: |
|
|
heres my cflags
Code: |
CFLAGS="-02 -mcpu=7400 -maltivec -mabi=altivec -pipe"
|
|
|
Back to top |
|
|
bruda Guru
Joined: 06 May 2004 Posts: 376 Location: Sherbrooke, QC, Canada
|
Posted: Wed Aug 18, 2004 2:57 pm Post subject: |
|
|
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 |
|
|
|