I contacted nqc developer about the USB support.  In fixing the USB
support, I ran into an issue on AMD64 architecture, which he also fixed.
The author has now updated nqc to v3.1r6
(http://bricxcc.sourceforge.net/nqc/).

The source code on the website does not include support for the USB
tower by default.  The Makefile needs to be changed, the default device
string for the USB tower is incorrect.  I also had a problem compiling
it because I didn't have a neccessary header file for a kernel module
that Ubuntu already has installed.  I don't know if it's the correct
fix, but I copied the header file from sourceforge to the rcxlib
directory to get the compilation to succeed.  I've attached a patch of
all the changes I made to get it to build on Ubuntu.  I've tested
(briefly) it on both 32-bit x86 and 64-bit AMD64 systems.

This is also resolution to the following Debian bugs:
#108504: LEGO USB Tower Support
#287812: nqc: FTBFS (64-bit architectures): cast from 'const char*' to 'int' 
loses precision 

** Attachment added: "Patch for v3.1r6 to build on Ubuntu with USB support"
   http://launchpadlibrarian.net/8071303/ubuntu_patch.txt

-- 
USB support missing
https://bugs.launchpad.net/bugs/80804
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to