Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

make error Suse10.1

Help
mordur
2007-08-30
2013-05-28
  • mordur
    mordur
    2007-08-30

    I tried to install docsis 0.9.5 and got this error:
    make  all-recursive
    make[1]: Entering directory `/Archive/docsis/docsis-0.9.5'
    Making all in src
    make[2]: Entering directory `/Archive/docsis/docsis-0.9.5/src'
    if gcc -DHAVE_CONFIG_H -I. -I. -I..  -DINET6 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -g -fno-strict-aliasing -fstack-protector-all -Dlinux -I/usr/include/rpm -I. -I/usr/include    -g -O2 -MT docsis.o -MD -MP -MF ".deps/docsis.Tpo" -c -o docsis.o docsis.c; \ then mv -f ".deps/docsis.Tpo" ".deps/docsis.Po"; else rm -f ".deps/docsis.Tpo"; exit 1; fi
    docsis.c:34:38: error: net-snmp/net-snmp-config.h: No such file or directory
    docsis.c:35:33: error: net-snmp/config_api.h: No such file or directory
    docsis.c:36:33: error: net-snmp/output_api.h: No such file or directory
    docsis.c:37:30: error: net-snmp/mib_api.h: No such file or directory
    docsis.c: In function âmainâ:
    docsis.c:297: warning: implicit declaration of function âshutdown_mibâ
    docsis.c: In function âencode_one_fileâ:
    docsis.c:358: warning: ignoring return value of âfwriteâ, declared with attribute warn_unused_result
    docsis.c: In function âsetup_mib_flagsâ:
    docsis.c:411: warning: implicit declaration of function âinit_mibâ
    docsis.c:413: warning: implicit declaration of function ânetsnmp_ds_get_booleanâ
    docsis.c:413: error: âNETSNMP_DS_LIBRARY_IDâ undeclared (first use in this function)
    docsis.c:413: error: (Each undeclared identifier is reported only once
    docsis.c:413: error: for each function it appears in.)
    docsis.c:413: error: âNETSNMP_DS_LIB_PRINT_NUMERIC_OIDSâ undeclared (first use in this function)
    docsis.c:415: warning: implicit declaration of function ânetsnmp_ds_toggle_booleanâ
    docsis.c:419: error: âNETSNMP_DS_LIB_PRINT_NUMERIC_ENUMâ undeclared (first use in this function)
    docsis.c:425: error: âNETSNMP_DS_LIB_PRINT_FULL_OIDâ undeclared (first use in this function)
    docsis.c:431: error: âNETSNMP_DS_LIB_DONT_PRINT_UNITSâ undeclared (first use in this function)
    docsis.c:437: error: âNETSNMP_DS_LIB_RANDOM_ACCESSâ undeclared (first use in this function)
    docsis.c:443: error: âNETSNMP_DS_LIB_NUMERIC_TIMETICKSâ undeclared (first use in this function)
    make[2]: *** [docsis.o] Error 1
    make[2]: Leaving directory `/Archive/docsis/docsis-0.9.5/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/Archive/docsis/docsis-0.9.5'
    make: *** [all] Error 2

    net-snmp is installed via Yast in version 5.3.0.1

    any suggestions?

     
  • Richard Laager
    Richard Laager
    2010-05-26

    You need to install the development headers for net-snmp.