docsis-0.9.5 make error on Red Hat | docsis.org

You are here

docsis-0.9.5 make error on Red Hat

4 posts / 0 new
Last post
cdruml
docsis-0.9.5 make error on Red Hat

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.

husamaga
install flex and you will

install flex and you will fix the problem! "apt-get install flex" on debian

cdruml
Flex is there

Thanks for the tip but flex is already installed.

husamaga
i had the same problem, try

i had the same problem, try to upgrade flex version and gcc ... i just upgrade flex and worked fine...

Log in or register to post comments