about building RTAI 24.1.12 at Linux 2.4.25

徐勝威的EMAIL rober at opnet.com.tw
Tue Aug 9 16:25:15 EST 2005


Hi All,

    I got some error while make RTAI, anybody know how to fix it please
tell me,thanks.


1.I used ELDK version is 

ELDK version 3.1
ppc_8xx: Build 2004-11-10

2.My Linux is 2.4.25 -D2005-06-24 has been patch with
patch-denx-linuxppc_2_4_devel-2005_06_23_1722

3.My hardware is MPC852T 32M SDRAM 8M Flash

4.I step by step build my RTAI by reading README.install, but stil
fail. 

[root at banana rtai-24.1.12]# make
mkdir -p modules
make -C  rtaidir CFLAGS="-I /root/rtai-24.1.12/include -I . -D__KERNEL__
-I/opt/eldk/usr/src/linuxppc_2_4_devel/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-I/opt/eldk/usr/src/linuxppc_2_4_devel/arch/ppc -fsigned-char
-msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
-DMODULE -DMODULE" MAKING_MODULES=1 modules
make[1]: Entering directory `/root/rtai-24.1.12/rtaidir'
/opt/eldk/usr/bin/ppc_8xx-gcc -I /root/rtai-24.1.12/include -I .
-D__KERNEL__ -I/opt/eldk/usr/src/linuxppc_2_4_devel/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -I/opt/eldk/usr/src/linuxppc_2_4_devel/arch/ppc
-fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized
-mmultiple -mstring -DMODULE -DMODULE -I.  -DEXPORT_SYMTAB -c
rtai-arch.c
/root/rtai-24.1.12/include/asm/rtai_srq.h: In function `rtai_srq':
/root/rtai-24.1.12/include/asm/rtai_srq.h:32: error: asm-specifier for
variable `__sc_3' conflicts with asm clobber list
/root/rtai-24.1.12/include/asm/rtai_srq.h:32: error: asm-specifier for
variable `__sc_4' conflicts with asm clobber list
/root/rtai-24.1.12/include/asm/rtai_srq.h:32: error: asm-specifier for
variable `__sc_0' conflicts with asm clobber list
/root/rtai-24.1.12/include/asm/rtai_srq.h:31: confused by earlier
errors, bailing out
make[1]: *** [rtai-arch.o] Error 1
make[1]: Leaving directory `/root/rtai-24.1.12/rtaidir'
make: *** [_mod_rtaidir] Error 2


Best Regards
Rober Hsu





More information about the Linuxppc-embedded mailing list