Comments (5)
Does this change fix the linking? (Re-run ./autogen to be sure.)
diff --git a/src/Makefile.am b/src/Makefile.am
index e58e9d9..7fadd9d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,7 +5,7 @@ docsis_SOURCES = docsis.c ethermac.c md5.c docsis_encode.c docsis_decode.c docsi
AM_CPPFLAGS = $(all_includes) $(NETSNMP_CFLAGS)
# the library search path.
-docsis_LDFLAGS = $(all_libraries) $(NETSNMP_LIBS) $(LEXLIB) $(LIBM)
+docsis_LDADD = $(all_libraries) $(NETSNMP_LIBS) $(LEXLIB) $(LIBM)
noinst_HEADERS = ethermac.h md5.h docsis.h docsis_common.h docsis_decode.h docsis_encode.h docsis_symtable.h docsis_snmp.h docsis_globals.h
EXTRA_DIST=docsis_yy.h
CLEANFILES=docsis_yy.c docsis_yy.h docsis_yy.output docsis_lex.c
from docsis.
Hi,
yes, that does the trick.
thank you very much!
now I need to go for a static binary, but that's a different story.
full output:
make
make all-recursive
make[1]: Entering directory /mnt/git/docsis' Making all in src make[2]: Entering directory
/mnt/git/docsis/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
gcc: -lcrypto: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
gcc: -lcrypto: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
gcc: -lcrypto: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
gcc: -lcrypto: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
docsis_decode.c: In function ‘decode_snmp_object’:
docsis_decode.c:346: warning: ignoring return value of ‘fwrite’, declared
with attribute warn_unused_result
docsis_decode.c:351: warning: ignoring return value of ‘fwrite’, declared
with attribute warn_unused_result
docsis_decode.c:353: warning: ignoring return value of ‘fwrite’, declared
with attribute warn_unused_result
gcc: -lcrypto: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
gcc: -lcrypto: linker input file unused because linking not done
/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.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
docsis_yy.c:285:6: warning: "YYENABLE_NLS" is not defined
docsis_yy.c:791:6: warning: "YYLTYPE_IS_TRIVIAL" is not defined
gcc: -lcrypto: linker input file unused because linking not done
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.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
docsis_lex.c:8486:5: warning: "YY_STACK_USED" is not defined
docsis_lex.c: In function ‘yylex’:
docsis_lex.l:164: warning: ignoring return value of ‘fwrite’, declared with
attribute warn_unused_result
docsis_lex.c:9642:5: warning: "YY_ALWAYS_INTERACTIVE" is not defined
docsis_lex.c:9645:5: warning: "YY_NEVER_INTERACTIVE" is not defined
docsis_lex.c:9936:5: warning: "YY_MAIN" is not defined
docsis_lex.c: In function ‘yy_fatal_error’:
docsis_lex.c:9840: warning: function might be possible candidate for
attribute ‘noreturn’
gcc: -lcrypto: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
gcc: -lcrypto: linker input file unused because linking not done
gcc -Wall -Waggregate-return -Wbad-function-cast -Wcast-align
-Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
-L/usr/lib64 -lnetsnmp -lcrypto -lm -L/usr/lib64/lib -lwrap -lfl -lresolv
make[2]: Leaving directory /mnt/git/docsis/src' Making all in doc make[2]: Entering directory
/mnt/git/docsis/doc'
/bin/sh -e ./generate-settings.sh
config-settings.html 0.9.9-dev
make[2]: Leaving directory /mnt/git/docsis/doc' Making all in examples make[2]: Entering directory
/mnt/git/docsis/examples'
make[2]: Nothing to be done for all'. make[2]: Leaving directory
/mnt/git/docsis/examples'
Making all in mibs
make[2]: Entering directory /mnt/git/docsis/mibs' make[2]: Nothing to be done for
all'.
make[2]: Leaving directory /mnt/git/docsis/mibs' make[2]: Entering directory
/mnt/git/docsis'
make[2]: Leaving directory /mnt/git/docsis' make[1]: Leaving directory
/mnt/git/docsis'
On Thu, Jun 16, 2016 at 9:20 AM, Richard Laager [email protected]
wrote:
Does this change fix the linking? (Re-run ./autogen to be sure.)
diff --git a/src/Makefile.am b/src/Makefile.am
index e58e9d9..7fadd9d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,7 +5,7 @@ docsis_SOURCES = docsis.c ethermac.c md5.c docsis_encode.c docsis_decode.c docsi
AM_CPPFLAGS =$(all_includes) $ (NETSNMP_CFLAGS)the library search path.
-docsis_LDFLAGS =
$(all_libraries) $ (NETSNMP_LIBS)$(LEXLIB) $ (LIBM)
+docsis_LDADD =$(all_libraries) $ (NETSNMP_LIBS)$(LEXLIB) $ (LIBM)
noinst_HEADERS = ethermac.h md5.h docsis.h docsis_common.h docsis_decode.h docsis_encode.h docsis_symtable.h docsis_snmp.h docsis_globals.h
EXTRA_DIST=docsis_yy.h
CLEANFILES=docsis_yy.c docsis_yy.h docsis_yy.output docsis_lex.c—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#45 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/ABP_BVCYCyWeRbr9CG14sPmHEvrn6CQJks5qMPlZgaJpZM4I27ke
.
from docsis.
I pushed that change. Also, I pushed a change to eliminate the OpenSSL dependency. If possible, could you please test that? Basically, can you still build with openssl-devel removed?
from docsis.
Hi,
sorry, the latest current codebasis doesn't seem to work without
openssl-devel ;-(
workflow: yum remove openssl-devel, purged local git dir, git clone,
./autogen, ./configure , make
regards,
nean
below, the full output:
make
cd . && /bin/sh /mnt/git/docsis/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory /mnt/git/docsis' Making all in src make[2]: Entering directory
/mnt/git/docsis/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
gcc: -lcrypto: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
gcc: -lcrypto: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
gcc: -lcrypto: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
gcc: -lcrypto: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
docsis_decode.c: In function ‘decode_snmp_object’:
docsis_decode.c:346: warning: ignoring return value of ‘fwrite’, declared
with attribute warn_unused_result
docsis_decode.c:351: warning: ignoring return value of ‘fwrite’, declared
with attribute warn_unused_result
docsis_decode.c:353: warning: ignoring return value of ‘fwrite’, declared
with attribute warn_unused_result
gcc: -lcrypto: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
gcc: -lcrypto: linker input file unused because linking not done
/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.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
docsis_yy.c:285:6: warning: "YYENABLE_NLS" is not defined
docsis_yy.c:791:6: warning: "YYLTYPE_IS_TRIVIAL" is not defined
gcc: -lcrypto: linker input file unused because linking not done
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.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
docsis_lex.c:8486:5: warning: "YY_STACK_USED" is not defined
docsis_lex.c: In function ‘yylex’:
docsis_lex.l:164: warning: ignoring return value of ‘fwrite’, declared with
attribute warn_unused_result
docsis_lex.c:9642:5: warning: "YY_ALWAYS_INTERACTIVE" is not defined
docsis_lex.c:9645:5: warning: "YY_NEVER_INTERACTIVE" is not defined
docsis_lex.c:9936:5: warning: "YY_MAIN" is not defined
docsis_lex.c: In function ‘yy_fatal_error’:
docsis_lex.c:9840: warning: function might be possible candidate for
attribute ‘noreturn’
gcc: -lcrypto: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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
gcc: -lcrypto: linker input file unused because linking not done
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp -Wall -Waggregate-return -Wbad-function-cast
-Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -g -O2
-MT sha1.o -MD -MP -MF ".deps/sha1.Tpo" -c -o sha1.o sha1.c;
then mv -f ".deps/sha1.Tpo" ".deps/sha1.Po"; else rm -f ".deps/sha1.Tpo";
exit 1; fi
gcc: -lcrypto: linker input file unused because linking not done
gcc -Wall -Waggregate-return -Wbad-function-cast -Wcast-align
-Wdeclaration-after-statement -Wendif-labels
-Werror-implicit-function-declaration -Wextra -Wno-unused-parameter
-Wfloat-equal -Wformat-security -Winit-self -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -g -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 sha1.o -L/usr/lib64
-L/usr/lib64 -lnetsnmp -lcrypto -lm -L/usr/lib64/lib -lwrap -lfl -lresolv
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make[2]: *** [docsis] Error 1
make[2]: Leaving directory /mnt/git/docsis/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/mnt/git/docsis'
make: *** [all] Error 2
On Thu, Jun 16, 2016 at 8:35 PM, Richard Laager [email protected]
wrote:
I pushed that change. Also, I pushed a change to eliminate the OpenSSL
dependency. If possible, could you please test that? Basically, can you
still build with openssl-devel removed?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#45 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/ABP_BSeM5vM-oVf-qWJFou53BDcdupiMks5qMZdbgaJpZM4I27ke
.
from docsis.
Right, so that's happening because net-snmp depends on openssl, but apparently net-snmp-devel does not depend on openssl-devel. Thanks for testing.
from docsis.
Related Issues (20)
- TLV81 encoding issue. DOCSIS 3.1 SSD HOT 3
- Arris MTA configfile error HOT 7
- Backslash issue HOT 3
- Fail to encode IPv6 address HOT 1
- comment-in-comment not supportedFirst TLV is MtaConfigDelimiter, forcing PacketCable MTA file
- Encode file for negative value HOT 5
- Add certificate chain file import to TLV 81 and 82 in bootfile encoding
- PacketCable 2.0 dialplan OID (CL-PKTC-EUE-RST-MIB::pktcEUERSTDMValue) HOT 8
- BitString can be decoded but not encoded HOT 4
- Cannot run tests from clean clone HOT 3
- FrameLossMeasurementTransmissionPeriodicity incorrect data type HOT 1
- PKTC Config Hash HOT 24
- ip address length mismatch when decoding GenericTLV
- New TLV: 84 Diplexer Band Edge HOT 6
- Segfault when input is incorrect
- When encoding with empty MIC Key, PacketACE Refuses the file. HOT 4
- Issue in decoding configuration file
- clang: error: unknown argument HOT 7
- Installation to debian_10 HOT 2
- MIBs dynamically read or static? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docsis.