Bruce M. Simpson wrote:
> Thomas Anders wrote:
>> I have no experience with MinGW/MSYS builds myself, but can you please
>> try to find out where "-fnative-struct" comes from? Are you building
>> with Perl support? If so, what's the output of "perl -V"?
>>   
> I just tried to build with the defaults. Perl support appears to be 
> the default although I never directly use Perl.
>
> Perl CFLAGS is indeed what is causing -fnative-struct to be introduced 
> to the compiler.
> Using --without-perl-modules appears to work around the error.
>
> Sadly I will probably not have time to test a fresh build unless there 
> is a convenient way of building a SETUP.EXE from a build from source, 
> as I need to easily be able to install it as a service.

Sorry, this compile breaks with:

In file included from mibII/system_mib.c:35:
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:27: 
error:
redefinition of `struct timezone'
make[2]: *** [mibII/system_mib.lo] Error 1
make[2]: Leaving directory `/u/x/net-snmp-5.4.1.pre2/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/u/x/net-snmp-5.4.1.pre2/agent'
make: *** [subdirs] Error 1

I don't have free time to resolve this, sorry! Hope this feedback helps.

Regards,
BMS

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to