Re: undefined reference to `Trie::find(char const*, unsigned int)'

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 03 Mar 2011 15:38:35 +1300

 Diverting to squid-dev, since this is a beta code build problem.

 On Wed, 02 Mar 2011 15:58:19 +0300, Владимир wrote:
> libtool: link: i486-slackware-linux-g++ -Wall -Wpointer-arith
> -Wwrite-strings -Wcomments -pipe -D_REENTRANT -Os -march=i486
> -mtune=i686 .libs/squidS.o -g -o squid AclRegs.o AuthReg.o
 <snip>
> DiskIO/DiskThreads/DiskThreadsDiskIOModule.o -Wl,--enable-new-dtags
> -Wl,-rpath -Wl,/usr/kerberos/lib -Wl,--enable-new-dtags -Wl,-rpath
> -Wl,/usr/kerberos/lib -Wl,--export-dynamic auth/.libs/libacls.a
 <snip>
> esi/.libs/libesi.a ../lib/libTrie/src/libTrie.a /usr/lib/libxml2.so

 <snip>

> esi/.libs/libesi.a(VarState.o): In function `ESIVarState::GetVar(char
> const*, int)':
> VarState.cc:(.text+0x4a0): undefined reference to `Trie::find(char
> const*, unsigned int)'
> esi/.libs/libesi.a(VarState.o): In function
> `ESIVarState::removeVariable(String const&)':
> VarState.cc:(.text+0x112a): undefined reference to `Trie::find(char
> const*, unsigned int)'
> esi/.libs/libesi.a(CustomParser.o): In function
> `ESICustomParser::findTag(char const*, unsigned int)':
> CustomParser.cc:(.text+0x599): undefined reference to
> `Trie::findPrefix(char const*, unsigned int)'

 So all the libTrie inline functions are missing.

 What are your ./configure build options?

 I suspect you have --disable-inline but libTrie is not locating it.
 Please confirm.

 Amos
Received on Thu Mar 03 2011 - 02:38:41 MST

This archive was generated by hypermail 2.2.0 : Thu Mar 03 2011 - 12:00:05 MST