[Cbe-oss-dev] Kernel Build Help

Jiafu Gao jiafu_gao at yahoo.com
Thu Aug 7 03:12:53 EST 2008


Hi, 

I wanted to update my PS3 linux kernel so that I can get WoL working. So I went fetch the latest kernel source and tried compile it. Here is the error I got after typing make: 
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  CC      arch/powerpc/kernel/align.o
arch/powerpc/kernel/align.c:27:30: error: asm/emulated_ops.h: No such file or directory
arch/powerpc/kernel/align.c: In function 'fix_alignment':
arch/powerpc/kernel/align.c:794: error: implicit declaration of function 'WARN_EMULATE'
arch/powerpc/kernel/align.c:794: error: 'dcbz' undeclared (first use in this function)
arch/powerpc/kernel/align.c:794: error: (Each undeclared identifier is reported only once
arch/powerpc/kernel/align.c:794: error: for each function it appears in.)
arch/powerpc/kernel/align.c:804: error: 'multiple' undeclared (first use in this function)
arch/powerpc/kernel/align.c:825: error: 'fp_pair' undeclared (first use in this function)
make[1]: *** [arch/powerpc/kernel/align.o] Error 1
make: *** [arch/powerpc/kernel] Error 2


Here is the steps I took:
1. get source: $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git ps3-linux
2. make config: $ make ps3_defconfig
3. compile: $ make 

I did a find on the source tree. There is no emulated_ops.h file. Any idea how to fix this? 

I don't actually need the latest kernel. I just need a kernel that is 2.6.26 or newer (so the Wol is in). Is there a known good one? And how do I get that through git?

Best regards,

Jiafu



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20080806/9abab779/attachment.htm>


More information about the cbe-oss-dev mailing list