Skip to contentSkip to conversation

Problems cross-compiling for PPC405

Xenomai-core Niklaus Giger 2 participants 2 messages Jan 7, 2006

lore
Share & tools
lore
#0 lore raw

Hi

I just upgraded to revision 392 of xenomai and got the following error trying to compile the linux 2.6.14 kernel
CC kernel/xenomai/nucleus/heap.o
/mnt/data.ng/hcu/kernel/linux-2.6.14/kernel/xenomai/nucleus/heap.c:1017:1:
pasting "," and "args" does not give a valid preprocessing token /mnt/data.ng/hcu/kernel/linux-2.6.14/kernel/xenomai/nucleus/heap.c: In function `xnheap_mount':
/mnt/data.ng/hcu/kernel/linux-2.6.14/kernel/xenomai/nucleus/heap.c:1015:
error: `args' undeclared (first use in this function) /mnt/data.ng/hcu/kernel/linux-2.6.14/kernel/xenomai/nucleus/heap.c:1015:
error: (Each undeclared identifier is reported only once /mnt/data.ng/hcu/kernel/linux-2.6.14/kernel/xenomai/nucleus/heap.c:1015:
error: for each function it appears in.) /mnt/data.ng/hcu/kernel/linux-2.6.14/kernel/xenomai/nucleus/heap.c:1015:
warning: too many arguments for format
make[4]: *** [kernel/xenomai/nucleus/heap.o] Fehler 1
make[3]: *** [kernel/xenomai/nucleus] Fehler 2
make[2]: *** [kernel/xenomai] Fehler 2
make[1]: *** [kernel] Fehler 2

I am using GCC 3.4.4.

Best regards

Signature · 1 line
Niklaus Giger
#1 lore raw
Quoted 6 lines · Niklaus Giger

Hi

I just upgraded to revision 392 of xenomai and got the following error trying
to compile the linux 2.6.14 kernel
CC kernel/xenomai/nucleus/heap.o
/mnt/data.ng/hcu/kernel/linux-2.6.14/kernel/xenomai/nucleus/heap.c:1017:1: pasting "," and "args" does not give a valid preprocessing token

r393 fixes this. Thanks.

Quoted 14 lines

/mnt/data.ng/hcu/kernel/linux-2.6.14/kernel/xenomai/nucleus/heap.c: In function `xnheap_mount':
/mnt/data.ng/hcu/kernel/linux-2.6.14/kernel/xenomai/nucleus/heap.c:1015: error: `args' undeclared (first use in this function) /mnt/data.ng/hcu/kernel/linux-2.6.14/kernel/xenomai/nucleus/heap.c:1015: error: (Each undeclared identifier is reported only once /mnt/data.ng/hcu/kernel/linux-2.6.14/kernel/xenomai/nucleus/heap.c:1015: error: for each function it appears in.) /mnt/data.ng/hcu/kernel/linux-2.6.14/kernel/xenomai/nucleus/heap.c:1015: warning: too many arguments for format make[4]: *** [kernel/xenomai/nucleus/heap.o] Fehler 1
make[3]: *** [kernel/xenomai/nucleus] Fehler 2
make[2]: *** [kernel/xenomai] Fehler 2
make[1]: *** [kernel] Fehler 2

I am using GCC 3.4.4.

Best regards

Signature · 1 line
Philippe.