Hi,

  I digged through automake stuff but I did not find the way to fix.

Basically, error boils down to

make[1]: Entering directory '/tmp/owfs-3.1p0/module/owshell/src/c'  
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 
-D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 
-D_POSIX_C_SOURCE=200112L -g -O2 -m64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 
-D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -MT ow_dnssd.o -MD -MP -MF 
.deps/ow_dnssd.Tpo -c -o ow_dnssd.o ow_dnssd.c
In file included from ../../../owlib/src/include/ow.h:90:0,  
                 from ow_dnssd.c:17:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE 
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^  
In file included from ow_dnssd.c:17:0:
../../../owlib/src/include/ow.h:302:20: fatal error: libusb.h: No such file or 
directory  


  It fails, because libusb.h is located in /usr/include/libusb-1.0/libusb.h, but
gcc invocation lacks "-I/usr/include/libusb-1.0".  It is correctly determined
by configure, but not put in gcc line:

$ grep LIBUSB_CFLAGS config.log 
LIBUSB_CFLAGS='-I/usr/include/libusb-1.0 '

 Which Makefile.am to patch and how?

-- 
Tomasz Torcz       ,,(...) today's high-end is tomorrow's embedded processor.''
xmpp: zdzich...@chrome.pl                      -- Mitchell Blank on LKML


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

Reply via email to