Skip to contentSkip to conversation

about building RTAI 24.1.12 at Linux 2.4.25

DISCUSSION 徐勝威的EMAIL 2 participants 2 messages Aug 9, 2005

lore
Share & tools
lore
#0 lore raw

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@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

#1 lore raw
Quoted 3 lines · In message <1123568715.4219.7.camel@banana> you wrote:

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

Use current code and current documentation.

See ftp://ftp.denx.de/pub/RTAI/README

Quoted 1 line

[root@banana rtai-24.1.12]# make

Don't use rtai-24.1.12 any more, it's too old. We support RTAI version 3.0r5 (kilauea) and 24.1.13 (stromboli); see the README.

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
If all the Chinese simultaneously jumped into the Pacific  off  a  10
foot platform erected 10 feet off their coast, it would cause a tidal
wave that would destroy everything in this country west of Nebraska.