View previous topic :: View next topic |
Author |
Message |
edgarsparingly n00b
Joined: 15 Mar 2003 Posts: 15
|
Posted: Tue Aug 26, 2003 11:27 pm Post subject: Compiling kernel on Powerbook G4 fails at util.o |
|
|
I've recently been installing my new 12" powerbook with gentoo. Everything has been going fine, I managed to get the system all set up including a new compiled kernel. I came across an error however that required recompiling the kernel again, so I made the appropriate adjustment (removing enhanced RTC support) and recompiled. However the process hits an error when trying to create util.o.
Normally I wouldn't find this kind of compile error strange, they happen sometimes, but I get the same error trying to compile different kernel versions now. The only thing I can think is that when I ran 'emerge -u world' in between compiling the first kernel and compiling the second something has gone awry.
I've done some googling and not found anything on this error, can anyone help me?
The appropriate output is below:-
Code: |
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-ppc-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/usr/src/linux-2.4.21-ppc-r2/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -fno-builtin -D__BOOTER__ -I/usr/src/linux-2.4.21-ppc-r2/arch/ppc/boot/include -nostdinc -iwithprefix include -DKBUILD_BASENAME=of1275 -c -o of1275.o of1275.c
gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.21-ppc-r2/include -I/usr/src/linux-2.4.21-ppc-r2/arch/ppc -D__BOOTER__ -I/usr/src/linux-2.4.21-ppc-r2/arch/ppc/kernel -c -o ../common/util.o ../common/util.S
../common/util.S: Assembler messages:
../common/util.S:207: Warning: setting incorrect section attributes for .relocate_code
../common/util.o: File truncated
../common/util.S:268: FATAL: Can't write ../common/util.o: File truncated
make[2]: *** [../common/util.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.21-ppc-r2/arch/ppc/boot/prep'
make[1]: *** [zImage] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-ppc-r2/arch/ppc/boot'
make: *** [zImage] Error 2
|
_________________ Fear the cat!
Meow. |
|
Back to top |
|
|
cselkirk Apprentice
Joined: 09 Jun 2003 Posts: 199 Location: NL
|
Posted: Sat Aug 30, 2003 2:32 pm Post subject: Re: Compiling kernel on Powerbook G4 fails at util.o |
|
|
edgarsparingly wrote: | I've recently been installing my new 12" powerbook with gentoo. Everything has been going fine, I managed to get the system all set up including a new compiled kernel. I came across an error however that required recompiling the kernel again, so I made the appropriate adjustment (removing enhanced RTC support) and recompiled. However the process hits an error when trying to create util.o. |
move your .config to a safe place, run 'make mrpropper' cp .config back and run
Code: | make oldconfig && make clean && make dep && make vmlinux modules modules_install |
running mrpropper will clean the tree and remove any lingering deps for RTC, the 2.4 series dep is not as inteligent as it could be. _________________ cn=cselkirk,dc=xs4all,dc=nl |
|
Back to top |
|
|
|
|
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
|
|