I have compiler error when compiling xenomai-2.5.1. Again probably because my tool chain is outdated - gcc 3.4.4.

 

make[3]: Entering directory `/mnt/drive-1/build/xenomai-2.5.1/src/skins/native'

/bin/sh ../../../libtool --tag=CC   --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I../../../src/include  -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -march=armv5 -D__XENO__ -D__IN_XENO__ -Wstrict-prototypes -I../../../include    -MT libnative_la-timer.lo -MD -MP -MF .deps/libnative_la-timer.Tpo -c -o libnative_la-timer.lo `test -f 'timer.c' || echo './'`timer.c

libtool: compile:  arm-linux-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -march=armv5 -D__XENO__ -D__IN_XENO__ -Wstrict-prototypes -I../../../include -MT libnative_la-timer.lo -MD -MP -MF .deps/libnative_la-timer.Tpo -c timer.c  -fPIC -DPIC -o .libs/libnative_la-timer.o

{standard input}: Assembler messages:

{standard input}:102: Error: bad instruction `lsrs sl,r7,#30'

make[3]: *** [libnative_la-timer.lo] Error 1

make[3]: Leaving directory `/mnt/drive-1/build/xenomai-2.5.1/src/skins/native'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/mnt/drive-1/build/xenomai-2.5.1/src/skins'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/mnt/drive-1/build/xenomai-2.5.1/src'

make: *** [all-recursive] Error 1

 

Is there way to modify assembler code so that code would compile ?  

 

Regards,

 

Ivan Kalatchev

Senior Software Developer

ESG Canada Inc.

 

20 Hyperion Court,

Kingston, ON, Canada

K7K 7K2

Tel: 1 613 548-8287 ext. 247