Build errors with today's (4-21-08) snapshot
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DLINUX -I.
-I/usr/local/src/hobbit-sources/hobbit-snap-4.21.2008/include
-I/usr/local/include -c -o client_config.o client_config.c
gcc -o hobbitd_rrd -Wl,--rpath,/usr/lib -Wl,--rpath,/usr/local/lib
-Wl,--rpath,/usr/local/rrdtool-1.2.26/lib -Wl,--rpath,/var/hobbit/server/bin
hobbitd_rrd.o hobbitd_worker.o hobbitd_buffer.o do_rrd.o
client_config.o ../lib/libhobbit.a -L/usr/local/rrdtool-1.2.26/lib -lrrd
-L/usr/local/lib -lpng -L/usr/local/lib -lpcre -L/usr/lib -lz
/usr/local/rrdtool-1.2.26/lib/librrd.so: undefined reference to art_free' /usr/local/rrdtool-1.2.26/lib/librrd.so: undefined reference to art_alloc'
collect2: ld returned 1 exit status
make[1]: *** [hobbitd_rrd] Error 1
make[1]: Leaving directory
`/usr/local/src/hobbit-sources/hobbit-snap-4.21.2008/hobbitd'
make: *** [hobbitd-build] Error 2
I have two version of rrdtool installed: 1.2.26 and 1.2.23. The release version of 4.2.0 appears to compile fine with 1.2.26, and it's just the latest snapshot that is having problems.
On Mon, Apr 21, 2008 at 11:49:05AM -0400, Gary Baluha wrote:
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/usr/local/src/hobbit-sources/hobbit-snap-4.21.2008/include -I/usr/local/include -c -o client_config.o client_config.c gcc -o hobbitd_rrd -Wl,--rpath,/usr/lib -Wl,--rpath,/usr/local/lib -Wl,--rpath,/usr/local/rrdtool-1.2.26/lib -Wl,--rpath,/var/hobbit/server/bin hobbitd_rrd.o hobbitd_worker.o hobbitd_buffer.o do_rrd.o client_config.o ../lib/libhobbit.a -L/usr/local/rrdtool-1.2.26/lib -lrrd -L/usr/local/lib -lpng -L/usr/local/lib -lpcre -L/usr/lib -lz /usr/local/rrdtool-1.2.26/lib/librrd.so: undefined reference to
art_free' /usr/local/rrdtool-1.2.26/lib/librrd.so: undefined reference toart_alloc'
This looks like a missing library for linking Hobbit with rrdtool. "art_free" is from the libart library, which Hobbit does not use - except implicitly via rrdtool.
Henrik
On Mon, Apr 21, 2008 at 4:48 PM, Henrik Stoerner <henrik at hswn.dk> wrote:
On Mon, Apr 21, 2008 at 11:49:05AM -0400, Gary Baluha wrote:
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/usr/local/src/hobbit-sources/hobbit-snap-4.21.2008/include -I/usr/local/include -c -o client_config.o client_config.c gcc -o hobbitd_rrd -Wl,--rpath,/usr/lib -Wl,--rpath,/usr/local/lib -Wl,--rpath,/usr/local/rrdtool-1.2.26/lib -Wl,--rpath,/var/hobbit/server/bin hobbitd_rrd.o hobbitd_worker.o hobbitd_buffer.o do_rrd.o client_config.o ../lib/libhobbit.a -L/usr/local/rrdtool-1.2.26/lib -lrrd -L/usr/local/lib -lpng -L/usr/local/lib -lpcre -L/usr/lib -lz /usr/local/rrdtool-1.2.26/lib/librrd.so: undefined reference to
art_free' /usr/local/rrdtool-1.2.26/lib/librrd.so: undefined reference toart_alloc'This looks like a missing library for linking Hobbit with rrdtool. "art_free" is from the libart library, which Hobbit does not use - except implicitly via rrdtool.
Strange that 4.2.0 release compiled fine. I'll dig deeper to see if I'm missing a path somewhere. Thanks.
Still having the same problem. Wonder if it's some sort of version mixup...
libart_lgpl-2.3.19 rrdtool-1.2.27 Hobbit snapshot, 4-22-2008
I recompiled libart, rrdtool, and hobbit from source (make distclean, run configure, make && make install), and still the same problem compiling the snapshot. The thing that confuses me, is that if I do the same with the hobbit 4.2.0 release, it compiles fine.
On Mon, Apr 21, 2008 at 5:03 PM, Gary Baluha <gumby3203 at gmail.com> wrote:
On Mon, Apr 21, 2008 at 4:48 PM, Henrik Stoerner <henrik at hswn.dk> wrote:
On Mon, Apr 21, 2008 at 11:49:05AM -0400, Gary Baluha wrote:
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/usr/local/src/hobbit-sources/hobbit-snap-4.21.2008/include -I/usr/local/include -c -o client_config.o client_config.c gcc -o hobbitd_rrd -Wl,--rpath,/usr/lib -Wl,--rpath,/usr/local/lib -Wl,--rpath,/usr/local/rrdtool-1.2.26/lib -Wl,--rpath,/var/hobbit/server/bin hobbitd_rrd.o hobbitd_worker.o hobbitd_buffer.o do_rrd.o client_config.o ../lib/libhobbit.a -L/usr/local/rrdtool-1.2.26/lib -lrrd -L/usr/local/lib -lpng -L/usr/local/lib -lpcre -L/usr/lib -lz /usr/local/rrdtool-1.2.26/lib/librrd.so: undefined reference to
art_free' /usr/local/rrdtool-1.2.26/lib/librrd.so: undefined reference toart_alloc'This looks like a missing library for linking Hobbit with rrdtool. "art_free" is from the libart library, which Hobbit does not use - except implicitly via rrdtool.
Strange that 4.2.0 release compiled fine. I'll dig deeper to see if I'm missing a path somewhere. Thanks.
Is there any changes since 14th of April 2008?
-- Regards Lars Ebeling
http://leopg9.no-ip.org Hobbithobbyist
"I am not young enough to know everything." -- Oscar Wilde
What was on the 14th?
On Tue, Apr 22, 2008 at 3:00 AM, Lars Ebeling <lars.ebeling at leopg9.no-ip.org> wrote:
Is there any changes since 14th of April 2008?
-- Regards Lars Ebeling
http://leopg9.no-ip.org Hobbithobbyist
"I am not young enough to know everything." -- Oscar Wilde
hobbitgraph.cfg do_iostat.c solaris.c had new versions. ----- Original Message ----- From: Gary Baluha To: hobbit at hswn.dk Sent: Tuesday, April 22, 2008 5:39 PM Subject: Re: [hobbit] Build errors with today's (4-21-08) snapshot
What was on the 14th?
On Tue, Apr 22, 2008 at 3:00 AM, Lars Ebeling <lars.ebeling at leopg9.no-ip.org> wrote:
Is there any changes since 14th of April 2008?
--
Regards
Lars Ebeling
http://leopg9.no-ip.org
Hobbithobbyist
"I am not young enough to know everything."
-- Oscar Wilde
I am running the snapshot from 14th of April, I don't think there are any changes since then. ----- Original Message ----- From: Gary Baluha To: hobbit at hswn.dk Sent: Tuesday, April 22, 2008 5:39 PM Subject: Re: [hobbit] Build errors with today's (4-21-08) snapshot
What was on the 14th?
On Tue, Apr 22, 2008 at 3:00 AM, Lars Ebeling <lars.ebeling at leopg9.no-ip.org> wrote:
Is there any changes since 14th of April 2008?
--
Regards
Lars Ebeling
http://leopg9.no-ip.org
Hobbithobbyist
"I am not young enough to know everything."
-- Oscar Wilde
What versions of libart_lgpl and rrdtool are you using with the snapshot?
On Tue, Apr 22, 2008 at 12:22 PM, Lars Ebeling < lars.ebeling at leopg9.no-ip.org> wrote:
I am running the snapshot from 14th of April, I don't think there are any changes since then.
----- Original Message ----- *From:* Gary Baluha <gumby3203 at gmail.com> *To:* hobbit at hswn.dk *Sent:* Tuesday, April 22, 2008 5:39 PM *Subject:* Re: [hobbit] Build errors with today's (4-21-08) snapshot
What was on the 14th?
On Tue, Apr 22, 2008 at 3:00 AM, Lars Ebeling < lars.ebeling at leopg9.no-ip.org> wrote:
Is there any changes since 14th of April 2008?
-- Regards Lars Ebeling
http://leopg9.no-ip.org Hobbithobbyist
"I am not young enough to know everything." -- Oscar Wilde
Seems it's a problem with the version of libart_lgpl I was running. Hobbit doesn't like rrdtool-1.2.27 (or probably any version, for that matter) compiled with libart_lgpl-2.3.19. I installed libart_lgpl-2.3.16-3 (at least, that's the version number for the rpm for RedHat AS4 up6) and recompiled rrdtool and hobbit, and it's working now.
So, libart_lgpl-2.3.19 bad.
On Tue, Apr 22, 2008 at 1:51 PM, Gary Baluha <gumby3203 at gmail.com> wrote:
What versions of libart_lgpl and rrdtool are you using with the snapshot?
On Tue, Apr 22, 2008 at 12:22 PM, Lars Ebeling < lars.ebeling at leopg9.no-ip.org> wrote:
I am running the snapshot from 14th of April, I don't think there are any changes since then.
----- Original Message ----- *From:* Gary Baluha <gumby3203 at gmail.com> *To:* hobbit at hswn.dk *Sent:* Tuesday, April 22, 2008 5:39 PM *Subject:* Re: [hobbit] Build errors with today's (4-21-08) snapshot
What was on the 14th?
On Tue, Apr 22, 2008 at 3:00 AM, Lars Ebeling < lars.ebeling at leopg9.no-ip.org> wrote:
Is there any changes since 14th of April 2008?
-- Regards Lars Ebeling
http://leopg9.no-ip.org Hobbithobbyist
"I am not young enough to know everything." -- Oscar Wilde
participants (3)
-
gumby3203@gmail.com
-
henrik@hswn.dk
-
lars.ebeling@leopg9.no-ip.org