• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Cross compiling 2.6.31 - ERROR [SOLVED]  (Read 1659 times)
nephilim1973
Newbie
*

Karma: 0
Posts: 17


View Profile
« on: September 17, 2009, 06:29:55 PM »

Want to cross compile my kernel with v4l and em28xx support.

http://plugcomputer.org/plugwiki/index.php/Compiling_Linux_Kernel_for_the_Plug_Computer#Crosscompiling_the_kernel

After
Code:
make -j2 ARCH=arm CROSS_COMPILE=~/Projekte/SheevaPlug/kernel-build/arm-2009q1/bin/arm-none-eabi- uImage

the code runs a few minutes till the following message occurs:

Code:
  LD      net/built-in.o
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
  KSYM    .tmp_kallsyms1.S
  AS      .tmp_kallsyms1.o
  LD      .tmp_vmlinux2
  KSYM    .tmp_kallsyms2.S
  AS      .tmp_kallsyms2.o
  LD      vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
  OBJCOPY arch/arm/boot/Image
  Kernel: arch/arm/boot/Image is ready
  AS      arch/arm/boot/compressed/head.o
  GZIP    arch/arm/boot/compressed/piggy.gz
  CC      arch/arm/boot/compressed/misc.o
  AS      arch/arm/boot/compressed/piggy.o
  LD      arch/arm/boot/compressed/vmlinux
Segmentation fault
make[2]: *** [arch/arm/boot/compressed/vmlinux] Error 139
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [uImage] ERROR 2

Any ideas, what went wrong ?

Best regards.

EDIT:

http://www.unixguide.net/linux/faq/09.06.shtml        Huh?

« Last Edit: September 18, 2009, 04:08:39 AM by nephilim1973 » Logged

nephilim1973
Newbie
*

Karma: 0
Posts: 17


View Profile
« Reply #1 on: September 18, 2009, 04:08:20 AM »

The solution:

The newest version of cross compiler is buggy. Use the next oldest version instead (2008-q3)
Logged

Pages: [1]
Print
Jump to: