More problems with 2.4.18 rtai
- Subject: More problems with 2.4.18 rtai
- From: Jason Cox <j_cox-at-idx.com.au>
- Date: 27 May 2002 19:53:53 +0100
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain
hi
thanks Paul for the help. you got me started but I still have a
problem. I upadted the from cvs and and recomplied everthing but one
again had probs with emc and the only fix was to comment out line 396 in
emcmot.c . After this it compiled OK. stil wont run stteper.run with
freqmot.o due to rtai_sched_up not being loaded at startup . currently
tracking down the script to include it
Thanks Again
Jason Cox
gcc emcmot.c -c \
-I/root/emc/emc/plat/rtai/include -I/root/emc/emc/plat/rtai/include
-I/root/emc/rcslib/plat/rtai/include \
-DNO_STDIO_SUPPORT -Drtai -DUSE_RTAI -I/usr/src/rtai/include
-DPLATNAME=\"rtai\" -Dnocplusplus -Drealtimeonly
-I/usr/src/linux-2.4.18-2mdk_jason/include -DLINUX -Dlinux -O2
-ffast-math -o /root/emc/emc/plat/rtai/lib/emcmot.o )
In file included from emcmot.c:396:
/usr/include/sys/io.h:45: redefinition of `inb'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:317: `inb' previously
defined here
/usr/include/sys/io.h:54: redefinition of `inb_p'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:317: `inb_p'
previously defined here
/usr/include/sys/io.h:63: redefinition of `inw'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:320: `inw' previously
defined here
/usr/include/sys/io.h:72: redefinition of `inw_p'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:320: `inw_p'
previously defined here
/usr/include/sys/io.h:81: redefinition of `inl'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:323: `inl' previously
defined here
/usr/include/sys/io.h:90: redefinition of `inl_p'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:323: `inl_p'
previously defined here
/usr/include/sys/io.h:98: redefinition of `outb'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:326: `outb' previously
defined here
/usr/include/sys/io.h:104: redefinition of `outb_p'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:326: `outb_p'
previously defined here
/usr/include/sys/io.h:111: redefinition of `outw'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:327: `outw' previously
defined here
/usr/include/sys/io.h:118: redefinition of `outw_p'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:327: `outw_p'
previously defined here
/usr/include/sys/io.h:125: redefinition of `outl'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:328: `outl' previously
defined here
/usr/include/sys/io.h:131: redefinition of `outl_p'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:328: `outl_p'
previously defined here
/usr/include/sys/io.h:138: redefinition of `insb'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:330: `insb' previously
defined here
/usr/include/sys/io.h:145: redefinition of `insw'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:331: `insw' previously
defined here
/usr/include/sys/io.h:152: redefinition of `insl'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:332: `insl' previously
defined here
/usr/include/sys/io.h:159: redefinition of `outsb'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:334: `outsb'
previously defined here
/usr/include/sys/io.h:166: redefinition of `outsw'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:335: `outsw'
previously defined here
/usr/include/sys/io.h:173: redefinition of `outsl'
/usr/src/linux-2.4.18-2mdk_jason/include/asm/io.h:336: `outsl'
previously defined here
make[1]: *** [/root/emc/emc/plat/rtai/lib/emcmot.o] Error 1
make[1]: Leaving directory `/root/emc/emc/src/emcmot'
make: *** [all] Error 2
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact