lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Compiling NetMrg

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
gfreitas
Initiate


Joined: 28 Jun 2004
Posts: 1
Location: Brasil

PostPosted: Mon Jun 28, 2004 8:56 pm    Post subject: Compiling NetMrg Reply with quote

When i compile de NetMrg on Mandrake a get the follow errors.

snmp.cpp: In function `void snmp_init()':
snmp.cpp:48: error: `NETSNMP_DS_LIBRARY_ID' undeclared (first use this function)
snmp.cpp:48: error: (Each undeclared identifier is reported only once for each function it appears in.)
snmp.cpp:48: error: `NETSNMP_DS_LIB_OID_OUTPUT_FORMAT' undeclared (first use this function)
snmp.cpp:48: error: `NETSNMP_OID_OUTPUT_NUMERIC' undeclared (first use this function)
snmp.cpp:48: error: `netsnmp_ds_set_int' undeclared (first use this function)
snmp.cpp:49: error: `NETSNMP_DS_LIB_PRINT_NUMERIC_ENUM' undeclared (first use this function)
snmp.cpp:49: error: `netsnmp_ds_set_boolean' undeclared (first use this function)
make[1]: ** [snmp.o] Erro 1
make[1]: Leaving directory `/home/sysop/snmp/netmrg-0.16/src'
make: ** [all-recursive] Erro 1


Can someone help me?
Back to top
keb
Contributor


Joined: 09 Jul 2003
Posts: 44
Location: Camp Hill, PA, USA

PostPosted: Tue Jun 29, 2004 2:42 am    Post subject: Reply with quote

Which version of Mandrake and NetMRG are you using? I'll assume MDK 10.0 and NetMRG 0.16.

The header file net-snmp/library/default_store.h header file defines most of the variables listed in the errors you included. This file is usually included in net-snmp-devel on RedHat/Fedora and is included with libnet-snmp5-devel on Mandrake 10.0.

If that package is installed and NetMRG still isn't building correctly, try to locate where the default_store.h file is on your system.

- Kevin
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group