Apparently libusb_strerror was added in libusb v1.0.16. Seems raspbian only has libusb1.0-0. Try to uninstall libusb-devel, and install libusb2-devel instead. owfs should be compatible with that as well.

On 08/08/16 22:27, sancho privat wrote:
Hi,

it works fine now when I disable USB during ./configure.
If I don't disable USB i get the following error:

/bin/bash ../../../../libtool --tag=CC --mode=link gcc -I../include -I../../../owlib/src/include -fexceptions -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wredundant-decls -I/usr/local/include/libusb-1.0 -pthread -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -L/usr/local/lib -lusb-1.0 -o owusbprobe ow_opt.o ow_help.o ow_server.o ow_net.o ow_browse.o ow_dl.o ow_dnssd.o ow_tcp_read.o getaddrinfo.o getopt.o globals.o owusbprobe.o -ldl

libtool: link: gcc -I../include -I../../../owlib/src/include -fexceptions -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wredundant-decls -I/usr/local/include/libusb-1.0 -pthread -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -o owusbprobe ow_opt.o ow_help.o ow_server.o ow_net.o ow_browse.o ow_dl.o ow_dnssd.o ow_tcp_read.o getaddrinfo.o getopt.o globals.o owusbprobe.o -L/usr/local/lib /usr/local/lib/libusb-1.0.so <http://libusb-1.0.so> -lrt -ldl -pthread

owusbprobe.o: In function `list_usb_devices_iter':

/home/pi/owfs-3.1p3/module/owshell/src/c/owusbprobe.c:149: undefined reference to `libusb_strerror'

/home/pi/owfs-3.1p3/module/owshell/src/c/owusbprobe.c:159: undefined reference to `libusb_strerror'

/home/pi/owfs-3.1p3/module/owshell/src/c/owusbprobe.c:154: undefined reference to `libusb_strerror'

/home/pi/owfs-3.1p3/module/owshell/src/c/owusbprobe.c:132: undefined reference to `libusb_strerror'

/home/pi/owfs-3.1p3/module/owshell/src/c/owusbprobe.c:135: undefined reference to `libusb_strerror'

owusbprobe.o:/home/pi/owfs-3.1p3/module/owshell/src/c/owusbprobe.c:182: more undefined references to `libusb_strerror' follow

collect2: error: ld returned 1 exit status

Makefile:643: recipe for target 'owusbprobe' failed

make[4]: *** [owusbprobe] Error 1

make[4]: Leaving directory '/home/pi/owfs-3.1p3/module/owshell/src/c'

Makefile:496: recipe for target 'all-recursive' failed

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory '/home/pi/owfs-3.1p3/module/owshell/src'

Makefile:496: recipe for target 'all-recursive' failed

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory '/home/pi/owfs-3.1p3/module/owshell'

Makefile:510: recipe for target 'all-recursive' failed

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory '/home/pi/owfs-3.1p3/module'

Makefile:565: recipe for target 'all-recursive' failed

make: *** [all-recursive] Error 1



Nevertheless, tor me its fine as I do not need USB ...

Kind regards,
Tom

On Mon, Aug 8, 2016 at 10:01 PM, Jan Kandziora <j...@gmx.de <mailto:j...@gmx.de>> wrote:

    Am 08.08.2016 um 21:16 schrieb sancho privat:
    > Hi,
    > unfortunately it doesn't work.
    >
    It was a packaging bug. Please update to v3.1p3.

    Kind regards

            Jan

    
------------------------------------------------------------------------------
    What NetFlow Analyzer can do for you? Monitors network bandwidth
    and traffic
    patterns at an interface-level. Reveals which users, apps, and
    protocols are
    consuming the most bandwidth. Provides multi-vendor support for
    NetFlow,
    J-Flow, sFlow and other flows. Make informed decisions using capacity
    planning reports. http://sdm.link/zohodev2dev
    _______________________________________________
    Owfs-developers mailing list
    Owfs-developers@lists.sourceforge.net
    <mailto:Owfs-developers@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/owfs-developers
    <https://lists.sourceforge.net/lists/listinfo/owfs-developers>




------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev


_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to