owfs-3.1p2 - error during make

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

owfs-3.1p2 - error during make

sancho privat
Hi,

I just have tried to install the latest version. However, after the ./configure step I get the following error when trying the "make".

I'm using raspian (4.4.16) - here is the error:


S=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 -MT owusbprobe.o -MD -MP -MF .deps/owusbprobe.Tpo -c -o owusbprobe.o owusbprobe.c

owusbprobe.c:22:47: fatal error: ../../../owlib/src/include/libusb.h: No such file or directory

 #include "../../../owlib/src/include/libusb.h"

                                               ^

compilation terminated.

Makefile:676: recipe for target 'owusbprobe.o' failed

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

make[4]: Leaving directory '/home/pi/owfs-3.1p2/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.1p2/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.1p2/module/owshell'

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

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

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

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

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


What am I doing wrong?


Thanks a lot.


Best,

Tom


------------------------------------------------------------------------------

_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: owfs-3.1p2 - error during make

Andy Carter
On Sunday 07 Aug 2016 21:40:33 sancho privat wrote:

> I just have tried to install the latest version. However, after the
> ./configure step I get the following error when trying the "make".
>
> I'm using raspian (4.4.16) - here is the error:
>
>
> S=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 -MT owusbprobe.o -MD -MP -MF
> .deps/owusbprobe.Tpo -c -o owusbprobe.o owusbprobe.c
>
> owusbprobe.c:22:47: fatal error: ../../../owlib/src/include/libusb.h: No
> such file or directory
>
>  #include "../../../owlib/src/include/libusb.h"

As no-one else has replied yet I'll try as an amateur - so maybe wrong ;)

Looks like you need to install the libusb development packages eg. libusb-dev.
My Pi is not accessible at the moment so cannot be sure of exact package name.

You could disable usb support in your build but that is probably not what you
want

Andy

------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: owfs-3.1p2 - error during make

sancho privat
Hi,
unfortunately it doesn't work.
I installed libusb, i did both via apt-get and manually. Also I disabled USB (./configure --enable-usb=no).
The result is still the same:

gcc -DHAVE_CONFIG_H -I. -I../../../../src/include    -I../include -I../../../owlib/src/include -fexceptions -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wredundant-decls  -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 -MT owusbprobe.o -MD -MP -MF .deps/owusbprobe.Tpo -c -o owusbprobe.o owusbprobe.c

owusbprobe.c:22:47: fatal error: ../../../owlib/src/include/libusb.h: No such file or directory

 #include "../../../owlib/src/include/libusb.h"

                                               ^

compilation terminated.

Makefile:676: recipe for target 'owusbprobe.o' failed

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

make[4]: Leaving directory '/home/pi/owfs-3.1p2/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.1p2/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.1p2/module/owshell'

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

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

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

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

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


 I really appreciate your help!

Best,
Tom

On Mon, Aug 8, 2016 at 7:23 AM, Andy Carter <[hidden email]> wrote:
On Sunday 07 Aug 2016 21:40:33 sancho privat wrote:

> I just have tried to install the latest version. However, after the
> ./configure step I get the following error when trying the "make".
>
> I'm using raspian (4.4.16) - here is the error:
>
>
> S=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 -MT owusbprobe.o -MD -MP -MF
> .deps/owusbprobe.Tpo -c -o owusbprobe.o owusbprobe.c
>
> owusbprobe.c:22:47: fatal error: ../../../owlib/src/include/libusb.h: No
> such file or directory
>
>  #include "../../../owlib/src/include/libusb.h"

As no-one else has replied yet I'll try as an amateur - so maybe wrong ;)

Looks like you need to install the libusb development packages eg. libusb-dev.
My Pi is not accessible at the moment so cannot be sure of exact package name.

You could disable usb support in your build but that is probably not what you
want

Andy

------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: owfs-3.1p2 - error during make

Andy Carter
On Monday 08 Aug 2016 21:16:43 sancho privat wrote:
> unfortunately it doesn't work.
> I installed libusb,

You need the dev packages as I suggested, it is probably libusb-dev
This package contains your missing header file libusb.h amongst others

Andy

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: owfs-3.1p2 - error during make

sancho privat
Hups, sorry, I was wrong. I have installed libusb-dev.

However, in the meanwhile I have installed version p3 - and now, when I disable USB the installation seems to work - it is still making ;-)

Best,
Tom

On Mon, Aug 8, 2016 at 9:43 PM, Andy Carter <[hidden email]> wrote:
On Monday 08 Aug 2016 21:16:43 sancho privat wrote:
> unfortunately it doesn't work.
> I installed libusb,

You need the dev packages as I suggested, it is probably libusb-dev
This package contains your missing header file libusb.h amongst others

Andy

------------------------------------------------------------------------------
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: owfs-3.1p2 - error during make

Jan Kandziora
In reply to this post by sancho privat
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

owfs-3.1p3 - error during make

Roland Franke
Hello,

On my Pi V3.1p3 will not build right.
Configure work with the following configuration:
Current configuration:
    Deployment location: /opt/owfs
Compile-time options:
                      USB is enabled
                    AVAHI is DISABLED
                      I2C is enabled
                       W1 is enabled
    Parallel port DS1410E is enabled
           FTDI (LinkUSB) is DISABLED
         Zeroconf/Bonjour is enabled
             Debug-output is enabled
               Mutexdebug is enabled
                Profiling is DISABLED
Tracing memory allocation is DISABLED
Module configuration:
                    owlib is enabled
                  owshell is enabled
                     owfs is enabled
                  owhttpd is enabled
                   owftpd is enabled
                 owserver is enabled
               owexternal is enabled
                    ownet is enabled
                 ownetlib is enabled
                    owtap is enabled
                    owmon is enabled
                   owcapi is enabled
                     swig is enabled
                   owperl is enabled
                    owphp is DISABLED
                 owpython is enabled
                    owtcl is enabled
              unit tests are DISABLED

But by the build i will get the error:

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: ld returned 1 exit status
Makefile:643: recipe for target 'owusbprobe' failed

Best regards,
Roland


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: owfs-3.1p2 - error during make

sancho privat
In reply to this post by Jan Kandziora
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 -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 <[hidden email]> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: owfs-3.1p2 - error during make

Johan Ström-3

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 -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 <[hidden email]> 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
[hidden email]
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: owfs-3.1p2 - error during make

Andy Carter
On Monday 08 Aug 2016 22:45:15 Johan Ström wrote:
> Apparently libusb_strerror was added in libusb v1.0.16. Seems raspbian
> only has libusb1.0-0.

debian stable/jessie too

> Try to uninstall libusb-devel, and install libusb2-devel instead. owfs
> should be compatible with that as well.

and no libusb2-anything.

Raspbian may be different of course

Andy

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: owfs-3.1p2 - error during make

Johan Ström-3

On 09/08/16 07:38, Andy Carter wrote:

> On Monday 08 Aug 2016 22:45:15 Johan Ström wrote:
>> Apparently libusb_strerror was added in libusb v1.0.16. Seems raspbian
>> only has libusb1.0-0.
> debian stable/jessie too
>
>> Try to uninstall libusb-devel, and install libusb2-devel instead. owfs
>> should be compatible with that as well.
> and no libusb2-anything.
>
> Raspbian may be different of course
My bad, confused myself a bit.. There seem to be a libusb2-dev package
on wheezy (https://packages.debian.org/wheezy/libusb2-dev) but I'm not
sure what that actually is... I cannot really find any references to
libusb2 anywhere on the net.. except that Debian page..

It is libftdi which we support both versions (1.0 and 0.x), not libusb.

Anyway, I guess we can dumb down the error output: if libusb_strerror
does not exist due to old libusb version, we could just print simpler
errors (although not as helpful during device probing).

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: owfs-3.1p2 - error during make

Jan Kandziora
Am 09.08.2016 um 08:34 schrieb Johan Ström:

>
> On 09/08/16 07:38, Andy Carter wrote:
>> On Monday 08 Aug 2016 22:45:15 Johan Ström wrote:
>>> Apparently libusb_strerror was added in libusb v1.0.16. Seems raspbian
>>> only has libusb1.0-0.
>> debian stable/jessie too
>>
>
> Anyway, I guess we can dumb down the error output: if libusb_strerror
> does not exist due to old libusb version, we could just print simpler
> errors (although not as helpful during device probing).
>
That doesn't seem right.

When you run debian stable, you have to update your sources.list for
getting the owfs-3.1p3 packages anyway. If you want to compile a new
version yourself, it's acceptable you have to update some prerequisites,
too.

Does it compile on testing? Because that's where we have owfs-3.1p3 in.

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers