Greetings all,

On Sun, 21 Sep 2003 05:04, Ted Stresen-Reuter wrote:
> and here's the output from "nm */.libs/*.a | grep WordType8instance"
>
>           U __ZN8WordType8instanceE
>           U __ZN8WordType8instanceE
> 00000b60 s __GLOBAL__D__ZN8WordType8instanceE
> 00000b50 s __GLOBAL__I__ZN8WordType8instanceE
> 00000958 D __ZN8WordType8instanceE

That last line is the one that says  WordType::instance  is defined.  
Jesse, do you get that on HP-UX?

Another thought:  When  make check  fails, try typing

cd test
g++ -g -O2 -Wall -fno-rtti -fno-exceptions -o testnet testnet.o
   -L/opt/htdig/lib/zlib/lib ../htnet/.libs/libhtnet.a
   ../htcommon/.libs/libcommon.a ../htword/.libs/libhtword.a
   ../db/.libs/libhtdb.a ../htlib/.libs/libht.a
   ../htword/.libs/libhtword.a -lz
make check

Since you are using static libraries, the order of the libraries 
matters.  The above  g++  command includes  libhtword.a  (in which 
WordType::instance  should be defined) again at the end, just to be 
sure.

Out of interest, can you compile it using shared libraries?

Cheers,
Lachlan

-- 
[EMAIL PROTECTED]
ht://Dig developer DownUnder  (http://www.htdig.org)


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
ht://Dig Developer mailing list:
[EMAIL PROTECTED]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to