problem : cross compiling the kernel
patel nirav
indianirav at yahoo.com
Mon Feb 5 00:02:18 EST 2007
Hello friends greeting all.
i am trying to cross compile the linux kernel 2.4.18 for powerpc604.( i am using gcc 3.4.1 glibc 2.3.3 binutils 2.15)
so i installed the cross tool at /opt/crossool/.....
and run following commands
[root at nirav linux-2.4.18]# make ARCH=ppc menuconfig
[root at nirav linux-2.4.18]# make ARCH=ppc CROSS_COMPILE=powepc-604-linux-gnu- dep zImage
and i found following problems.
/home/nirav/RTAI/linux-2.4.18/include/asm/unistd.h:415: warning: conflicting types for built-in function '_exit'
/home/nirav/RTAI/linux-2.4.18/include/asm/unistd.h: In function `do_linuxrc':
/home/nirav/RTAI/linux-2.4.18/include/asm/unistd.h:413: error: asm-specifier for variable `__sc_4' conflicts with asm clobber list
/home/nirav/RTAI/linux-2.4.18/include/asm/unistd.h:413: error: asm-specifier for variable `__sc_5' conflicts with asm clobber list
/home/nirav/RTAI/linux-2.4.18/include/asm/unistd.h:412: error: asm-specifier for variable `__sc_4' conflicts with asm clobber list
/home/nirav/RTAI/linux-2.4.18/include/asm/unistd.h:412: error: asm-specifier for variable `__sc_5' conflicts with asm clobber list
make: *** [init/main.o] Error 1
Thanks and regards
Nirav
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070204/ff8ffb6f/attachment.htm
More information about the Linuxppc-embedded
mailing list