Skip to contentSkip to conversation

Cross Compilation Error

Xenomai-help Igor Cheifot 3 participants 3 messages Mar 24, 2006 – Mar 25, 2006 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi
I'm trying to compile the 2.6.14 Xenomai patch kernel for ARM architechture. I'm using arm-linux-gcc version 3.4.2 and i get the following error

make[1]: Entering directory `/usr/src/linux-2.6.14.7-ARM'
CHK include/linux/version.h
make[2]: `include/asm-arm/mach-types.h' is up to date.

  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arm-linux-ld:arch/arm/kernel/vmlinux.lds:730: parse error make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.14.7-ARM'
make: *** [stamp-build] Error 2

Any ideas how to fix this?
Thanx a lot in advance

Signature · 4 lines
Igor Cheifot
President/CEO
Concept17 Studios
tel: 604-377-4901

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hello,

We succeeded in compiling the patch with arm-linux-gcc version 3.3.1. But I'm not sure your problem is bound to a gcc version. How does the line 730 of vmlinux.lds look like? (actually this file is automatically generated by the Makefile and is based on vmlinux.lds.S - try to have a look at this file).

Daniel

-----Original Message-----
From: [email protected] on behalf of Igor Cheifot
Sent: Fri 3/24/2006 11:12 PM
To: [email protected]
Subject: [Xenomai-help] Cross Compilation Error

Hi
I'm trying to compile the 2.6.14 Xenomai patch kernel for ARM architechture. I'm using arm-linux-gcc version 3.4.2 and i get the following error

make[1]: Entering directory `/usr/src/linux-2.6.14.7-ARM'
CHK include/linux/version.h
make[2]: `include/asm-arm/mach-types.h' is up to date.

  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arm-linux-ld:arch/arm/kernel/vmlinux.lds:730: parse error make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.14.7-ARM'
make: *** [stamp-build] Error 2

Any ideas how to fix this?
Thanx a lot in advance

Signature · 11 lines
Igor Cheifot
President/CEO
Concept17 Studios
tel: 604-377-4901



_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
#3 lore raw
In reply to Igor Cheifot
Quoted 15 lines · Igor Cheifot

Hi
I'm trying to compile the 2.6.14 Xenomai patch kernel for ARM architechture. I'm using arm-linux-gcc version 3.4.2 and i get the following error

make[1]: Entering directory `/usr/src/linux-2.6.14.7-ARM'
CHK include/linux/version.h
make[2]: `include/asm-arm/mach-types.h' is up to date.

  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
Quoted 7 lines

arm-linux-ld:arch/arm/kernel/vmlinux.lds:730: parse error make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.14.7-ARM'
make: *** [stamp-build] Error 2

Any ideas how to fix this?
Thanx a lot in advance

This issue is likely not specific to Xenomai, see :

http://www.ussg.iu.edu/hypermail/linux/kernel/0507.0/0897.html

Signature · 1 line
					    Gilles Chanteperdrix.