It looks like a syntax error in 1 of the include files specific to openbsd. The compiler then gets confused my subsequent valid code and complains,at the wrong place. I'll set up a virtual machine to figure it out.
On 10/15/09, Mads Hjorth <[email protected]> wrote: > > Hi, > > I am trying to build a owfs 2.7p26 on openbsd 4.5 i386 > > I have installed the latest libusb using pkg_add. > > The result of configure is > > Current configuration: > > Deployment location: /opt/owfs > > Compile-time options: > Caching is enabled > USB is enabled > I2C is enabled > HA7Net is enabled > W1 is DISABLED > Multithreading is enabled > Parallel port DS1410E is DISABLED > TAI8570 barometer is enabled > Thermocouple is enabled > Zeroconf/Bonjour is enabled > Debug-output is enabled > Profiling is DISABLED > > Module configuration: > owlib is enabled > owshell is enabled > owfs is DISABLED > owhttpd is enabled > owftpd is enabled > owserver is enabled > ownet is enabled > ownetlib is enabled > owtap is enabled > owside is enabled > owmon is enabled > owcapi is enabled > swig is DISABLED > owperl is DISABLED > owphp is DISABLED > owpython is DISABLED > owtcl is DISABLED > > ,which looks find for my purpose.... > > Running make ends up in > > 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=500 > -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -g -O2 -DNO_NESTED_FUNCTIONS > -D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -MT getaddrinfo.o -MD > -MP -MF .deps/getaddrinfo.Tpo -c -o getaddrinfo.o getaddrinfo.c > In file included from ../../../owlib/src/include/ow_debug.h:20, > from getaddrinfo.c:50: > /usr/include/sys/uio.h:40: error: syntax error before "size_t" > In file included from ../../../owlib/src/include/ow_debug.h:20, > from getaddrinfo.c:50: > /usr/include/sys/uio.h:75: error: syntax error before "preadv" > /usr/include/sys/uio.h:75: error: syntax error before "off_t" > /usr/include/sys/uio.h:76: error: syntax error before "pwritev" > /usr/include/sys/uio.h:76: error: syntax error before "off_t" > /usr/include/sys/uio.h:78: error: syntax error before "readv" > /usr/include/sys/uio.h:79: error: syntax error before "writev" > *** Error code 1 > > Stop in /home/download/owfs-2.7p26/module/owshell/src/c (line 92 of > /usr/share/mk/sys.mk). > *** Error code 1 > > Stop in /home/download/owfs-2.7p26/module/owshell/src (line 380 of > Makefile). > *** Error code 1 > > Stop in /home/download/owfs-2.7p26/module/owshell (line 380 of Makefile). > *** Error code 1 > > Stop in /home/download/owfs-2.7p26/module (line 394 of Makefile). > *** Error code 1 > > Stop in /home/download/owfs-2.7p26 (line 435 of Makefile). > > > > Any ideas of how to get around this? > > > mads hjorth > [email protected] > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Owfs-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/owfs-developers > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
