On Thu, Jul 1, 2010 at 12:52 AM, Wes Hardaker <
harda...@users.sourceforge.net> wrote:

> >>>>> On Wed, 30 Jun 2010 18:44:20 +0200, Bart Van Assche <
> bvanass...@acm.org> said:
>
> BVA> What are the criteria for a prerelease ? I assume that the source code
> BVA> should at least build ? Currently both the MinGW and the MSVC builds
> are
> BVA> broken, and two Cygwin regression tests fail.
>
> The last message I can see about issues with windows were from you
> saying that at least trunk is fixed for cygwin.  If windows platforms
> are broken for some other reason, can you point me to the thread?  It
> sounds like there is code that needs to be uncommitted?
>

Since the last time I fixed the MSVC and MinGW builds, these builds have
been broken again by the recent changes in the transport implementation.
These changes should not be reverted but the MSVC and MinGW builds should be
fixed instead.

As an example, this is the output I get with MinGW:

$ make -s
[ ... ]
libtool: link: gcc -DNETSNMP_ENABLE_IPV6 -O1 -pipe -fno-strict-aliasing
-Umingw32 -Dmingw32=mingw32 -Wall -Wstrict-prototypes -Wwrite-strings
-Wcast-qual -o .libs/snmpd.exe .libs/snmpd.o
../snmplib/.libs/winservicerc.o  -L/c/net-snmp/trunk-mingw/agent/.libs
-L/c/net-snmp/trunk-mingw/snmplib/.libs -L/c/net-snmp/trunk-mingw/snmplib
-L/c/OpenSSL/lib ./.libs/libnetsnmpagent.a -LD:/Progra~1/GnuWin32/lib
./.libs/libnetsnmpmibs.a
/c/net-snmp/trunk-mingw/agent/.libs/libnetsnmpagent.a
/c/net-snmp/trunk-mingw/snmplib/.libs/libnetsnmp.a
../snmplib/.libs/libnetsnmp.a -leay32 -lws2_32 -liphlpapi
/mingw/lib//libregex.dll.a -lintl -lwsock32 -lole32 -luuid -lmsvcp60
-lsnmpapi
-Lc:/progra~1/Regex/libc:/net-snmp/trunk-mingw/snmplib/.libs/libnetsnmp.a(snmp_transport.o):snmp_transport.c:(.text+0x6df):
undefined reference to `netsnmp_unix_ctor'
collect2: ld returned 1 exit status
make[1]: *** [snmpd.exe] Error 1
make: *** [subdirs] Error 1

$ grep '#define NETSNMP_CONFIGURE_OPTIONS'
include/net-snmp/net-snmp-config.h
#define NETSNMP_CONFIGURE_OPTIONS " '--disable-embedded-perl'
'--enable-ipv6' '--with-openssl=/c/OpenSSL'
'--prefix=/usr/local/net-snmp-trunk-mingw' '--with-cflags=-O1 -pipe
-fno-strict-aliasing' '--with-defaults' '--with-mib-modules=smux winExtDLL
examples examples/example' '--without-perl-modules'"

Bart.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to