compilation error on debian 2.2

  • Steffen Pfendtner


    I get an compilation erro on my debian box.
    with: libsnmp4.1-dev, flex version 2.5.4,
    GNU Bison version 1.28

    gcc  -g -Wall -I/opt/ucd-snmp-4.2/include -DYY_NO_UNPUT  -DDEBUG -c -o docsis_snmp.o docsis_snmp.c
    docsis_snmp.c: In function `encode_vbind':
    docsis_snmp.c:85: `DS_LIB_DONT_CHECK_RANGE' undeclared (first use in this function)
    docsis_snmp.c:85: (Each undeclared identifier is reported only once
    docsis_snmp.c:85: for each function it appears in.)
    make: *** [docsis_snmp.o] Error 1

    any suggestions?


    • Cornel Ciocirlan

      Seems like you don't have net-snmp installed. If you install net-snmp from and edit the Makefile to use that net-snmp it should work.

      DS_LIB_DONT_CHECK_RANGE is #define'd in the net-snmp includes; At least in version 4.2 it is.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks