Re: [htdig] configure under BSD not finding fstream.h


Subject: Re: [htdig] configure under BSD not finding fstream.h
From: Brett Rabideau (misha@toto.com)
Date: Wed Sep 13 2000 - 08:23:19 PDT


Geoff, Torsten:

Still no go:

g++ -v:
gcc version 2.7.2.1

gcc -v:
gcc version 2.7.2.1

I removed config.cache and changed it to be:

setenv CFLAGS "-O2"
setenv CXXFLAGS "-O2 -fno-exceptions -fno-rtti"
setenv CPPFLAGS "-I/usr/include/g++ -I/usr/local/include/g++"
./configure --disable-zlib

Then I ran:

/usr/local/bin/make (to get the correct make).

I still receive a long list of errors, which start as:

Still make[1]: Entering directory
`/usr/home/technoco/usr/home/derek/htdig/ht-src/htfuzzy'
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../db/dist -I../include -I/usr/include/g++
-I/usr/local/include/g++ -O2 -fno-exceptions -fno-rtti htfuzzy.cc
c++ -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 ../htcommon/libcommon.a ../htlib/libht.a
../db/dist/libdb.a
Endings.o: In function `Endings::getWords(char *, List &)':
Endings.o(.text+0x28e): undefined reference to `__eh_pc'
Endings.o(.text+0x297): undefined reference to `__throw'
Endings.o(.text+0x2a6): undefined reference to `__eh_pc'
Endings.o(.text+0x2af): undefined reference to `__throw'
Endings.o(.text+0x2be): undefined reference to `__eh_pc'
Endings.o(.text+0x2c7): undefined reference to `__throw'
Endings.o(.text+0x2d9): undefined reference to `__eh_pc'
Endings.o(.text+0x2e2): undefined reference to `__throw'
Endings.o(.text+0x2f5): undefined reference to `__eh_pc'
Endings.o(.text+0x2fe): undefined reference to `__throw'
Endings.o: In function `Endings::openIndex(Configuration &)':
Endings.o(.text+0x3f5): undefined reference to `__eh_pc'
Endings.o(.text+0x3fe): undefined reference to `__throw'
Endings.o(.text+0x406): undefined reference to `__eh_pc'
Endings.o(.text+0x40f): undefined reference to `__throw'
Endings.o(.text+0x416): undefined reference to `__eh_pc'
Endings.o(.text+0x41f): undefined reference to `__throw'
Endings.o(.text+0x426): undefined reference to `__eh_pc'
Endings.o(.text+0x42f): undefined reference to `__throw'
Endings.o: In function `Endings type_info function':
Endings.o(.text+0x46f): undefined reference to `__rtti_si'
Endings.o: In function `Object::Copy(void)':
Endings.o(.gnu.linkonce.t.Copy__6Object+0x24): undefined reference to
`__eh_pc'
Endings.o(.gnu.linkonce.t.Copy__6Object+0x2d): undefined reference to
`__throw'
Endings.o: In function `Object type_info function':
Endings.o(.gnu.linkonce.t.__tf6Object+0x19): undefined reference to
`__rtti_user'

... Brett

(Have I mentioned that I disliked virtual servers that I don't have root
access to?<G>)

--On Wednesday, September 13, 2000 10:52 AM -0400 Geoff Hutchison
<ghutchis@wso.williams.edu> wrote:

> On Wed, 13 Sep 2000, Brett Rabideau wrote:
>
>> checking whether the C compiler (gcc -O2 -fno-exceptions -fno-rtti )
>> works... no
>> configure: error: installation or configuration problem: C compiler
>> cannot create executables.
>>
>> I assume that this has something to do with gcc-2.8, and the fact that
>> I'm using gcc version 2.7.2.1, right?
>
> OK, so gcc 2.7.X doesn't have exception-handling, which is fine. But it
> means that your libstdc++ was compiled with a more recent compiler.
>
> Is your g++ compiler also 2.7.X? If it's more recent, then make sure the
> flags aren't included in CFLAGS and are included in CXXFLAGS.
>
> --
> -Geoff Hutchison
> Williams Students Online
> http://wso.williams.edu/
>

------------------------------------
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 : Wed Sep 13 2000 - 08:26:03 PDT