Help please,
I am doing wrong?


$ gcc demo1.c -o demo1 -I/c/usr/include/ -lsnmp
In file included from demo1.c:1:
c:/usr/include/net-snmp/net-snmp-config.h:1541: error: syntax error
before "uint32_t"
c:/usr/include/net-snmp/net-snmp-config.h:1541: warning: data definition
has no type or storage class
c:/usr/include/net-snmp/net-snmp-config.h:1543: error: syntax error
before "uint64_t"
c:/usr/include/net-snmp/net-snmp-config.h:1543: warning: data definition
has no type or storage class
c:/usr/include/net-snmp/net-snmp-config.h:1544: error: syntax error
before "int64_t"
c:/usr/include/net-snmp/net-snmp-config.h:1544: warning: data definition
has no type or storage class
In file included from c:/usr/include/net-snmp/definitions.h:22,
from c:/usr/include/net-snmp/net-snmp-includes.h:71,
> --------------------------------------------
> content of the demo1 (simple include to test) :
>
> #include
> #include
> #include
>
>
> #define DEMO_USE_SNMP_VERSION_2
>
> int main(int argc, char ** argv) {
>
>
> return(0);
> }



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users