Re: [htdig] 3.1.5 engine on 3.1.3 db


Subject: Re: [htdig] 3.1.5 engine on 3.1.3 db
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Mon Jan 08 2001 - 11:39:58 PST


According to Dave Salisbury:
> From: Geoff Hutchison <ghutchis@wso.williams.edu>
> > But the root question is:
> > Why are you having problems compiling 3.1.5 on IRIX?
>
> I posted this a day or two ago, with no responses.
> Any help would be appreciated! IRIX 6.5 things go well until
> these errors show up.

Unfortunately, there aren't a lot of people on the list with IRIX experience,
so it's hard to make rapid headway on that front.

> make[1]: Entering directory `/home/salisbur/htdig-3.1.5/htfuzzy'
> g++ -o htfuzzy -L../htlib -L../htcommon -L../db/dist -L/usr/lib32 Endings.o EndingsDB.o Exact.o Fuzzy.o Metaphone.o Soundex.o
> SuffixEntry.o Synonym.o htfuzzy.o Substring.o Prefix.o ../htcommon/libcommon.a ../htlib/libht.a ../db/dist/libdb.a -lnsl -lsocket
> ld32: WARNING 131: Multiply defined weak symbol:(Deserialize__6ObjectR6StringRi) in Endings.o and EndingsDB.o (2nd definition ignored).
...

It's hard to say for sure what's causing these warnings. It seems perhaps
the override of virtual methods in the Object class with non-virtual ones
in the String class is causing this. Maybe it's just because SGI's ld32
doesn't like the way g++ builds these objects.

> and on till a warning message limit is reached and then many errors like:
...
> ld32: Giving up after printing 50 warnings. Use -wall to print all warnings.
> ld32: ERROR 33 : Unresolved text symbol "cout" -- 1st referenced by EndingsDB.o.
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld32: ERROR 33 : Unresolved text symbol "__ls__7ostreamPCc" -- 1st referenced by EndingsDB.o.
> Use linker option -v to see when and which objects, archives and dsos are loaded.
...

Now these errors seem to be the result of ld32 not finding the required
C++ classes in the C++ system library. Either it's not finding the
library at all (or not told where to find it), or the library is somehow
incompatible with the g++ compiler you have installed. Given these errors,
I doubt your system could even compile and link a simple "Hello, World"
program in C++. You'd need either to get to the bottom of this and fix
it, or you'd need to get 3.1.5 built on the system from which you got the
3.1.3 binaries.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this. List archives: <http://www.htdig.org/mail/menu.html> FAQ: <http://www.htdig.org/FAQ.html>



This archive was generated by hypermail 2b28 : Mon Jan 08 2001 - 11:52:13 PST