On Wednesday 28 December 2005 11:07 pm, Tim Sailer wrote: > On Wed, December 28, 2005 0:05, Paul Alfille said: > > Installed swig (fuse was installed already) > > > The best way to build is to grab a version from the CVS: > > > > cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/owfs co owfs > > (blank password if it asks) > > > > Then: > > ./bootstrap > > ./configure --disable-swig > > make > > It bombs after a while with : > > owfs_callback.c:140: warning: passing arg 4 of pointer to function with > different width due to prototype These warnings are quite a nuisance. 1-wire is bit and byte oriented, but gcc seems to want larger words. I'm loathe to change parameters sizes away from their natural size because some platforms in the embedded world should prefer the smaller data sizes.
> /bin/sh ../../../../libtool --tag=CC --mode=link gcc -I../include > -I../../../owlib/src/include -I/usr/local/include/fuse > -I/usr/local/include -L../../../owlib/src/c -fexceptions -Wall -W -Wundef > -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion > -Wstrict-prototypes -Wredundant-decls -DOW_MT -D_FILE_OFFSET_BITS=64 > -DFUSE_USE_VERSION=22 -g -O2 -pthread -low -lfuse -lpthread -Wl,--rpath > -Wl,/usr/lib -Wl,--rpath -Wl,/usr/local/lib -o owfs owfs.o > owfs_callback.o -lusb > mkdir .libs > gcc -I../include -I../../../owlib/src/include -I/usr/local/include/fuse > -I/usr/local/include -fexceptions -Wall -W -Wundef -Wshadow > -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion -Wstrict-prototypes > -Wredundant-decls -DOW_MT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -g > -O2 -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/local/lib -o .libs/owfs > owfs.o owfs_callback.o -L/home/tps/src/owfs/module/owlib/src/c -pthread > /home/tps/src/owfs/module/owlib/src/c/.libs/libow.so /usr/lib/libfuse.so > /usr/lib/libusb.so -lpthread > /home/tps/src/owfs/module/owlib/src/c/.libs/libow.so: undefined reference > to `BUS_read' BUS_read was removed. Could there be a stale library? > collect2: ld returned 1 exit status > make[4]: *** [owfs] Error 1 > make[4]: Leaving directory `/home/tps/src/owfs/module/owfs/src/c' > > > sudo make install > > > > There are also instructions for installing on routers, or distributed > > over a > > network, or even on the Mac. > > I'll take a look a this. I want to be able to run it on the NSLU2, if > possible. I'm sure it's possible. Christian Magnusson has added rather detailed instructions on creating embedded OWFS devices. The USB works on the OpenWRT routers that have USB (like the ASUS WL-500G) and has FUSE and rrd binaries as well. The routers use a different CPU (MIPS vs ARM) so will now be binary compatible, but the general problems of configuration for flash memory and constrained resources have been worked out. > > Tim > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers