Re: [Owfs-developers] any succes with building latest owfs on latest openbsd ?

2009-10-19 Thread Mads Hjorth
 
I switched to autoconf 2.62 ...

And get the error

if gcc -DHAVE_CONFIG_H -I. -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 -D_POSIX_C_SOURCE=200112L -g -O2 -DNO_NESTED_FUNCTIONS 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 
-D_POSIX_C_SOURCE=200112L -MT getaddrinfo.o -MD -MP -MF .deps/getaddrinfo.Tpo 
-c -o getaddrinfo.o getaddrinfo.c;  then mv -f .deps/getaddrinfo.Tpo 
.deps/getaddrinfo.Po; else rm -f .deps/getaddrinfo.Tpo; exit 1; fi
getaddrinfo.c:82:37: missing terminating ' character
*** Error code 1


during config I noticed 

checking resolv.h usability... no
checking resolv.h presence... yes
configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h: check for missing prerequisite headers?
configure: WARNING: resolv.h: see the Autoconf documentation
configure: WARNING: resolv.h: section Present But Cannot Be Compiled
configure: WARNING: resolv.h: proceeding with the preprocessor's result
configure: WARNING: resolv.h: in the future, the compiler will take precedence
checking for resolv.h... yes

my /home/download/owfs/module/owlib/src/c/getaddrinfo.c is last modified on Oct 
17 23:24

Any ideas?

 
On Monday, October 19, 2009, at 04:08AM, Paul Alfille 
paul.alfi...@gmail.com wrote:
--
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
Owfs-developers@lists.sourceforge.net
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
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] any succes with building latest owfs on latest openbsd ?

2009-10-19 Thread Christian Magnusson
 

There was a new introduced typo on owshell/src/c/getaddrinfo.c which caused
an open c-comment and a compilation problem.

http://owfs.cvs.sourceforge.net/viewvc/owfs/owfs/module/owshell/src/c/getadd
rinfo.c?r1=1.9
http://owfs.cvs.sourceforge.net/viewvc/owfs/owfs/module/owshell/src/c/getad
drinfo.c?r1=1.9r2=1.10 r2=1.10

 

I also moved the resolv.h include after sys/types.h which seems to be
needed.

Can you try again?

 

/Christian

 

 

From: Mads Hjorth [mailto:ma...@mac.com] 
Sent: den 19 oktober 2009 11:05
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] any succes with building latest owfs on
latest openbsd ?

 

 
I switched to autoconf 2.62 ...
 
And get the error
 
if gcc -DHAVE_CONFIG_H -I. -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 -D_POSIX_C_SOURCE=200112L -g -O2
-DNO_NESTED_FUNCTIONS -D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1
-D_POSIX_C_SOURCE=200112L -MT getaddrinfo.o -MD -MP -MF
.deps/getaddrinfo.Tpo -c -o getaddrinfo.o getaddrinfo.c;  then mv -f
.deps/getaddrinfo.Tpo .deps/getaddrinfo.Po; else rm -f
.deps/getaddrinfo.Tpo; exit 1; fi
getaddrinfo.c:82:37: missing terminating ' character
*** Error code 1
 
 
during config I noticed 
 
checking resolv.h usability... no
checking resolv.h presence... yes
configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h: check for missing prerequisite headers?
configure: WARNING: resolv.h: see the Autoconf documentation
configure: WARNING: resolv.h: section Present But Cannot Be Compiled
configure: WARNING: resolv.h: proceeding with the preprocessor's result
configure: WARNING: resolv.h: in the future, the compiler will take
precedence
checking for resolv.h... yes
 
my /home/download/owfs/module/owlib/src/c/getaddrinfo.c is last modified on
Oct 17 23:24
 
Any ideas?
 
 
On Monday, October 19, 2009, at 04:08AM, Paul Alfille
paul.alfi...@gmail.com wrote:
---
---
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
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
 
 

I am using a vmware virtual machine with openbsd 4.5 automake 1.9 and
autoconf 2.62.

Paul



On Sun, Oct 18, 2009 at 4:44 PM, Mads Hjorth ma...@mac.com wrote:

Thanks for looking at this. I don't know how many are using openbsd for
1-wire stuff. Not enough for it to be put into a port or packages yet. But
maybe we could get this to work  and get it into a openbsd package...

 

 

Could you please confirm that we are using similar bootstrap/build
environment

 

I am on AUTOMAKE_VERSION=1.9 and AUTOCONF_VERSION=2.59...

 

What are you using?

 

I also spot a difference regarding use of pthreads. I am building on a
Soekris-box that was setup originally as Qemu virtual i386 machine. I don't
know if that would make a difference. 

 

 

Mads

 

 

On Oct 18, 2009, at 19:30 , Paul Alfille wrote:





That's strange. Under (I presume) the same conditions:

if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -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  -pthread  -I/usr/local/include
-g -O2 -DNO_NESTED_FUNCTIONS -D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1
-D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -MT getaddrinfo.lo -MD -MP -MF
.deps/getaddrinfo.Tpo -c -o getaddrinfo.lo getaddrinfo.c;  then mv -f
.deps/getaddrinfo.Tpo .deps/getaddrinfo.Plo; else rm -f
.deps/getaddrinfo.Tpo; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -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 -pthread -I/usr/local/include
-g -O2 -DNO_NESTED_FUNCTIONS -D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1
-D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -MT getaddrinfo.lo -MD -MP -MF
.deps/getaddrinfo.Tpo -c getaddrinfo.c  -fPIC -DPIC -o .libs/getaddrinfo.o
...
i.e. No errors.

I notice that the Actual command is different.
Basically I compiled everything successfully, then touched

Re: [Owfs-developers] any succes with building latest owfs on latest openbsd ?

2009-10-19 Thread Christian Magnusson
 

BTW: I just downloaded OpenBSD 4.6, installed it under VMware, and
successfully compiled everything auto-detected from the configure-script.

Hopefully it works with OpenBSD 4.5 as well.

 

Starting owserver -fake=10, and owget works.  I haven't tried any real
adapter though.

 

/Christian

 

 

From: Christian Magnusson [mailto:m...@mag.cx] 
Sent: den 19 oktober 2009 14:14
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] any succes with building latest owfs on
latest openbsd ?

 

 

There was a new introduced typo on owshell/src/c/getaddrinfo.c which caused
an open c-comment and a compilation problem.

http://owfs.cvs.sourceforge.net/viewvc/owfs/owfs/module/owshell/src/c/getadd
rinfo.c?r1=1.9
http://owfs.cvs.sourceforge.net/viewvc/owfs/owfs/module/owshell/src/c/getad
drinfo.c?r1=1.9r2=1.10 r2=1.10

 

I also moved the resolv.h include after sys/types.h which seems to be
needed.

Can you try again?

 

/Christian

 

 

From: Mads Hjorth [mailto:ma...@mac.com] 
Sent: den 19 oktober 2009 11:05
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] any succes with building latest owfs on
latest openbsd ?

 

 
I switched to autoconf 2.62 ...
 
And get the error
 
if gcc -DHAVE_CONFIG_H -I. -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 -D_POSIX_C_SOURCE=200112L -g -O2
-DNO_NESTED_FUNCTIONS -D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1
-D_POSIX_C_SOURCE=200112L -MT getaddrinfo.o -MD -MP -MF
.deps/getaddrinfo.Tpo -c -o getaddrinfo.o getaddrinfo.c;  then mv -f
.deps/getaddrinfo.Tpo .deps/getaddrinfo.Po; else rm -f
.deps/getaddrinfo.Tpo; exit 1; fi
getaddrinfo.c:82:37: missing terminating ' character
*** Error code 1
 
 
during config I noticed 
 
checking resolv.h usability... no
checking resolv.h presence... yes
configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h: check for missing prerequisite headers?
configure: WARNING: resolv.h: see the Autoconf documentation
configure: WARNING: resolv.h: section Present But Cannot Be Compiled
configure: WARNING: resolv.h: proceeding with the preprocessor's result
configure: WARNING: resolv.h: in the future, the compiler will take
precedence
checking for resolv.h... yes
 
my /home/download/owfs/module/owlib/src/c/getaddrinfo.c is last modified on
Oct 17 23:24
 
Any ideas?
 

 

--
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
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] questions about owpython and owfs

2009-10-19 Thread Marcus Priesch
Hi paul, 

i was off-duty for the past few days, checked your change today, but no
luck at all ... 

according to debug message from USB_Control_Msg the values now get
transferred after changing them - i see this as a huge part of the patch
- but the values set are always the start up (==default) values ... 

first call:

USB_Control_Msg: bRequest, wValue, wIndex = 02, 0002, 0001
USB_Control_Msg: bRequest, wValue, wIndex = 02, 0004, 0005
USB_Control_Msg: bRequest, wValue, wIndex = 02, 0006, 0004
USB_Control_Msg: bRequest, wValue, wIndex = 02, 0007, 0004
USB_Control_Msg: bRequest, wValue, wIndex = 01, 084b, 0001

next call(s) leave out the 02, ... lines

when i change e.g. slew rate:

# cat owfs/bus.0/interface/settings/usb/pulldownslewrate
   5
# echo 7   owfs/bus.0/interface/settings/usb/pulldownslewrate
# cat owfs/bus.0/interface/settings/usb/pulldownslewrate
   7

when i call owfs next time i get the following:


USB_Control_Msg: bRequest, wValue, wIndex = 02, 0002, 0001
USB_Control_Msg: bRequest, wValue, wIndex = 02, 0004, 0005
USB_Control_Msg: bRequest, wValue, wIndex = 02, 0006, 0004
USB_Control_Msg: bRequest, wValue, wIndex = 02, 0007, 0004
USB_Control_Msg: bRequest, wValue, wIndex = 01, 084b, 0001

line two should read: 

USB_Control_Msg: bRequest, wValue, wIndex = 02, 0004, 0007
  

instead of 0005

not to mention ... the timing also never changes ... :(

checking pulldownslewrate afterwards clearly states that it hadn't
changed ...

# cat owfs/bus.0/interface/settings/usb/pulldownslewrate
   5

regards,
marcus.


--
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
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] questions about owpython and owfs

2009-10-19 Thread Marcus Priesch
Dear Paul, dear list,

i finally came up with a patch (against current HEAD) which doesn't
overwrite the changed settings with the default ones ... 

please review and merge into HEAD - as i am not 100% sure if the call to
DS9490_SetFlexParameters () is in the correct place ... ;)

thanks,
marcus.

Index: ow_ds9490.c
===
RCS file: /cvsroot/owfs/owfs/module/owlib/src/c/ow_ds9490.c,v
retrieving revision 1.175
diff -u -r1.175 ow_ds9490.c
--- ow_ds9490.c	14 Oct 2009 02:32:23 -	1.175
+++ ow_ds9490.c	19 Oct 2009 18:49:37 -
@@ -90,7 +90,7 @@
 static int FindDiscrepancy(BYTE * last_sn);
 static int DS9490_directory(struct device_search *ds, struct dirblob *db, const struct parsedname *pn);
 static int DS9490_SetSpeed(const struct parsedname *pn);
-static void DS9490_SetFlexParameters(const struct parsedname *pn) ;
+static void DS9490_SetFlexParameters(struct connection_in *in);
 
 /* Device-specific routines */
 static void DS9490_setroutines(struct connection_in *in)
@@ -309,7 +309,10 @@
 	if (ret) {
 		fprintf(stderr, Could not open the USB adapter. Is there a problem with permissions?\n);
 		LEVEL_DEFAULT(Could not open the USB adapter. Is there a problem with permissions?\n);
+	} else {
+		DS9490_SetFlexParameters (in);
 	}
+
 	return ret;
 }
 
@@ -1356,7 +1359,6 @@
 LEVEL_DATA(set overdrive speed\n);
 			}
 		} else if (in-flex==bus_yes_flex) {
-			DS9490_SetFlexParameters(pn) ;
 			if (USB_Control_Msg(MODE_CMD, MOD_1WIRE_SPEED, ONEWIREBUSSPEED_FLEXIBLE, pn)  0) {
 ++ ret;
 			} else {
@@ -1366,7 +1368,7 @@
 			if (USB_Control_Msg(MODE_CMD, MOD_1WIRE_SPEED, ONEWIREBUSSPEED_REGULAR, pn)  0) {
 ++ ret;
 			} else {
-LEVEL_DATA(set flexible speed\n);
+LEVEL_DATA(set regular speed\n);
 			}
 		}
 	}
@@ -1397,10 +1399,8 @@
 	return ret;
 }
 
-static void DS9490_SetFlexParameters(const struct parsedname *pn)
+static void DS9490_SetFlexParameters(struct connection_in *in)
 {
-	struct connection_in * in = pn-selected_connection ;
-	
 	/* in regular and overdrive speed, slew rate is 15V/us. It's only
 	* suitable for short 1-wire busses. Use flexible speed instead. */
 
--
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
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] any succes with building latest owfs on latest openbsd ?

2009-10-19 Thread Mads Hjorth

Thanks for helping out...
I got a successful build from the current cvs

On Oct 19, 2009, at 15:24 , Christian Magnusson wrote:



BTW: I just downloaded OpenBSD 4.6, installed it under VMware, and  
successfully compiled everything auto-detected from the configure- 
script.

Hopefully it works with OpenBSD 4.5 as well.

Starting “owserver –fake=10”, and “owget” works…  I haven’t tried  
any real adapter though.


/Christian


From: Christian Magnusson [mailto:m...@mag.cx]
Sent: den 19 oktober 2009 14:14
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] any succes with building latest owfs  
on latest openbsd ?



There was a new introduced typo on owshell/src/c/getaddrinfo.c which  
caused an open c-comment and a compilation problem.

http://owfs.cvs.sourceforge.net/viewvc/owfs/owfs/module/owshell/src/c/getaddrinfo.c?r1=1.9r2=1.10

I also moved the resolv.h include after sys/types.h which seems to  
be needed.

Can you try again?

/Christian


From: Mads Hjorth [mailto:ma...@mac.com]
Sent: den 19 oktober 2009 11:05
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] any succes with building latest owfs  
on latest openbsd ?



I switched to autoconf 2.62 ...

And get the error

if gcc -DHAVE_CONFIG_H -I. -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 - 
D_POSIX_C_SOURCE=200112L -g -O2 -DNO_NESTED_FUNCTIONS - 
D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 - 
D_POSIX_C_SOURCE=200112L -MT getaddrinfo.o -MD -MP -MF .deps/ 
getaddrinfo.Tpo -c -o getaddrinfo.o getaddrinfo.c;  then mv -f  
.deps/getaddrinfo.Tpo .deps/getaddrinfo.Po; else rm -f .deps/ 
getaddrinfo.Tpo; exit 1; fi

getaddrinfo.c:82:37: missing terminating ' character
*** Error code 1


during config I noticed

checking resolv.h usability... no
checking resolv.h presence... yes
configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h: check for missing prerequisite  
headers?

configure: WARNING: resolv.h: see the Autoconf documentation
configure: WARNING: resolv.h: section Present But Cannot Be  
Compiled
configure: WARNING: resolv.h: proceeding with the preprocessor's  
result
configure: WARNING: resolv.h: in the future, the compiler will take  
precedence

checking for resolv.h... yes

my /home/download/owfs/module/owlib/src/c/getaddrinfo.c is last  
modified on Oct 17 23:24


Any ideas?


--
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
Owfs-developers@lists.sourceforge.net
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
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] questions about owpython and owfs

2009-10-19 Thread Paul Alfille
I love a patch!

Does it correct your hardware problem?

Paul

On Mon, Oct 19, 2009 at 2:53 PM, Marcus Priesch mar...@priesch.priv.atwrote:

 Dear Paul, dear list,

 i finally came up with a patch (against current HEAD) which doesn't
 overwrite the changed settings with the default ones ...

 please review and merge into HEAD - as i am not 100% sure if the call to
 DS9490_SetFlexParameters () is in the correct place ... ;)

 thanks,
 marcus.



 --
 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
 Owfs-developers@lists.sourceforge.net
 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
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] any succes with building latest owfs on latest openbsd ?

2009-10-19 Thread Paul Alfille
If you have success using openbsd to read actual hardware devices, can you
report it here? We'll add it to the website as well.

I see a fuse port for freebsd and netbsd, but not openbsd.


Paul Alfille

On Mon, Oct 19, 2009 at 3:16 PM, Mads Hjorth ma...@mac.com wrote:

 Thanks for helping out...I got a successful build from the current cvs

 On Oct 19, 2009, at 15:24 , Christian Magnusson wrote:


 BTW: I just downloaded OpenBSD 4.6, installed it under VMware, and
 successfully compiled everything auto-detected from the configure-script.
 Hopefully it works with OpenBSD 4.5 as well.

 Starting “owserver –fake=10”, and “owget” works…  I haven’t tried any real
 adapter though.

 /Christian


 *From:* Christian Magnusson [mailto:m...@mag.cx m...@mag.cx]
 *Sent:* den 19 oktober 2009 14:14
 *To:* owfs-developers@lists.sourceforge.net
 *Subject:* Re: [Owfs-developers] any succes with building latest owfs on
 latest openbsd ?


 There was a new introduced typo on owshell/src/c/getaddrinfo.c which caused
 an open c-comment and a compilation problem.

 http://owfs.cvs.sourceforge.net/viewvc/owfs/owfs/module/owshell/src/c/getaddrinfo.c?r1=1.9r2=1.10

  I also moved the resolv.h include after sys/types.h which seems to be
 needed.
 Can you try again?

 /Christian


 *From:* Mads Hjorth [mailto:ma...@mac.com ma...@mac.com]
 *Sent:* den 19 oktober 2009 11:05
 *To:* owfs-developers@lists.sourceforge.net
 *Subject:* Re: [Owfs-developers] any succes with building latest owfs on
 latest openbsd ?




 I switched to autoconf 2.62 ...



 And get the error



 if gcc -DHAVE_CONFIG_H -I. -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 -D_POSIX_C_SOURCE=200112L -g -O2 -DNO_NESTED_FUNCTIONS 
 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 
 -D_POSIX_C_SOURCE=200112L -MT getaddrinfo.o -MD -MP -MF 
 .deps/getaddrinfo.Tpo -c -o getaddrinfo.o getaddrinfo.c;  then mv -f 
 .deps/getaddrinfo.Tpo .deps/getaddrinfo.Po; else rm -f 
 .deps/getaddrinfo.Tpo; exit 1; fi

 getaddrinfo.c:82:37: missing terminating ' character

 *** Error code 1





 during config I noticed



 checking resolv.h usability... no

 checking resolv.h presence... yes

 configure: WARNING: resolv.h: present but cannot be compiled

 configure: WARNING: resolv.h: check for missing prerequisite headers?

 configure: WARNING: resolv.h: see the Autoconf documentation

 configure: WARNING: resolv.h: section Present But Cannot Be Compiled

 configure: WARNING: resolv.h: proceeding with the preprocessor's result

 configure: WARNING: resolv.h: in the future, the compiler will take precedence

 checking for resolv.h... yes



 my /home/download/owfs/module/owlib/src/c/getaddrinfo.c is last modified on 
 Oct 17 23:24



 Any ideas?





 --
 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
 Owfs-developers@lists.sourceforge.net
 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
 Owfs-developers@lists.sourceforge.net
 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
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers