On Tuesday, November 5, 2002, at 08:31 PM, Xpert Ong wrote:

I got the following error while running the make
command.  Anyone can help?
I am running Solaris 2.6 (Sparc) with gcc2.8.1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -o htfuzzy -L../htlib -L../htcommon -L../db/dist
-L/usr/lib Endings.o EndingsDB.o Exact.o Fuzzy.o
Metaphone.o Soundex.o SuffixEntry.o Synonym.o
htfuzzy.o Substring.o Prefix.o Accents.o
../htcommon/libcommon.a ../htlib/libht.a
../db/dist/libdb.a -lnsl -lsocket
Undefined                       first referenced
 symbol                             in file
cout                                EndingsDB.o
_vt.7istream.3ios
You might want to double check the settings being used when you run configure. It appears that gcc is being selected for compiling C++, rather than g++; unless things have changed, I believe it is necessary to explicitly link libstdc++ if compiling with gcc. Is there perhaps an environment variable defined on your system that is specifying gcc as the C++ compiler? Unless overridden, configure generally picks up g++ (c++) as the C++ compiler.

If changing the compiler doesn't help, you might also want to try configuring with the --disable-shared option.

Jim



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to