that fixed it, thanks! --Jim
On Mon, Aug 2, 2010 at 6:06 PM, Paul Alfille <paul.alfi...@gmail.com> wrote: > Ahh, sorry > > Can you change line 81 of module/owserver/src/c/to_client.c from > TrafficOutFD("to server > data",io[1].iov_base,io[1].iov_leng,file_descriptor); > to > > TrafficOutFD("to server > data",io[1].iov_base,io[1].iov_len,file_descriptor); > > (That is, change the iov_leng to iov_len.) > > > On Mon, Aug 2, 2010 at 3:54 PM, Jim Kusznir <jkusz...@gmail.com> wrote: >> >> My attempts to build it so far on my dev machine fail: >> >> >> gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -I../include >> -I../../../owlib/src/include -L../../../owlib/src/c -fexceptions -Wall >> -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align >> -Wstrict-prototypes -Wredundant-decls -D_FILE_OFFSET_BITS=64 >> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 >> -D_POSIX_C_SOURCE=200112L -pthread -g -O2 -m64 -D_XOPEN_SOURCE=500 >> -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -MT >> from_client.o -MD -MP -MF .deps/from_client.Tpo -c -o from_client.o >> from_client.c >> mv -f .deps/from_client.Tpo .deps/from_client.Po >> gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -I../include >> -I../../../owlib/src/include -L../../../owlib/src/c -fexceptions -Wall >> -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align >> -Wstrict-prototypes -Wredundant-decls -D_FILE_OFFSET_BITS=64 >> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 >> -D_POSIX_C_SOURCE=200112L -pthread -g -O2 -m64 -D_XOPEN_SOURCE=500 >> -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -MT >> to_client.o -MD -MP -MF .deps/to_client.Tpo -c -o to_client.o >> to_client.c >> to_client.c: In function ‘ToClient’: >> to_client.c:81: error: ‘struct iovec’ has no member named ‘iov_leng’ >> make[4]: *** [to_client.o] Error 1 >> make[4]: Leaving directory `/root/owfs-2.8p0/module/owserver/src/c' >> make[3]: *** [all-recursive] Error 1 >> make[3]: Leaving directory `/root/owfs-2.8p0/module/owserver/src' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory `/root/owfs-2.8p0/module/owserver' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/root/owfs-2.8p0/module' >> make: *** [all-recursive] Error 1 >> >> This one is not obvious to me as to what module is failing to build. >> My configure options are: >> >> ./configure --disable-zero --disable-parport --enable-owtraffic >> --prefix=/opt/owfs-2.8p0 >> >> --Jim >> >> On Mon, Aug 2, 2010 at 11:59 AM, Jim Kusznir <jkusz...@gmail.com> wrote: >> > You use the same options you would use on the command line in the in >> > options when the bus is initialized through the python command. >> > >> > --Jim >> > >> > On Sun, Aug 1, 2010 at 9:39 PM, Joshua J. Kugler <jos...@azariah.com> >> > wrote: >> >> On Sunday 01 August 2010, Paul Alfille elucidated thus: >> >>> Release notes 2.8p0 >> >>> >> >>> 1. W1 (the linux kernel module now called "wire") that handles >> >>> several types of 1wire bus masters is now supported as a surrogate >> >>> bus master. A. Includes usb, i2c and some architecture-specific gpio >> >>> (OMAP and ARM) B. Bus masters are added and removed dynamically based >> >>> on netlink messages from the kernel >> >>> C. Need Kernel version 2.6.31+ for best performance >> >>> D. Use "--w1" on the command line >> >>> E. Linux-specific >> >>> F. Must be run as root. >> >>> G. using -usb will supercede the w1 usb (since the ds2490.ko module >> >>> is unloaded) >> >>> >> >>> This meas that there are now 3 means of dynamically adding bus >> >>> masters: A. --uscan (via a libusb scanning loop) >> >>> B. --w1 (via the kernel module and netlink messages) >> >>> C. --zero (via Avahi or Bonjour for owservers) >> >> >> >> Not being intimately familiar with owfs, this might be obvious to some >> >> (or documented somewhere), but: how would one select the type of >> >> busmaster to use from, say, the Python API. >> >> >> >> j >> >> >> >> >> >> -- >> >> Joshua J. Kugler - Fairbanks, Alaska >> >> Azariah Enterprises - Programming and Website Design >> >> jos...@azariah.com - Jabber: pedah...@gmail.com >> >> PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> The Palm PDK Hot Apps Program offers developers who use the >> >> Plug-In Development Kit to bring their C/C++ apps to Palm for a share >> >> of $1 Million in cash or HP Products. Visit us here for more details: >> >> http://p.sf.net/sfu/dev2dev-palm >> >> _______________________________________________ >> >> Owfs-developers mailing list >> >> Owfs-developers@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> >> >> > >> >> >> ------------------------------------------------------------------------------ >> The Palm PDK Hot Apps Program offers developers who use the >> Plug-In Development Kit to bring their C/C++ apps to Palm for a share >> of $1 Million in cash or HP Products. Visit us here for more details: >> http://p.sf.net/sfu/dev2dev-palm >> _______________________________________________ >> Owfs-developers mailing list >> Owfs-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers