bengt@debian:~/linuxcnc$ halcompile --compile gearblocker.comp make KBUILD_EXTRA_SYMBOLS=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/Module.symvers -C /usr/src/linux-headers-3.4-9-rtai-686-pae SUBDIRS=`pwd` CC=gcc V=0 modules make[1]: Entering directory `/usr/src/linux-headers-3.4-9-rtai-686-pae' CC [M] /tmp/tmpS7z59u/gearblocker.o gearblocker.comp: In function ‘_’: gearblocker.comp:47:23: error: ‘spindle_speed_’ undeclared (first use in this function) gearblocker.comp:47:23: note: each undeclared identifier is reported only once for each function it appears in gearblocker.comp:23:5: warning: unused variable ‘i’ [-Wunused-variable] make[4]: *** [/tmp/tmpS7z59u/gearblocker.o] Fel 1 make[3]: *** [_module_/tmp/tmpS7z59u] Fel 2 make[2]: *** [sub-make] Fel 2 make[1]: *** [all] Fel 2 make[1]: Leaving directory `/usr/src/linux-headers-3.4-9-rtai-686-pae' make: *** [modules] Fel 2 bengt@debian:~/linuxcnc$