Re: Compilation issues of netsnmp lib with MinGW
Abraham Varricatt <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Sukhdeep, I've never tried compiling net-snmp on Windows, but from the wiki, http://www.net-snmp.org/wiki/index.php/Build_System/Windows You can see that there are issues with building on Min-GW. If you ask me, consider using Ubuntu in VirutalBox. That will help you install/compile net-snmp in linux while leaving you in your windows environment. Obviously, you'll need a decent system to run VirtualBox. I just had a look at your Makefile. Did you create it by hand? If so, you should really consider switching back to using the ./config script. There's almost always a way to get it to do what you need. Skipping that, and just customizing the Makefile by hand won't get you much help here - it's just too difficult to debug everyone's individual environments. -Abraham Varricatt On Thu, Sep 9, 2010 at 10:28 AM, Sukhdeep Singh <[email protected]> wrote: > Hi, > > > > I’m trying to compile net-snmp with with Min-GW on windows and > I’m getting following errors: > > > > These functions already defined in their corresponding file then why are > these failing I don’t know. My makefile is attached. Please help me to > resolve these issues. I would be really thankful to you for your kind > support. > > > > snmplib/data_list.o:data_list.c:(.text+0x6d): undefined reference to > `netsnmp_free_list_data' > > snmplib/data_list.o:data_list.c:(.text+0x16f): undefined reference to > `netsnmp_create_data_list' > > snmplib/data_list.o:data_list.c:(.text+0x17f): undefined reference to > `netsnmp_add_list_data' > > snmplib/data_list.o:data_list.c:(.text+0x341): undefined reference to > `netsnmp_get_list_data' > > snmplib/data_list.o:data_list.c:(.text+0x3e3): undefined reference to > `netsnmp_create_data_list' > > snmplib/data_list.o:data_list.c:(.text+0x3f4): undefined reference to > `netsnmp_add_list_data' > > snmplib/oid_stash.o:oid_stash.c:(.text+0x9c): undefined reference to > `netsnmp_oid_stash_create_node' > > snmplib/oid_stash.o:oid_stash.c:(.text+0x1e8): undefined reference to > `netsnmp_oid_stash_create_node' > > snmplib/oid_stash.o:oid_stash.c:(.text+0x24e): undefined reference to > `netsnmp_oid_stash_create_node' > > snmplib/snmp_transport.o:snmp_transport.c:(.text+0x827): undefined reference > to `netsnmp_tcp_ctor' > > snmplib/snmp_transport.o:snmp_transport.c:(.text+0x82c): undefined reference > to `netsnmp_alias_ctor' > > snmplib/snmp_transport.o:snmp_transport.c:(.text+0x831): undefined reference > to `netsnmp_unix_ctor' > > snmplib/check_varbind.o:check_varbind.c:(.text+0x30): undefined reference to > `netsnmp_check_vb_type_and_size' > > snmplib/check_varbind.o:check_varbind.c:(.text+0x55): undefined reference to > `netsnmp_check_vb_int_range' > > snmplib/check_varbind.o:check_varbind.c:(.text+0x7f): undefined reference to > `netsnmp_check_vb_rowstatus_value' > > snmplib/check_varbind.o:check_varbind.c:(.text+0xcd): undefined reference to > `netsnmp_check_vb_rowstatus_value' > > snmplib/check_varbind.o:check_varbind.c:(.text+0x133): undefined reference > to `netsnmp_check_vb_type_and_size' > > snmplib/check_varbind.o:check_varbind.c:(.text+0x15c): undefined reference > to `netsnmp_check_vb_int_range' > > collect2: ld returned 1 exit status > > mingw32-make: *** [netsnmp.lib] Error 1 > > > > Thanks & Regards, > > Sukhdeep Singh > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Net-snmp-users mailing list > [email protected] > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > ------------------------------------------------------------------------------ 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-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users