Hello,
>>> In file included from ow_dnssd.c:17:
>>> ../../../owlib/src/include/ow.h:302:20: error: libusb.h No such file or
>>> directory
>> Can you look for the following changes:
>> module/owshell/src/c/Makefile.am
>> In line 41 (And followed) you have to add at the end an \
>> and add the lines:
>> ${LIBUSB_CFLAGS} \
>> ${PTHREAD_CFLAGS}
>>
>> Also exchange the line:
>> LDADD = ${LD_EXTRALIBS} ${OSLIBS}
>> with
>> LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS}
>>
>> Then modify the file
>> module/owshell/src/c/Makefile.in
>> There the same as first be line 498 and following.
>>
> Got a little farther!
> /home/addons/owfs-3.1p0/module/owlib/src/c/.libs/libow.so: undefined
> reference to 'libusb_error_name'
Can you please confirm, that at the file:
/home/addons/owfs-3.1p0/module/owlib/src/c/Makefile.am
is been set (Line 239 and followed):
AM_CFLAGS = -I../include \
-fexceptions \
-Wall \
-W \
-Wundef \
-Wshadow \
-Wpointer-arith \
-Wcast-qual \
-Wcast-align \
-Wstrict-prototypes \
-Wredundant-decls \
-D__EXTENSIONS__ \
${EXTRACFLAGS} \
${PTHREAD_CFLAGS} \
${LIBUSB_CFLAGS} \
${PIC_FLAGS}
LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS}
and in /home/addons/owfs-3.1p0/module/owlib/src/c/Makefile.in
is set (line 746 and followed):
AM_CFLAGS = -I../include \
-fexceptions \
-Wall \
-W \
-Wundef \
-Wshadow \
-Wpointer-arith \
-Wcast-qual \
-Wcast-align \
-Wstrict-prototypes \
-Wredundant-decls \
-D__EXTENSIONS__ \
${EXTRACFLAGS} \
${PTHREAD_CFLAGS} \
${LIBUSB_CFLAGS} \
${PIC_FLAGS}
LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS}
all: all-am
Best regards,
Roland
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers