Xymon Mailing List Archive search

Build errors with today's (4-21-08) snapshot

10 messages in this thread

list Gary Baluha · Mon, 21 Apr 2008 11:49:05 -0400 ·
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.
list Henrik Størner · Mon, 21 Apr 2008 22:48:19 +0200 ·
quoted from Gary Baluha
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 to `art_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
list Gary Baluha · Mon, 21 Apr 2008 17:03:45 -0400 ·
quoted from Henrik Størner
On Mon, Apr 21, 2008 at 4:48 PM, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> 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 to
`art_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.
list Lars Ebeling · Tue, 22 Apr 2008 09:00:20 +0200 ·
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
list Gary Baluha · Tue, 22 Apr 2008 11:39:25 -0400 ·
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.
quoted from Gary Baluha

On Mon, Apr 21, 2008 at 5:03 PM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:
On Mon, Apr 21, 2008 at 4:48 PM, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> 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 to
`art_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.

list Gary Baluha · Tue, 22 Apr 2008 11:39:42 -0400 ·
What was on the 14th?

On Tue, Apr 22, 2008 at 3:00 AM, Lars Ebeling <user-1fecd3eafd52@xymon.invalid>
quoted from Lars Ebeling
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

list Lars Ebeling · Tue, 22 Apr 2008 18:18:07 +0200 ·
hobbitgraph.cfg  do_iostat.c solaris.c had new versions.
quoted from Gary Baluha
  ----- Original Message ----- 
  From: Gary Baluha 
  To: user-ae9b8668bcde@xymon.invalid 
  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 <user-1fecd3eafd52@xymon.invalid> 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
list Lars Ebeling · Tue, 22 Apr 2008 18:22:48 +0200 ·
I am running the snapshot from 14th of April, I don't think there are any changes since then.
quoted from Gary Baluha
  ----- Original Message ----- 
  From: Gary Baluha 
  To: user-ae9b8668bcde@xymon.invalid 
  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 <user-1fecd3eafd52@xymon.invalid> 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
list Gary Baluha · Tue, 22 Apr 2008 13:51:39 -0400 ·
What versions of libart_lgpl and rrdtool are you using with the snapshot?

On Tue, Apr 22, 2008 at 12:22 PM, Lars Ebeling <
quoted from Lars Ebeling
user-1fecd3eafd52@xymon.invalid> 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 <user-ae3e15c22de1@xymon.invalid>
quoted from Lars Ebeling
*To:* user-ae9b8668bcde@xymon.invalid
*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 <
user-1fecd3eafd52@xymon.invalid> 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

list Gary Baluha · Tue, 22 Apr 2008 14:36:35 -0400 ·
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.
quoted from Gary Baluha

On Tue, Apr 22, 2008 at 1:51 PM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> 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 <
user-1fecd3eafd52@xymon.invalid> 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 <user-ae3e15c22de1@xymon.invalid>
*To:* user-ae9b8668bcde@xymon.invalid
*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 <
user-1fecd3eafd52@xymon.invalid> 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