[EMAIL PROTECTED] wrote: > Hi, all > I'm a new comer of linuxcnc, and I'm trying to install emc2.1.4 on > slackware > 11 with rtlinux-3.2-rc1 installed, but when i run scripts/realtime start or > insmod hal_lib.o, I got following error msg: > hal_lib.o: hal_lib.o: unresolved symbol rtapi_task_new > hal_lib.o: hal_lib.o: unresolved symbol rtapi_prio_next_lower > hal_lib.o: hal_lib.o: unresolved symbol rtapi_prio_highest > hal_lib.o: hal_lib.o: unresolved symbol rtapi_init > hal_lib.o: hal_lib.o: unresolved symbol rtapi_vsnprintf > hal_lib.o: hal_lib.o: unresolved symbol rtapi_wait > hal_lib.o: hal_lib.o: unresolved symbol rtapi_task_pause > hal_lib.o: hal_lib.o: unresolved symbol rtapi_clock_set_period > hal_lib.o: hal_lib.o: unresolved symbol rtapi_print_msg > hal_lib.o: hal_lib.o: unresolved symbol rtapi_shmem_getptr > hal_lib.o: hal_lib.o: unresolved symbol rtapi_exit > hal_lib.o: hal_lib.o: unresolved symbol rtapi_get_clocks > hal_lib.o: hal_lib.o: unresolved symbol rtapi_shmem_delete > hal_lib.o: hal_lib.o: unresolved symbol rtapi_task_delete > hal_lib.o: hal_lib.o: unresolved symbol rtapi_shmem_new > hal_lib.o: hal_lib.o: unresolved symbol rtapi_snprintf > hal_lib.o: hal_lib.o: unresolved symbol rtapi_task_start > > then run scripts/realtime status, get following result > hal_lib is not loaded > rtapi is loaded > > my question is does hal_lib.o depends on any other modules, and anybody > installed emc2 on slackware before? > Thank you very much! > > ps. > the emc2 configure option > is --enable-run-in-place --with-realtime=/usr/rtlinux-3.2/ > --disable-build-documentation >
I'm afraid the last work I did with RTLinux was on a system with a 2.4 kernel. I don't even know what version of RTLinux it was (the system was a BDI disk, I didn't build the RT kernel). I'm the primary author of the rtapi compatibility layer, and the rtlinux port is based on that old system. Patches welcome ;-) It seems really odd that the rtapi module is loaded, but all the rtapi symbols are undefined. If you load the realtime and then do "cat /proc/rtapi/*" what do you get? There should be 4 or 5 files in there with info about rtapi. If you care to look deeper, the rtapi RTLinux code is in src/rtapi/rtl_rtapi.c (kernel space) and rtl_ulapi.c (user space). Regards, John Kasunich ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
