[Nut-upsdev] Merging windows_port branch

Charles Lepple clepple at gmail.com
Wed May 25 12:06:24 UTC 2011


On May 25, 2011, at 5:02 AM, Arnaud Quette wrote:

> Hey Charles,
>
> 2011/5/25 Charles Lepple <clepple at gmail.com>
> Something looks strange here:
>
> http://buildbot.networkupstools.org/public/nut/builders/Ubuntu-maverick-x86/builds/12/steps/configure/logs/stdio
>
> checking for socklen_t... yes
> ./configure: line 6965: test: =: unary operator expected
>
> strange.
> neither Fred nor myself succeeded in reproducing this on ubuntu  
> systems.
> this vaguely resemble to empty "test" args.


  6955     if test "$ac_cv_header_winsock2_h" = yes; then
  6956       HAVE_WINSOCK2_H=1
  6957     else
  6958       HAVE_WINSOCK2_H=0
  6959     fi
  6960
  6961   fi
  6962
  6963
  6964    NETLIBS=
  6965   if test $HAVE_WINSOCK2_H = 1; then
  6966         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we  
need to call WSAStartup in winsock2.h and -lws2_32" >&5
  6967 $as_echo_n "checking if we need to call WSAStartup in  
winsock2.h and -lws2_32... " >&6; }
  6968 if test "${nut_cv_func_wsastartup+set}" = set; then :
  6969   $as_echo_n "(cached) " >&6
  6970 else
  6971
  6972       nut_save_LIBS="$LIBS"
  6973       LIBS="$LIBS -lws2_32"
  6974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 10.10
Release:	10.10
Codename:	maverick


> the only thing I see in your config.log, around socklen tests, is:
> /usr/lib/gcc/i686-linux-gnu/4.4.5/include/varargs.h:4: error: #error  
> "GCC no longer implements <varargs.h>."
> /usr/lib/gcc/i686-linux-gnu/4.4.5/include/varargs.h:5: error: #error  
> "Revise your code to use <stdarg.h>."
>
> I don't see a direct relation, but this is still to be investigated.
>
> could you also please extract the offending lines from you configure  
> file, so that we can have a look at it?

I saved off the entire configure script if you need it, but it's 110KB  
gzip'd, so I won't post that to the list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20110525/4a102e42/attachment.html>


More information about the Nut-upsdev mailing list