Sorry, forgot to enter subject on previous one
I'm trying to compile slightly modified kinematics file (5axiskins.c), but I
get some warnings:So, I renamed file to my5axiskins.c and copy it into
/usr/realtime-2.6.32-122-rtai/modules/emc2# and run compile and install (sudo
--comp install ), but I recevie this message:
> root@cnc:/usr/realtime-2.6.32-122-rtai/modules/emc2# sudo comp --install
> my5axiskins.c
> make -C /usr/src/linux-headers-2.6.32-122-rtai SUBDIRS=`pwd` CC=gcc V=0 -o
> /Module.symvers modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.32-122-rtai'
> CC [M] /tmp/tmpJK3XSS/my5axiskins.o
> Building modules, stage 2.
> MODPOST 1 modules
> WARNING: "hal_init" [/tmp/tmpJK3XSS/my5axiskins.ko] undefined!
> WARNING: "hal_exit" [/tmp/tmpJK3XSS/my5axiskins.ko] undefined!
> WARNING: "hal_malloc" [/tmp/tmpJK3XSS/my5axiskins.ko] undefined!
> WARNING: "hal_pin_float_new" [/tmp/tmpJK3XSS/my5axiskins.ko] undefined!
> WARNING: "hal_ready" [/tmp/tmpJK3XSS/my5axiskins.ko] undefined!
> CC /tmp/tmpJK3XSS/my5axiskins.mod.o
> LD [M] /tmp/tmpJK3XSS/my5axiskins.ko
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-122-rtai'
> cp my5axiskins.ko /usr/realtime-2.6.32-122-rtai/modules/emc2/
When I tried to start emc2 I get this:
Debug file information:
> insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko':
> -1 File exists
> 3301
> PID TTY STAT TIME COMMAND
> Stopping realtime threads
> Unloading hal components
> ERROR: Module 5axiskins does not exist in /proc/modules
> <commandline>:0: exit value: 1
> <commandline>:0: rmmod failed, returned -1
> <commandline>:0: unloadrt failed
> ERROR: Module hal_lib is in use by my5axiskins
> ERROR: Module rtapi is in use by hal_lib
> ERROR: Module rtai_math does not exist in /proc/modules
> ERROR: Module rtai_sem is in use by rtapi
> ERROR: Module rtai_fifos is in use by rtapi
> ERROR: Module rtai_sched is in use by rtapi,rtai_sem,rtai_fifos
> ERROR: Module rtai_hal is in use by rtapi,rtai_sem,rtai_fifos,rtai_sched
What am I dong wrong?
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users