Im trying install docsis-server-2.0.4 on Fedora Core 3. but y have this problem when I run the make command.
:cry:
[root@localhost docsis-server-2.0.4]# make
make -C docsis_lib
make[1]: Entering directory `/downloads/docsis/docsis-server-2.0.4/docsis_lib'
gcc -g -O2 -fPIC -I. -c -o libdocsis.o libdocsis.c
libdocsis.c:44:38: net-snmp/net-snmp-config.h: No such file or directory
libdocsis.c:45:32: net-snmp/utilities.h: No such file or directory
libdocsis.c:46:33: net-snmp/config_api.h: No such file or directory
libdocsis.c:47:33: net-snmp/output_api.h: No such file or directory
libdocsis.c:48:30: net-snmp/mib_api.h: No such file or directory
libdocsis.c: In function `docsis_initialize':
libdocsis.c:182: error: `NETSNMP_DS_LIBRARY_ID' undeclared (first use in this function)
libdocsis.c:182: error: (Each undeclared identifier is reported only once
libdocsis.c:182: error: for each function it appears in.)
libdocsis.c:182: error: `NETSNMP_DS_LIB_PRINT_NUMERIC_OIDS' undeclared (first use in this function)
libdocsis.c:186: error: `NETSNMP_DS_LIB_PRINT_NUMERIC_ENUM' undeclared (first use in this function)
libdocsis.c:190: error: `NETSNMP_DS_LIB_PRINT_FULL_OID' undeclared (first use in this function)
libdocsis.c:210: error: `NETSNMP_DS_LIB_OID_OUTPUT_FORMAT' undeclared (first use in this function)
libdocsis.c:211: error: `NETSNMP_OID_OUTPUT_SUFFIX' undeclared (first use in this function)
libdocsis.c:213: error: `NETSNMP_DS_LIB_RANDOM_ACCESS' undeclared (first use in this function)
make[1]: *** [libdocsis.o] Error 1
make[1]: Leaving directory `/downloads/docsis/docsis-server-2.0.4/docsis_lib'
make: *** [libdocsis] Error 2
[root@localhost docsis-server-2.0.4]#
Can help my ?
11
Are you familiar with installing RPMs? Make sure you have the following:
#rpm -qa |grep net-snmp
net-snmp - A collection of SNMP protocol tools and libraries.
net-snmp-devel - The development environment for the NET-SNMP project.
net-snmp-libs - The NET-SNMP runtime libraries.
net-snmp-utils - Network management utilities using SNMP, from the NET-SNMP project.
I'd guess that net-snmp-devel or more are not installed, thus the files and headers you need aren't available.
Thank.