Problem when trying to install nxtOSEK in Lubuntu
Posted: 13 Sep 2013, 13:01
Hi!
I am trying to install nxtOSEK in Lubuntu. I am following this guide: http://lejos-osek.sourceforge.net/insta ... _linux.htm The problem is, when I try to build libnxt using scons, as in step 3, it doesn't work. I get this:
Can someone help me?
I am trying to install nxtOSEK in Lubuntu. I am following this guide: http://lejos-osek.sourceforge.net/insta ... _linux.htm The problem is, when I try to build libnxt using scons, as in step 3, it doesn't work. I get this:
Code: Select all
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: libnxt.a' is up to date. gcc -o fwflash main_fwflash.o -L. -lusb -lnxt ./libnxt.a(lowlevel.o): In functionnxt_init':
/home/username/nxt/libnxt-0.3/lowlevel.c:49: undefined reference to usb_init' ./libnxt.a(lowlevel.o): In functionnxt_find':
/home/username/nxt/libnxt-0.3/lowlevel.c:60: undefined reference to usb_find_busses' /home/username/nxt/libnxt-0.3/lowlevel.c:61: undefined reference tousb_find_devices'
/home/username/nxt/libnxt-0.3/lowlevel.c:63: undefined reference to usb_get_busses' ./libnxt.a(lowlevel.o): In functionnxt_open':
/home/username/nxt/libnxt-0.3/lowlevel.c:97: undefined reference to usb_open' /home/username/nxt/libnxt-0.3/lowlevel.c:99: undefined reference tousb_set_configuration'
/home/username/nxt/libnxt-0.3/lowlevel.c:102: undefined reference to usb_close' /home/username/nxt/libnxt-0.3/lowlevel.c:106: undefined reference tousb_claim_interface'
/home/username/nxt/libnxt-0.3/lowlevel.c:109: undefined reference to usb_close' /home/username/nxt/libnxt-0.3/lowlevel.c:118: undefined reference tousb_release_interface'
/home/username/nxt/libnxt-0.3/lowlevel.c:119: undefined reference to usb_close' ./libnxt.a(lowlevel.o): In functionnxt_close':
/home/username/nxt/libnxt-0.3/lowlevel.c:130: undefined reference to usb_release_interface' /home/username/nxt/libnxt-0.3/lowlevel.c:131: undefined reference tousb_close'
./libnxt.a(lowlevel.o): In function nxt_send_buf': /home/username/nxt/libnxt-0.3/lowlevel.c:148: undefined reference tousb_bulk_write'
./libnxt.a(lowlevel.o): In function nxt_recv_buf': /home/username/nxt/libnxt-0.3/lowlevel.c:166: undefined reference tousb_bulk_read'
collect2: error: ld returned 1 exit status
scons: *** [fwflash] Error 1
scons: building terminated because of errors.