From: paul_c <pa...@us...> - 2006-10-28 21:45:32
|
Configured emc2 head with the following options: --disable-build-documentation --enable-run-in-place --with-rtai=/usr/realtime-2.6.16.20-rtai --with-python=/usr/bin/python2.4 Had to remove the -funit-at-a-time flag, not all versions of gcc accept it. On attempting to run scripts/emc, it failed with: paul@B5:/tmp/emc2$ scripts/emc EMC2 - pre-2.1 CVS HEAD Machine configuration directory is '/tmp/emc2/configs/sim' Machine configuration file is 'axis.ini' Starting EMC2... Traceback (most recent call last): File "/tmp/emc2/bin/hal_manualtoolchange", line 10, in ? import emc, hal ImportError: /tmp/emc2/lib/python/hal.so: undefined symbol: _Z22halpr_find_pin_by_namePc HAL:1: ERROR: program 'hal_manualtoolchange' failed, returned 1 HAL config file /tmp/emc2/configs/sim/axis_manualtoolchange.hal failed. Shutting down and cleaning up EMC2... Cleanup done EMC terminated with an error. You can find more information in the log files /home/paul/emc_debug.txt and /home/paul/emc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal Aside from the fact something is clearly wrong, log files should be written to /tmp or /var/log in accordance with the LFSH. Using configure with --without-rtai or --without-rtlinux still doesn't work, and I suspect --enable-simulator will still fail at compile time. |