I'm trying to compile owfs into a lynksys nslug (see: http://www.nslu2-linux.org ).

I do this:

#ipkg update
#ipkg install unslung-devel
#ipkg install libusb

These install the following packages: autoconf, automake, bash, bison, bzip2, coreutils, cvs, diffutils, ed, findutils, flex, gawk, grep, groff, libdb, libstdc++, m4, make, ncurses, openssh, patch, perl, sed, tar, wget-ssl, libusb and then crosstool-native


# gcc --version
gcc (GCC) 3.3.5
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# find /usr/lib -name "libusb.*"
/usr/lib/ipkg/info/libusb.control
/usr/lib/ipkg/info/libusb.list


export LD_LIBRARY_PATH=/opt/lib

Get the CVS version:

cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/owfs co owfs



cd owfs
./bootstrap
./configure --enable-usb


Two problem:

1. libusb not found from configure

configure:22022: checking if usb support is enabled
configure:22050: checking for usb_open in -lusb
configure:22080: gcc -o conftest -g -O2 -pthread   conftest.c -lusb   >&5
/opt/armeb/lib/gcc-lib/armv5b-softfloat-linux/3.3.5/../../../../armv5b-softfloat-linux/bin/ld: cannot find -lusb
| char usb_open ();
| usb_open ();
configure:22128: WARNING: libusb not found, usb will be disabled
ac_cv_lib_usb_usb_open=no



2. my kernel support FUSE.... but the configure not found the lib :-(






May you help me?

thanks in advance.

v.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to