[collectd] another compilation problems

Sergiusz Pawlowicz sergiusz<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>pawlowicz.name
Mon Apr 16 16:52:23 CEST 2007


On 4/16/07, Florian Forster <octo.trailing-username(a)leading-domain.verplant.org> wrote:
> Hi Sergiusz,
>
> sorry for the delay, I was `offline' over the weekend.

Sure, of course :-)

> On Fri, Apr 13, 2007 at 12:25:24PM +0100, Sergiusz Pawlowicz wrote:
> > gcc -Wall -Werror -g -O2 -o .libs/collectd collectd-collectd.o
> > collectd-utils_avltree.o collectd-utils_mount.o collectd-utils_llist.o
> > collectd-utils_ignorelist.o collectd-common.o collectd-plugin.o
> > collectd-configfile.o .libs/collectdS.o -Wl,--export-dynamic  -lresolv
> > -lpthread /usr/lib/libstatgrab.so ../libltdl/.libs/libltdlc.a -ldl
> > liboconfig/.libs/liboconfig.so -Wl,--rpath
> > -Wl,/opt/collectd-4.0.0-rc4/lib
> > liboconfig/.libs/liboconfig.so: undefined reference to `yywrap'
>
> As far as I know you get this error under Linux if you don't link code
> generated by lex/yacc with `-lfl'. Usually the autotools should take
> care of this. Do you have `flex' and `bison' installed? If not, try
> installing them and doing `./configure && make clean all' again.

Yes, it helps - I did not realise it by myself because previously
collectd compile without these programs...

Thanks!

Sergiusz



More information about the collectd mailing list