Sounds like most of the difficulty is with libusb. I'll need to set up
a virtual machine to test.

On Fri, Mar 12, 2010 at 5:48 AM, Ghislain FOURNIER
<ghislain.fourn...@orange.fr> wrote:
> Hello
>
>
>
> I want build owfs on my FreeBSD 8.0 server.
>
>
>
> I do this in my /home/ :
>
>
>
> wget 
> http://downloads.sourceforge.net/project/owfs/owfs/2.7p30/owfs-2.7p30.tar.gz?use_mirror=freefr
>
> tar -zxvf owfs-2.7p30.tar.gz
>
> mv owfs-2.7p30 owfs
>
> cvs -d:pserver:anonym...@owfs.cvs.sourceforge.net:/cvsroot/owfs co owfs
>
> cd owfs
>
> libtoolize -c -f -i
>
> ./bootstrap
>
> ./configure
>
> make
>
>
>
>
>
>
>
> I previously try with 2.6 , 2.7p28 to 2.7p30. and 2.7p31 version, but i'v got 
> same problem.
>
>
>
> I use a DS9490R USB 1-wire Adapter
>
>
>
> my DS9490R USB 1-wire Adapter works correctly with digitemp.
>
>
>
> =====
>
> /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
> -I../../../../src/include -I../include -fexceptions -Wall -W -Wundef -Wshadow 
> -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes 
> -Wredundant-decls -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 
> -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_THREAD_SAFE 
> -pthread -g -O2 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 
> -D_POSIX_C_SOURCE=200112L -MT ow_ds9490.lo -MD -MP -MF .deps/ow_ds9490.Tpo -c 
> -o ow_ds9490.lo ow_ds9490.c
>
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../src/include 
> -I../include -fexceptions -Wall -W -Wundef -Wshadow -Wpointer-arith 
> -Wcast-qual -Wcast-align -Wstrict-prototypes -Wredundant-decls 
> -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1 
> -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_THREAD_SAFE -pthread -g -O2 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 
> -D_POSIX_C_SOURCE=200112L -MT ow_ds9490.lo -MD -MP -MF .deps/ow_ds9490.Tpo -c 
> ow_ds9490.c -fPIC -DPIC -o .libs/ow_ds9490.o
>
> In file included from ow_ds9490.c:50:
>
> /usr/include/usb.h:77: error: redefinition of 'struct usb_string_descriptor'
>
> /usr/include/usb.h:97: error: redefinition of 'struct usb_endpoint_descriptor'
>
> /usr/include/usb.h:120: error: redefinition of 'struct 
> usb_interface_descriptor'
>
> /usr/include/usb.h:146: error: redefinition of 'struct usb_config_descriptor'
>
> /usr/include/usb.h:163: error: redefinition of 'struct usb_device_descriptor'
>
> ow_ds9490.c: In function 'BSD_usb_clear_halt':
>
> ow_ds9490.c:268: error: storage size of 'ctl_req' isn't known
>
> ow_ds9490.c:277: error: 'USB_DO_REQUEST' undeclared (first use in this 
> function)
>
> ow_ds9490.c:277: error: (Each undeclared identifier is reported only once
>
> ow_ds9490.c:277: error: for each function it appears in.)
>
> ow_ds9490.c:268: warning: unused variable 'ctl_req'
>
> ow_ds9490.c: In function 'DS9490_root_dir':
>
> ow_ds9490.c:362: warning: implicit declaration of function 'snprintf'
>
> ow_ds9490.c:362: warning: incompatible implicit declaration of built-in 
> function 'snprintf'
>
> ow_ds9490.c: In function 'DS9490_device_name':
>
> ow_ds9490.c:664: warning: incompatible implicit declaration of built-in 
> function 'snprintf'
>
> ow_ds9490.c: In function 'DS9490_write':
>
> ow_ds9490.c:1025: warning: cast discards qualifiers from pointer target type
>
> *** Error code 1
>
>
>
> Stop in /usr/home/1-wire/owfs/module/owlib/src/c.
>
> *** Error code 1
>
>
>
> Stop in /usr/home/1-wire/owfs/module/owlib/src.
>
> *** Error code 1
>
>
>
> Stop in /usr/home/1-wire/owfs/module/owlib.
>
> *** Error code 1
>
>
>
> Stop in /usr/home/1-wire/owfs/module.
>
> *** Error code 1
>
>
>
> Stop in /usr/home/1-wire/owfs.
>
>
>
> =========
>
> You can find complete log error in this file :
>
>
>
> http://www.fournier-family.com/downloads/log_compile_owfs.txt
>
>
>
> can you help me ?
>
>
>
> Thanks
>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to