Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jun 28, 2017 11:01 pm

All times are UTC - 5 hours

Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Compilation Error with Spine in OpenSUSE 11.2
PostPosted: Tue May 11, 2010 3:32 pm 

Joined: Tue May 11, 2010 2:50 pm
Posts: 1
Development Spine version on OpenSUSE 11.2 32-bits, compiles and runs OK....

svn info informs:
URL: svn://
Repository Root: svn://
Repository UUID: 860744bd-22fc-0310-8c96-e9fe5004b5ca
Revision: 5918
Node Kind: directory
Schedule: normal
Last Changed Author: thewitness
Last Changed Rev: 5871
Last Changed Date: 2010-05-06 07:11:50 -0300 (Thu, 06 May 2010)

Same source, but on OpenSUSE 11.2 64-bits didn't compile. Error is on linkage step:

/bin/sh ./libtool --tag=CC   --mode=link gcc  -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2  -L/usr/lib64 -L/usr/lib64  -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  -lnetsnmp -lmysqlclient_r -lmysqlclient_r -lcrypto -lz -lpthread -lm
libtool: link: gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -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 /usr/lib64/ -lmysqlclient_r -lcrypto -lz -lpthread -lm
poller.o: In function `child':
[b]/root/main/poller.c:59: undefined reference to `poll_host'[/b]
collect2: ld returned 1 exit status
make: *** [spine] Error 1

Executed commands:
- bootstrap
- configure
- make

Other info on 64-bit platform:
# uname -a
Linux Monitor #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux

Any idea on what am I missing?


 Post subject:
PostPosted: Fri May 28, 2010 10:06 am 
Cacti User

Joined: Wed Dec 16, 2009 6:32 am
Posts: 229
unsure what is missing , but spine already built over here

Architecture: x86_64
* cacti-spine-0.8.7e-2.1.src.rpm
* cacti-spine-0.8.7e-2.1.x86_64.rpm

Accept Architecture: i586

* cacti-spine-0.8.7e-2.1.i586.rpm
* cacti-spine-0.8.7e-2.1.src.rpm

Also see
- other built cacti rpms

-> ... .2/noarch/
Listed Content

ATutor-1.6.3-2.2.noarch.rpm 20-Oct-2009 04:35 3.3M
FreeSMS-1.0-9.2.noarch.rpm 19-Oct-2009 23:06 219K
NeoTool-1.2.3-5.1.noarch.rpm 23-May-2010 23:08 22K
cacti-0.8.7f-13.1.noarch.rpm 22-May-2010 14:50 2.0M
cacti-PA-0.8.7f-11.1.noarch.rpm 23-May-2010 13:37 2.0M
cacti-PA-boost-2.4-3.1.noarch.rpm 23-May-2010 13:51 34K
cacti-PA-clog-1.21-2.1.noarch.rpm 23-May-2010 13:54 16K
cacti-PA-cycle-0.7-2.1.noarch.rpm 23-May-2010 13:56 19K
cacti-PA-discovery-0.8.5-3.1.noarch.rpm 23-May-2010 14:04 31K
cacti-PA-docs-0.1-2.1.noarch.rpm 23-May-2010 14:09 251K
cacti-PA-flowview-0.5.2-1.3.noarch.rpm 20-Oct-2009 12:32 28K
cacti-PA-hostinfo-0.2-5.2.noarch.rpm 20-Oct-2009 16:46 11K
cacti-PA-loginmod-1.0-4.2.noarch.rpm 20-Oct-2009 21:24 9.7K
cacti-PA-mactrack-1.1-2.4.noarch.rpm 20-Oct-2009 21:09 75K
cacti-PA-monitor-0.8.2-11.3.noarch.rpm 21-Oct-2009 02:18 130K
cacti-PA-npc-2.0.4-3.1.noarch.rpm 12-Nov-2009 10:36 2.4M
cacti-PA-ntop-0.1-1.2.noarch.rpm 20-Oct-2009 20:08 13K
cacti-PA-realtime-0.32-1.3.noarch.rpm 20-Oct-2009 16:18 36K
cacti-PA-routerconfigs-0.1-1.3.noarch.rpm 20-Oct-2009 12:59 49K
cacti-PA-settings-0.5-10.3.noarch.rpm 20-Oct-2009 23:41 19K
cacti-PA-ssl-0.1-4.2.noarch.rpm 20-Oct-2009 18:19 3.2K
cacti-PA-syslog-0.5.2-13.3.noarch.rpm 21-Oct-2009 02:05 34K
cacti-PA-thold-0.4.1-11.2.noarch.rpm 20-Oct-2009 12:15 68K
cacti-PA-tools-0.3-1.2.noarch.rpm 20-Oct-2009 22:38 12K
cacti-PA-update-0.4-11.3.noarch.rpm 20-Oct-2009 14:51 19K
cacti-PA-weathermap-0.96a-23.3.noarch.rpm 21-Oct-2009 03:25 2.6M
coppermine-1.4.26-1.1.noarch.rpm 14-Feb-2010 15:20 3.1M
siteatschool-2.4.10-35.2.noarch.rpm 19-Oct-2009 23:46 2.5M


 Post subject:
PostPosted: Sat Jun 05, 2010 10:36 am 

Joined: Tue Jun 01, 2010 11:38 pm
Posts: 6
Location: China
thewitness forget to update function caller when change "poll_host" to "poll_device"
--- spine/poller.c 2010-06-05 23:25:05.000000000 +0800
+++ spine_main/poller.c 2010-06-05 23:31:41.000000000 +0800
@@ -56,7 +56,7 @@

SPINE_LOG_DEBUG(("DEBUG: In Poller, About to Start Polling of Device"));

- poll_host(device_id, device_thread, device_data_ids);
+ poll_device(device_id, device_thread, device_data_ids);


Revision Info
URL: svn://
Repository Root: svn://
Revision: 5871
Last Changed Author: thewitness

 Post subject:
PostPosted: Thu Jun 10, 2010 4:33 pm 
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
You are in the wrong repository.


True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group