Hi Warwick, Welcome to Barry.
On Tue, Jun 10, 2008 at 12:18:37PM +1000, Warwick Boote wrote: > Hello i'm a novice when it comes to building c/c++ modules. > > I'm trying to compile for debian (ubuntu 8.04) AMD-64, to be precise: > > $ uname -a > Linux quadski 2.6.24-18-generic #1 SMP Wed May 28 19:28:38 UTC 2008 > x86_64 GNU/Linux > > './buildgen.sh' seems to run fine, as does './configure' If you're running this script, I'm assuming that you're using the latest CVS. > when i do a 'make check' i get: > > <snip> > g++ -DHAVE_CONFIG_H -I.. -I/usr/include -ansi -Wall > -fno-strict-aliasing -g -g -O2 -MT usbwrap.lo -MD -MP > -MF .deps/usbwrap.Tpo -c usbwrap.cc -fPIC -DPIC -o .libs/usbwrap.o > In file included from usbwrap.cc:23: > usbwrap.h:26:17: error: usb.h: No such file or directory > In file included from usbwrap.cc:23: > usbwrap.h:165: error: ???usb_endpoint_descriptor??? was not declared in this > scope > </snip> You need to have the development packages installed when building. This error indicates you need libusb's header files. > I'm guessing there's some problem with finding the include to usb.h > > I note that /usr/src/linux-headers-2.6.24-18-generic/include/linux/usb.h > exists. That's the kernel. You need libusb-dev. Since I'm assuming you have the latest CVS, install PHP on your system, and then enter the barry/doc/www directory and run the ./static.sh script. Then point your browser at the resulting index.html, and click on the page for compiling from source/CVS/git. Make sure you have all the required dependencies. > This email is from Civica Pty Limited and it, together with > any attachments, is confidential to the intended recipient(s) > and the contents may be legally privileged or contain > proprietary and private information. It is intended solely > for the person to whom it is addressed. If you are not an > intended recipient, you may not review, copy or distribute > this email. If received in error, please notify the sender > and delete the message from your system immediately. Any > views or opinions expressed in this email and any files > transmitted with it are those of the author only and may > not necessarily reflect the views of Civica and do not create > any legally binding rights or obligations whatsoever. Unless > otherwise pre-agreed by exchange of hard copy documents > signed by duly authorised representatives, contracts may not > be concluded on behalf of Civica by email. Please note that > neither Civica nor the sender accepts any responsibility for > any viruses and it is your responsibility to scan the email > and the attachments (if any). All email received and sent by > Civica may be monitored to protect the business interests of > Civica. This disclaimer is inappropriate for an open source mailing list. Some would argue that such disclaimers are always inappropriate. If you don't have permission from your employer to post to this list, please refrain from posting as an employee. Thanks, - Chris ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel