docsis-0.9.5 make error on Red Hat

Help
Chris Ruml
2008-10-10
2013-05-28
  • Chris Ruml
    Chris Ruml
    2008-10-10

    I am getting the following error when trying to run the make command for a docsis-0.9.5 install:

    gcc -g -O2 -o docsis docsis.o ethermac.o md5.o docsis_encode.o docsis_decode.o docsis_snmp.o docsis_yy.o docsis_lex.o hmac_md5.o  -L/usr/lib /usr/lib/libnetsnmp.so -lcrypto -lelf -lm -lfl -lresolv
    /usr/lib/libnetsnmp.so: could not read symbols: File in wrong format
    collect2: ld returned 1 exit status
    make[2]: *** [docsis] Error 1
    make[2]: Leaving directory `/home/ens/docsis-0.9.5/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/ens/docsis-0.9.5'
    make: *** [all] Error 2

    The linux version is:
    Linux version 2.6.9-55.ELsmp (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Fri Apr 20 16:36:54 EDT 2007

    Any suggestions?
    Thanks.