On Tue, 28 Dec 2004 18:14:15 -0500 Tai wrote: TK> Running into some weird issues during my attempt to compile net-snmp-5.1.2. TK> I'm running a Slackware distro running on 2.4.28 kernel. Ran configure TK> script with personal options. The error occurs during make. [...] TK> TK> snmp_api.c: In function `_init_snmp': TK> TK> snmp_api.c:662: error: dereferencing pointer to incomplete type
Check your net-snmp-config.h file and make sure HAVE_GETSERVBYNAME and HAVE_NETDB_H are both defined. The structure used on that line should be defined in /usr/include/netdb.h. -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ 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/listinfo/net-snmp-users