On Mon, Sep 27, 2010 at 10:28 AM, Michael Jäger <michael.jae...@hs-owl.de>wrote:
> gcc -IC:\Net-SNMP\usr\lib -IC:\Net-SNMP\usr\include\net-snmp
> -IC:\Net-SNMP\usr\include -IC:\MinGW\lib -O0 -g3 -Wall -c -fmessage-length=0
> -oMIBExtraction.o ..\MIBExtraction.c
>
> In file included from ..\MIBExtraction.c:8:0:
>
> C:\Net-SNMP\usr\include/net-snmp/net-snmp-config.h:1555:26: error: expected
> '=', ',', ';', 'asm' or '__attribute__' before 'uint32_t'
>
Hello Michael,
When you use MinGW, you should use the Unix net-snmp-config.h header. The
above error message indicates that you are using the MSVC net-snmp-config.h
header. Or, in other words: building and installing Net-SNMP with MSVC first
and then building Net-SNMP extensions with MinGW using the MSVC headers
doesn't work.
Bart.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders