docsis-0.9.5 not getting complied on GNU/Linux x86_64 | docsis.org

You are here

docsis-0.9.5 not getting complied on GNU/Linux x86_64

3 posts / 0 new
Last post
Anonymous (not verified)
docsis-0.9.5 not getting complied on GNU/Linux x86_64

I have not been getting lucky in getting this worked out. When I execute
'configure', I get warnings (snmp related) and errors as shown below.
Would appreciate your help.

$./configure
docsis_snmp.c: In function `encode_vbind':
docsis_snmp.c:107: warning: passing arg 7 of `_docsis_snmp_build_var_op'
from incompatible pointer type
docsis_snmp.c:118: warning: passing arg 7 of `_docsis_snmp_build_var_op'
from incompatible pointer type
...<<>>...
docsis_snmp.c: In function `decode_vbind':
docsis_snmp.c:449: warning: passing arg 2 of `asn_parse_int' from
incompatible pointer type
docsis_snmp.c:460: warning: passing arg 2 of `asn_parse_unsigned_int'
from incompatible pointer type
...<<>>...
docsis_snmp.c: In function `encode_snmp_oid':
docsis_snmp.c:635: warning: passing arg 2 of `asn_build_objid' from
incompatible pointer type
docsis_snmp.c: In function `decode_snmp_oid':
docsis_snmp.c:655: warning: passing arg 2 of `asn_parse_objid' from
incompatible pointer type
gcc: -lcrypto: linker input file unused because linking not done
...<<>>...
gcc: -lcrypto: linker input file unused because linking not done
/bin/sh ../libtool --mode=link --tag=CC gcc -g -O2 -o docsis
-L/usr/lib64 -L/usr/lib64 -lnetsnmp -lcrypto -lelf -lm -lfl docsis.o
ethermac.o md5.o docsis_encode.o docsis_decode.o docsis_snmp.o
docsis_yy.o docsis_lex.o hmac_md5.o -lresolv
mkdir .libs
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/lib64 /usr/lib64/libnetsnmp.so -lcrypto -lelf -lm -lfl -lresolv
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libcrypto.so when
searching for -lcrypto
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libcrypto.a when
searching for -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.so when searching
for -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.a when searching
for -lcrypto
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make[2]: *** [docsis] Error 1
make[2]: Leaving directory `/var/www/html/rajiva/tool/docsis-0.9.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/www/html/rajiva/tool/docsis-0.9.5'
make: *** [all] Error 2
$

Cheers,
Rajiv

dpecile
I solved this problem

I solved this problem running the 32 bits version with ialibs32.

Good luck.

Demian

heyya
I also experienced some

I also experienced some problems when installing docsis-0.9.5 via FreeBSD ports. After sending logs to the FreeBSD port's commiter, he was able to solve the problem and release a patch (it was something about docsis app is not working OK on the 64-bit systems).

Anyway, this applications still seems to be used and it would be good to get a maintainer for it.

Hava a nice day.

Log in or register to post comments