From: Lachlan A. <lh...@us...> - 2003-09-23 13:04:22
|
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. =20 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=20 matters. The above g++ command includes libhtword.a (in which=20 WordType::instance should be defined) again at the end, just to be=20 sure. Out of interest, can you compile it using shared libraries? Cheers, Lachlan --=20 lh...@us... ht://Dig developer DownUnder (http://www.htdig.org) |