[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Build errors with today's (4-21-08) snapshot



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 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.
>
>