root@lanjaron:~/docsis-0.9.5# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... x86_64-unknown-linux checking host system type... x86_64-unknown-linux checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for inet_aton in -lresolv... yes checking for gm4... no checking for gnum4... no checking for m4... /usr/local/bin/m4 found GNU m4 1.4.1 at /usr/local/bin/m4 checking for bison... /usr/bin/bison found bison version 2003000, using /usr/bin/bison -t -d -y checking for net-snmp-config... /usr/local/bin/net-snmp-config found net-snmp version 5004001 checking for Cygwin... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating examples/Makefile config.status: creating mibs/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands root@lanjaron:~/docsis-0.9.5# make make all-recursive make[1]: Entering directory `/root/docsis-0.9.5' Making all in src make[2]: Entering directory `/root/docsis-0.9.5/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -I. -I/usr/local/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 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -I. -I/usr/local/include -g -O2 -MT ethermac.o -MD -MP -MF ".deps/ethermac.Tpo" -c -o ethermac.o ethermac.c; \ then mv -f ".deps/ethermac.Tpo" ".deps/ethermac.Po"; else rm -f ".deps/ethermac.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -I. -I/usr/local/include -g -O2 -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o md5.c; \ then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -I. -I/usr/local/include -g -O2 -MT docsis_encode.o -MD -MP -MF ".deps/docsis_encode.Tpo" -c -o docsis_encode.o docsis_encode.c; \ then mv -f ".deps/docsis_encode.Tpo" ".deps/docsis_encode.Po"; else rm -f ".deps/docsis_encode.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -I. -I/usr/local/include -g -O2 -MT docsis_decode.o -MD -MP -MF ".deps/docsis_decode.Tpo" -c -o docsis_decode.o docsis_decode.c; \ then mv -f ".deps/docsis_decode.Tpo" ".deps/docsis_decode.Po"; else rm -f ".deps/docsis_decode.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -I. -I/usr/local/include -g -O2 -MT docsis_snmp.o -MD -MP -MF ".deps/docsis_snmp.Tpo" -c -o docsis_snmp.o docsis_snmp.c; \ then mv -f ".deps/docsis_snmp.Tpo" ".deps/docsis_snmp.Po"; else rm -f ".deps/docsis_snmp.Tpo"; exit 1; fi docsis_snmp.c: In function âencode_vbindâ: docsis_snmp.c:107: warning: passing argument 7 of â_docsis_snmp_build_var_opâ from incompatible pointer type docsis_snmp.c:118: warning: passing argument 7 of â_docsis_snmp_build_var_opâ from incompatible pointer type docsis_snmp.c:129: warning: passing argument 7 of â_docsis_snmp_build_var_opâ from incompatible pointer type docsis_snmp.c:140: warning: passing argument 7 of â_docsis_snmp_build_var_opâ from incompatible pointer type docsis_snmp.c:151: warning: passing argument 7 of â_docsis_snmp_build_var_opâ from incompatible pointer type docsis_snmp.c:213: warning: passing argument 7 of â_docsis_snmp_build_var_opâ from incompatible pointer type docsis_snmp.c:220: warning: passing argument 7 of âsnmp_build_var_opâ from incompatible pointer type docsis_snmp.c:239: warning: passing argument 7 of â_docsis_snmp_build_var_opâ from incompatible pointer type docsis_snmp.c:259: warning: passing argument 7 of â_docsis_snmp_build_var_opâ from incompatible pointer type docsis_snmp.c: In function âdecode_vbindâ: docsis_snmp.c:449: warning: passing argument 2 of âasn_parse_intâ from incompatible pointer type docsis_snmp.c:460: warning: passing argument 2 of âasn_parse_unsigned_intâ from incompatible pointer type docsis_snmp.c:473: warning: passing argument 2 of âasn_parse_unsigned_int64â from incompatible pointer type docsis_snmp.c:480: warning: passing argument 2 of âasn_parse_floatâ from incompatible pointer type docsis_snmp.c:486: warning: passing argument 2 of âasn_parse_doubleâ from incompatible pointer type docsis_snmp.c:493: warning: passing argument 2 of âasn_parse_signed_int64â from incompatible pointer type docsis_snmp.c:511: warning: passing argument 2 of âasn_parse_stringâ from incompatible pointer type docsis_snmp.c:515: warning: passing argument 2 of âasn_parse_objidâ from incompatible pointer type docsis_snmp.c:528: warning: passing argument 2 of âasn_parse_bitstringâ from incompatible pointer type docsis_snmp.c: In function âencode_snmp_oidâ: docsis_snmp.c:635: warning: passing argument 2 of âasn_build_objidâ from incompatible pointer type docsis_snmp.c: In function âdecode_snmp_oidâ: docsis_snmp.c:655: warning: passing argument 2 of âasn_parse_objidâ from incompatible pointer type /usr/bin/bison -t -d -y docsis_yy.y if test -f y.tab.h; then \ to=`echo "docsis_yy_H" | sed \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \ sed -e "/^#/!b" -e "s/Y_TAB_H/$to/g" -e "s|y\.tab\.h|docsis_yy.h|" \ y.tab.h >docsis_yy.ht; \ rm -f y.tab.h; \ if cmp -s docsis_yy.ht docsis_yy.h; then \ rm -f docsis_yy.ht ;\ else \ mv docsis_yy.ht docsis_yy.h; \ fi; \ fi if test -f y.output; then \ mv y.output docsis_yy.output; \ fi sed '/^#/ s|y\.tab\.c|docsis_yy.c|' y.tab.c >docsis_yy.ct && mv docsis_yy.ct docsis_yy.c rm -f y.tab.c if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -I. -I/usr/local/include -g -O2 -MT docsis_yy.o -MD -MP -MF ".deps/docsis_yy.Tpo" -c -o docsis_yy.o docsis_yy.c; \ then mv -f ".deps/docsis_yy.Tpo" ".deps/docsis_yy.Po"; else rm -f ".deps/docsis_yy.Tpo"; exit 1; fi flex docsis_lex.l sed '/^#/ s|lex.yy\.c|docsis_lex.c|' lex.yy.c >docsis_lex.c rm -f lex.yy.c if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -I. -I/usr/local/include -g -O2 -MT docsis_lex.o -MD -MP -MF ".deps/docsis_lex.Tpo" -c -o docsis_lex.o docsis_lex.c; \ then mv -f ".deps/docsis_lex.Tpo" ".deps/docsis_lex.Po"; else rm -f ".deps/docsis_lex.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -I. -I/usr/local/include -g -O2 -MT hmac_md5.o -MD -MP -MF ".deps/hmac_md5.Tpo" -c -o hmac_md5.o hmac_md5.c; \ then mv -f ".deps/hmac_md5.Tpo" ".deps/hmac_md5.Po"; else rm -f ".deps/hmac_md5.Tpo"; exit 1; fi /bin/bash ../libtool --mode=link --tag=CC gcc -g -O2 -o docsis -L/usr/local/lib -lnetsnmp -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/local/lib /usr/local/lib/libnetsnmp.so -lfl -lresolv -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib docsis.o: In function `add_eod_and_pad': /root/docsis-0.9.5/src/docsis.c:77: undefined reference to `floor' docsis_encode.o: In function `encode_hexstr': /root/docsis-0.9.5/src/docsis_encode.c:337: undefined reference to `floor' collect2: ld returned 1 exit status make[2]: *** [docsis] Error 1 make[2]: Leaving directory `/root/docsis-0.9.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/docsis-0.9.5' make: *** [all] Error 2