compilation hostmot2
18 Jun 2011 14:07 - 20 Jun 2011 00:31 #10605
by michel45
compilation hostmot2 was created by michel45
Hello,
When you start EMC2 I find the following error:
"insmod: error Inserting '/ home/mipretec/Documents/emc2-dev-rtai/rtlib/hostmot2.ko': -1 Unknown symbol in module"
I tried to compile hostmot2 but with a curious result (see below) if anyone has an idea, thank you in advance.
Michel
====================================================================================
Linux 2.6.35.9-rtai
Rtai 3.8
Emc2 2.4.5
Error window for the launch of EMC2.
Cnc1.hal file line 17 is the load of hostmot2 ("loadrt hostmot2")
====================================================================================
Print file information:
======================
RUN_IN_PLACE=yes
EMC2_DIR=
EMC2_BIN_DIR=/home/mipretec/Documents/emc2-dev-rtai/bin
EMC2_TCL_DIR=/home/mipretec/Documents/emc2-dev-rtai/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/home/mipretec/Documents/emc2-dev-rtai/rtlib
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/home/mipretec/Documents/emc2-dev-rtai/src/objects
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.4.5
Machine configuration directory is '/home/mipretec/Documents/emc2-dev-rtai/configs/sim'
Machine configuration file is 'mipretec-c104.ini'
INIFILE=/home/mipretec/Documents/emc2-dev-rtai/configs/sim/mipretec-c104.ini
PARAMETER_FILE=CNC1.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=emc.nml
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=1681
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
======================
Can not find -sec DISPLAY -var INTRO_GRAPHIC -num 1
Can not find -sec DISPLAY -var INTRO_TIME -num 1
Unrecognized line skipped: POCKET FMS LENGTH DIAMETER COMMENT
insmod: error inserting '/home/mipretec/Documents/emc2-dev-rtai/rtlib/hostmot2.ko': -1 Unknown symbol in module
CNC1.hal:17: exit value: 1
CNC1.hal:17: insmod failed, returned -1
See the output of 'dmesg' for more information.
1681
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
==========================
I-pipe: Domain RTAI registered.
RTAI[hal]: <magma> mounted over IPIPE-NOTHREADS 2.8-04.
RTAI[hal]: compiled with gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) .
RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs VECTORED), ISOL_CPUS_MASK: 0).
PIPELINE layers:
f84ee4c0 9ac15d93 RTAI 200
c14dbec0 0 Linux 100
RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
RTAI[sched]: hard timer type/freq = APIC/8310290(Hz); default timing: periodic; linear timed lists.
RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1595722000 hz.
RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
RTAI[math]: loaded.
hostmot2: Unknown symbol hm2_ioport_force_write (err 0)
hostmot2: Unknown symbol hm2_watchdog_force_write (err 0)
hostmot2: Unknown symbol hm2_encoder_process_tram_read (err 0)
hostmot2: Unknown symbol hm2_encoder_print_module (err 0)
hostmot2: Unknown symbol hm2_ioport_cleanup (err 0)
hostmot2: Unknown symbol hm2_pwmgen_cleanup (err 0)
hostmot2: Unknown symbol hm2_raw_setup (err 0)
hostmot2: Unknown symbol hm2_watchdog_parse_md (err 0)
hostmot2: Unknown symbol hm2_encoder_tram_init (err 0)
hostmot2: Unknown symbol hm2_encoder_parse_md (err 0)
hostmot2: Unknown symbol hm2_tram_cleanup (err 0)
hostmot2: Unknown symbol hm2_stepgen_force_write (err 0)
hostmot2: Unknown symbol hm2_stepgen_prepare_tram_write (err 0)
hostmot2: Unknown symbol hm2_ioport_gpio_write (err 0)
hostmot2: Unknown symbol hm2_stepgen_print_module (err 0)
hostmot2: Unknown symbol hm2_pwmgen_force_write (err 0)
hostmot2: Unknown symbol hm2_pwmgen_prepare_tram_write (err 0)
hostmot2: Unknown symbol hm2_print_pin_usage (err 0)
hostmot2: Unknown symbol hm2_pwmgen_write (err 0)
hostmot2: Unknown symbol hm2_allocate_tram_regions (err 0)
hostmot2: Unknown symbol hm2_pwmgen_print_module (err 0)
hostmot2: Unknown symbol hm2_ioport_gpio_tram_write_init (err 0)
hostmot2: Unknown symbol hm2_pwmgen_parse_md (err 0)
hostmot2: Unknown symbol hm2_stepgen_write (err 0)
hostmot2: Unknown symbol hm2_encoder_write (err 0)
hostmot2: Unknown symbol hm2_configure_pins (err 0)
hostmot2: Unknown symbol hm2_encoder_force_write (err 0)
hostmot2: Unknown symbol hm2_ioport_print_module (err 0)
hostmot2: Unknown symbol hm2_ioport_parse_md (err 0)
hostmot2: Unknown symbol bitfile_parse_and_verify (err 0)
hostmot2: Unknown symbol hm2_watchdog_write (err 0)
hostmot2: Unknown symbol hm2_ioport_gpio_read (err 0)
hostmot2: Unknown symbol hm2_stepgen_tram_init (err 0)
hostmot2: Unknown symbol hm2_ioport_write (err 0)
hostmot2: Unknown symbol hm2_raw_write (err 0)
hostmot2: Unknown symbol hm2_encoder_cleanup (err 0)
hostmot2: Unknown symbol hm2_ioport_gpio_prepare_tram_write (err 0)
hostmot2: Unknown symbol hm2_stepgen_parse_md (err 0)
hostmot2: Unknown symbol hm2_ioport_gpio_export_hal (err 0)
hostmot2: Unknown symbol hm2_watchdog_cleanup (err 0)
hostmot2: Unknown symbol hm2_tram_read (err 0)
hostmot2: Unknown symbol hm2_raw_read (err 0)
hostmot2: Unknown symbol hm2_ioport_gpio_process_tram_read (err 0)
hostmot2: Unknown symbol hm2_read_pin_descriptors (err 0)
hostmot2: Unknown symbol hm2_watchdog_print_module (err 0)
hostmot2: Unknown symbol hm2_stepgen_process_tram_read (err 0)
hostmot2: Unknown symbol hm2_tram_write (err 0)
RTAI[math]: unloaded.
RTAI[malloc]: unloaded.
RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
I-pipe: Domain RTAI unregistered.
RTAI[hal]: unmounted.
====================================================================================
====================================================================================
====================================================================================
COMPILATION HOSTMOT2
====================================================================================
Result of compiling hostmot2 (those weird "undefined").
====================================================================================
mipretec@mipretec-desktop:~/Documents/emc2-dev-rtai/src/hal/drivers/mesa-hostmot2$ /home/mipretec/Documents/emc2-dev-rtai/bin/comp --install hostmot2.c
make -C /usr/src/linux SUBDIRS=`pwd` CC=cc V=0 -o /Module.symvers modules
make[1]: entrant dans le repertoire « /usr/src/linux-2.6.35.9 »
CC [M] /tmp/tmpp7ge7L/hostmot2.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "hm2_read_pin_descriptors" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hal_export_funct" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_print_pin_usage" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_gpio_tram_write_init" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_tram_init" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_tram_init" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_raw_setup" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_gpio_export_hal" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_configure_pins" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_allocate_tram_regions" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_watchdog_parse_md" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_parse_md" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_pwmgen_parse_md" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_parse_md" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_parse_md" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hal_param_bit_new" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hal_malloc" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "bitfile_parse_and_verify" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_watchdog_print_module" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_print_module" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_print_module" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_pwmgen_print_module" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_print_module" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_raw_read" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_process_tram_read" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_process_tram_read" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_gpio_process_tram_read" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_tram_read" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_raw_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_pwmgen_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_watchdog_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_tram_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_prepare_tram_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_pwmgen_prepare_tram_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_gpio_prepare_tram_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_gpio_read" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_gpio_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "rtapi_print_msg" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "rtapi_snprintf" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_tram_cleanup" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_pwmgen_cleanup" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_watchdog_cleanup" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_cleanup" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_cleanup" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hal_ready" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hal_init" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hal_exit" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "rtapi_print" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_force_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_pwmgen_force_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_force_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_force_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_watchdog_force_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
CC /tmp/tmpp7ge7L/hostmot2.mod.o
LD [M] /tmp/tmpp7ge7L/hostmot2.ko
make[1]: quittant le repertoire « /usr/src/linux-2.6.35.9 »
cp hostmot2.ko /home/mipretec/Documents/emc2-dev-rtai/rtlib/
mipretec@mipretec-desktop:~/Documents/emc2-dev-rtai/src/hal/drivers/mesa-hostmot2$
When you start EMC2 I find the following error:
"insmod: error Inserting '/ home/mipretec/Documents/emc2-dev-rtai/rtlib/hostmot2.ko': -1 Unknown symbol in module"
I tried to compile hostmot2 but with a curious result (see below) if anyone has an idea, thank you in advance.
Michel
====================================================================================
Linux 2.6.35.9-rtai
Rtai 3.8
Emc2 2.4.5
Error window for the launch of EMC2.
Cnc1.hal file line 17 is the load of hostmot2 ("loadrt hostmot2")
====================================================================================
Print file information:
======================
RUN_IN_PLACE=yes
EMC2_DIR=
EMC2_BIN_DIR=/home/mipretec/Documents/emc2-dev-rtai/bin
EMC2_TCL_DIR=/home/mipretec/Documents/emc2-dev-rtai/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/home/mipretec/Documents/emc2-dev-rtai/rtlib
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/home/mipretec/Documents/emc2-dev-rtai/src/objects
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.4.5
Machine configuration directory is '/home/mipretec/Documents/emc2-dev-rtai/configs/sim'
Machine configuration file is 'mipretec-c104.ini'
INIFILE=/home/mipretec/Documents/emc2-dev-rtai/configs/sim/mipretec-c104.ini
PARAMETER_FILE=CNC1.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=emc.nml
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=1681
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
======================
Can not find -sec DISPLAY -var INTRO_GRAPHIC -num 1
Can not find -sec DISPLAY -var INTRO_TIME -num 1
Unrecognized line skipped: POCKET FMS LENGTH DIAMETER COMMENT
insmod: error inserting '/home/mipretec/Documents/emc2-dev-rtai/rtlib/hostmot2.ko': -1 Unknown symbol in module
CNC1.hal:17: exit value: 1
CNC1.hal:17: insmod failed, returned -1
See the output of 'dmesg' for more information.
1681
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
==========================
I-pipe: Domain RTAI registered.
RTAI[hal]: <magma> mounted over IPIPE-NOTHREADS 2.8-04.
RTAI[hal]: compiled with gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) .
RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs VECTORED), ISOL_CPUS_MASK: 0).
PIPELINE layers:
f84ee4c0 9ac15d93 RTAI 200
c14dbec0 0 Linux 100
RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
RTAI[sched]: hard timer type/freq = APIC/8310290(Hz); default timing: periodic; linear timed lists.
RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1595722000 hz.
RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
RTAI[math]: loaded.
hostmot2: Unknown symbol hm2_ioport_force_write (err 0)
hostmot2: Unknown symbol hm2_watchdog_force_write (err 0)
hostmot2: Unknown symbol hm2_encoder_process_tram_read (err 0)
hostmot2: Unknown symbol hm2_encoder_print_module (err 0)
hostmot2: Unknown symbol hm2_ioport_cleanup (err 0)
hostmot2: Unknown symbol hm2_pwmgen_cleanup (err 0)
hostmot2: Unknown symbol hm2_raw_setup (err 0)
hostmot2: Unknown symbol hm2_watchdog_parse_md (err 0)
hostmot2: Unknown symbol hm2_encoder_tram_init (err 0)
hostmot2: Unknown symbol hm2_encoder_parse_md (err 0)
hostmot2: Unknown symbol hm2_tram_cleanup (err 0)
hostmot2: Unknown symbol hm2_stepgen_force_write (err 0)
hostmot2: Unknown symbol hm2_stepgen_prepare_tram_write (err 0)
hostmot2: Unknown symbol hm2_ioport_gpio_write (err 0)
hostmot2: Unknown symbol hm2_stepgen_print_module (err 0)
hostmot2: Unknown symbol hm2_pwmgen_force_write (err 0)
hostmot2: Unknown symbol hm2_pwmgen_prepare_tram_write (err 0)
hostmot2: Unknown symbol hm2_print_pin_usage (err 0)
hostmot2: Unknown symbol hm2_pwmgen_write (err 0)
hostmot2: Unknown symbol hm2_allocate_tram_regions (err 0)
hostmot2: Unknown symbol hm2_pwmgen_print_module (err 0)
hostmot2: Unknown symbol hm2_ioport_gpio_tram_write_init (err 0)
hostmot2: Unknown symbol hm2_pwmgen_parse_md (err 0)
hostmot2: Unknown symbol hm2_stepgen_write (err 0)
hostmot2: Unknown symbol hm2_encoder_write (err 0)
hostmot2: Unknown symbol hm2_configure_pins (err 0)
hostmot2: Unknown symbol hm2_encoder_force_write (err 0)
hostmot2: Unknown symbol hm2_ioport_print_module (err 0)
hostmot2: Unknown symbol hm2_ioport_parse_md (err 0)
hostmot2: Unknown symbol bitfile_parse_and_verify (err 0)
hostmot2: Unknown symbol hm2_watchdog_write (err 0)
hostmot2: Unknown symbol hm2_ioport_gpio_read (err 0)
hostmot2: Unknown symbol hm2_stepgen_tram_init (err 0)
hostmot2: Unknown symbol hm2_ioport_write (err 0)
hostmot2: Unknown symbol hm2_raw_write (err 0)
hostmot2: Unknown symbol hm2_encoder_cleanup (err 0)
hostmot2: Unknown symbol hm2_ioport_gpio_prepare_tram_write (err 0)
hostmot2: Unknown symbol hm2_stepgen_parse_md (err 0)
hostmot2: Unknown symbol hm2_ioport_gpio_export_hal (err 0)
hostmot2: Unknown symbol hm2_watchdog_cleanup (err 0)
hostmot2: Unknown symbol hm2_tram_read (err 0)
hostmot2: Unknown symbol hm2_raw_read (err 0)
hostmot2: Unknown symbol hm2_ioport_gpio_process_tram_read (err 0)
hostmot2: Unknown symbol hm2_read_pin_descriptors (err 0)
hostmot2: Unknown symbol hm2_watchdog_print_module (err 0)
hostmot2: Unknown symbol hm2_stepgen_process_tram_read (err 0)
hostmot2: Unknown symbol hm2_tram_write (err 0)
RTAI[math]: unloaded.
RTAI[malloc]: unloaded.
RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
I-pipe: Domain RTAI unregistered.
RTAI[hal]: unmounted.
====================================================================================
====================================================================================
====================================================================================
COMPILATION HOSTMOT2
====================================================================================
Result of compiling hostmot2 (those weird "undefined").
====================================================================================
mipretec@mipretec-desktop:~/Documents/emc2-dev-rtai/src/hal/drivers/mesa-hostmot2$ /home/mipretec/Documents/emc2-dev-rtai/bin/comp --install hostmot2.c
make -C /usr/src/linux SUBDIRS=`pwd` CC=cc V=0 -o /Module.symvers modules
make[1]: entrant dans le repertoire « /usr/src/linux-2.6.35.9 »
CC [M] /tmp/tmpp7ge7L/hostmot2.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "hm2_read_pin_descriptors" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hal_export_funct" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_print_pin_usage" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_gpio_tram_write_init" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_tram_init" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_tram_init" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_raw_setup" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_gpio_export_hal" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_configure_pins" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_allocate_tram_regions" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_watchdog_parse_md" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_parse_md" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_pwmgen_parse_md" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_parse_md" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_parse_md" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hal_param_bit_new" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hal_malloc" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "bitfile_parse_and_verify" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_watchdog_print_module" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_print_module" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_print_module" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_pwmgen_print_module" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_print_module" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_raw_read" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_process_tram_read" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_process_tram_read" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_gpio_process_tram_read" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_tram_read" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_raw_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_pwmgen_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_watchdog_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_tram_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_prepare_tram_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_pwmgen_prepare_tram_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_gpio_prepare_tram_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_gpio_read" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_gpio_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "rtapi_print_msg" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "rtapi_snprintf" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_tram_cleanup" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_pwmgen_cleanup" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_watchdog_cleanup" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_cleanup" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_cleanup" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hal_ready" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hal_init" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hal_exit" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "rtapi_print" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_stepgen_force_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_pwmgen_force_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_encoder_force_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_ioport_force_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
WARNING: "hm2_watchdog_force_write" [/tmp/tmpp7ge7L/hostmot2.ko] undefined!
CC /tmp/tmpp7ge7L/hostmot2.mod.o
LD [M] /tmp/tmpp7ge7L/hostmot2.ko
make[1]: quittant le repertoire « /usr/src/linux-2.6.35.9 »
cp hostmot2.ko /home/mipretec/Documents/emc2-dev-rtai/rtlib/
mipretec@mipretec-desktop:~/Documents/emc2-dev-rtai/src/hal/drivers/mesa-hostmot2$
Last edit: 20 Jun 2011 00:31 by BigJohnT.
Please Log in or Create an account to join the conversation.
18 Jun 2011 15:02 #10606
by andypugh
Replied by andypugh on topic Re:compilation hostmot2
michel45 wrote:
I don't think you can compile Hostmot2 with "comp". I always do a full "make" when compiling/developing Hostmot2 components.
Why are you trying to compile Hostmot2? It should already be there as part of your installation.
Assuming you do want to compile, then you need the sequence
make clean
./autogen.sh
./configure
make
sudo make setuid
I tried to compile hostmot2 but with a curious result (see below)
I don't think you can compile Hostmot2 with "comp". I always do a full "make" when compiling/developing Hostmot2 components.
Why are you trying to compile Hostmot2? It should already be there as part of your installation.
Assuming you do want to compile, then you need the sequence
make clean
./autogen.sh
./configure
make
sudo make setuid
Please Log in or Create an account to join the conversation.
18 Jun 2011 16:46 #10607
by michel45
Replied by michel45 on topic Re:compilation hostmot2
Thank !
sorry for my English, I know that "Google translate English"
tool "comp" compiles French.
By cons and it is the best I have executed the instructions (make,. / Configure, ..) and is now recognized hostmot2. With some other fixes and moving files it should work.
Michel
sorry for my English, I know that "Google translate English"
tool "comp" compiles French.
By cons and it is the best I have executed the instructions (make,. / Configure, ..) and is now recognized hostmot2. With some other fixes and moving files it should work.
Michel
Please Log in or Create an account to join the conversation.
19 Jun 2011 21:41 #10628
by andypugh
Replied by andypugh on topic Re:compilation hostmot2
So, is it all working for you now?
Please Log in or Create an account to join the conversation.
20 Jun 2011 07:46 #10640
by michel45
Replied by michel45 on topic Re:compilation hostmot2
This almost works, we still have a few problems. This works in simulation mode but not yet with the PCI card.
Thank and see you soon for sure.
Michel
Thank and see you soon for sure.
Michel
Please Log in or Create an account to join the conversation.
Time to create page: 0.071 seconds