Unable to build spine 0.8.8f

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
cyberdaemon

Unable to build spine 0.8.8f

Post by cyberdaemon »

Hi,

using RedHat 6.7. ./configure finishes without any error but when executing ./make I get this messages:

Code: Select all

mv -f .deps/error.Tpo .deps/error.Po
/bin/sh ./libtool --tag=CC   --mode=link gcc  -I/usr/include/mysql -g -O2  -L/usr/lib64/mysql -lpthread -lm  -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o  -lmysqlclient_r
libtool: link: gcc -I/usr/include/mysql -g -O2 -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o  -L/usr/lib64/mysql -lpthread -lm -lmysqlclient_r
snmp.o: In function `snmp_snprint_value':
/tmp/cacti-spine-0.8.8f/snmp.c:575: undefined reference to `sprint_realloc_by_type'
snmp.o: In function `snmp_get_multi':
/tmp/cacti-spine-0.8.8f/snmp.c:612: undefined reference to `snmp_pdu_create'
/tmp/cacti-spine-0.8.8f/snmp.c:622: undefined reference to `snmp_add_null_var'
/tmp/cacti-spine-0.8.8f/snmp.c:616: undefined reference to `snmp_parse_oid'
/tmp/cacti-spine-0.8.8f/snmp.c:632: undefined reference to `snmp_sess_synch_response'
/tmp/cacti-spine-0.8.8f/snmp.c:678: undefined reference to `snmp_fix_pdu'
/tmp/cacti-spine-0.8.8f/snmp.c:681: undefined reference to `snmp_free_pdu'
/tmp/cacti-spine-0.8.8f/snmp.c:706: undefined reference to `snmp_free_pdu'
snmp.o: In function `snmp_count':
/tmp/cacti-spine-0.8.8f/snmp.c:483: undefined reference to `snmp_parse_oid'
/tmp/cacti-spine-0.8.8f/snmp.c:492: undefined reference to `snmp_pdu_create'
/tmp/cacti-spine-0.8.8f/snmp.c:493: undefined reference to `snmp_add_null_var'
/tmp/cacti-spine-0.8.8f/snmp.c:496: undefined reference to `snmp_sess_synch_response'
/tmp/cacti-spine-0.8.8f/snmp.c:519: undefined reference to `snmp_oid_compare'
/tmp/cacti-spine-0.8.8f/snmp.c:546: undefined reference to `snmp_free_pdu'
snmp.o: In function `snmp_getnext':
/tmp/cacti-spine-0.8.8f/snmp.c:397: undefined reference to `snmp_pdu_create'
/tmp/cacti-spine-0.8.8f/snmp.c:399: undefined reference to `snmp_parse_oid'
/tmp/cacti-spine-0.8.8f/snmp.c:404: undefined reference to `snmp_add_null_var'
/tmp/cacti-spine-0.8.8f/snmp.c:408: undefined reference to `snmp_sess_synch_response'
/tmp/cacti-spine-0.8.8f/snmp.c:437: undefined reference to `snmp_free_pdu'
snmp.o: In function `snmp_get':
/tmp/cacti-spine-0.8.8f/snmp.c:317: undefined reference to `snmp_pdu_create'
/tmp/cacti-spine-0.8.8f/snmp.c:319: undefined reference to `snmp_parse_oid'
/tmp/cacti-spine-0.8.8f/snmp.c:324: undefined reference to `snmp_add_null_var'
/tmp/cacti-spine-0.8.8f/snmp.c:328: undefined reference to `snmp_sess_synch_response'
/tmp/cacti-spine-0.8.8f/snmp.c:352: undefined reference to `snmp_free_pdu'
snmp.o: In function `snmp_host_init':
/tmp/cacti-spine-0.8.8f/snmp.c:123: undefined reference to `snmp_sess_init'
/tmp/cacti-spine-0.8.8f/snmp.c:134: undefined reference to `netsnmp_ds_set_boolean'
/tmp/cacti-spine-0.8.8f/snmp.c:139: undefined reference to `netsnmp_ds_set_boolean'
/tmp/cacti-spine-0.8.8f/snmp.c:143: undefined reference to `netsnmp_ds_set_boolean'
/tmp/cacti-spine-0.8.8f/snmp.c:146: undefined reference to `netsnmp_ds_set_boolean'
/tmp/cacti-spine-0.8.8f/snmp.c:147: undefined reference to `netsnmp_ds_set_boolean'
snmp.o:/tmp/cacti-spine-0.8.8f/snmp.c:148: more undefined references to `netsnmp_ds_set_boolean' follow
snmp.o: In function `snmp_host_init':
/tmp/cacti-spine-0.8.8f/snmp.c:206: undefined reference to `usmHMACSHA1AuthProtocol'
/tmp/cacti-spine-0.8.8f/snmp.c:206: undefined reference to `snmp_duplicate_objid'
/tmp/cacti-spine-0.8.8f/snmp.c:211: undefined reference to `generate_Ku'
/tmp/cacti-spine-0.8.8f/snmp.c:238: undefined reference to `usmAESPrivProtocol'
/tmp/cacti-spine-0.8.8f/snmp.c:238: undefined reference to `snmp_duplicate_objid'
/tmp/cacti-spine-0.8.8f/snmp.c:252: undefined reference to `generate_Ku'
/tmp/cacti-spine-0.8.8f/snmp.c:222: undefined reference to `usmNoPrivProtocol'
/tmp/cacti-spine-0.8.8f/snmp.c:222: undefined reference to `snmp_duplicate_objid'
/tmp/cacti-spine-0.8.8f/snmp.c:265: undefined reference to `snmp_sess_open'
/tmp/cacti-spine-0.8.8f/snmp.c:202: undefined reference to `usmHMACMD5AuthProtocol'
/tmp/cacti-spine-0.8.8f/snmp.c:202: undefined reference to `snmp_duplicate_objid'
/tmp/cacti-spine-0.8.8f/snmp.c:230: undefined reference to `usmDESPrivProtocol'
snmp.o: In function `snmp_spine_init':
/tmp/cacti-spine-0.8.8f/snmp.c:54: undefined reference to `netsnmp_ds_set_boolean'
/tmp/cacti-spine-0.8.8f/snmp.c:59: undefined reference to `netsnmp_ds_set_boolean'
/tmp/cacti-spine-0.8.8f/snmp.c:64: undefined reference to `netsnmp_ds_set_boolean'
/tmp/cacti-spine-0.8.8f/snmp.c:68: undefined reference to `netsnmp_ds_set_boolean'
/tmp/cacti-spine-0.8.8f/snmp.c:71: undefined reference to `netsnmp_ds_set_boolean'
snmp.o:/tmp/cacti-spine-0.8.8f/snmp.c:72: more undefined references to `netsnmp_ds_set_boolean' follow
snmp.o: In function `snmp_host_cleanup':
/tmp/cacti-spine-0.8.8f/snmp.c:284: undefined reference to `snmp_sess_close'
snmp.o: In function `snmp_spine_close':
/tmp/cacti-spine-0.8.8f/snmp.c:100: undefined reference to `snmp_shutdown'
snmp.o: In function `snmp_spine_init':
/tmp/cacti-spine-0.8.8f/snmp.c:89: undefined reference to `init_snmp'
ping.o: In function `ping_snmp':
/tmp/cacti-spine-0.8.8f/ping.c:201: undefined reference to `snmp_api_errstring'
collect2: ld returned 1 exit status
make: *** [spine] Error 1
Any hints how to solve this? Thank you
cyberdaemon

Re: Unable to build spine 0.8.8f

Post by cyberdaemon »

Nevermind, a
1 .make clean
2. configure
3. make
4. make install

did the trick.
sgarwang
Posts: 1
Joined: Fri Jul 01, 2016 12:32 am

Re: Unable to build spine 0.8.8f

Post by sgarwang »

It works on my Centos7 using 0.8.8h. Thanks!

I was frustrated getting these error messages,
after installed net-snmp-devel(.x86_64 1:5.7.2-24.el7_2.1).
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests