Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 1996 00:59:10 +0200 (SAT)
From:      Khetan Gajjar <khetan@iafrica.com>
To:        questions@freebsd.org
Cc:        Ryan Loots <ryan@iafrica.com>
Subject:   g++ weirdness
Message-ID:  <Pine.BSF.3.95.960927005429.245j-100000@chain.iafrica.com>

next in thread | raw e-mail | index | archive | help
Hi.

I'm having problems compiling something with g++ on -current. There's no
problem building exactly the same thing on a machine running 2.1.5 -
release. I'm trying to compile the htdig program (the web search engine).

The gcc on my machine presents 
[chain] /home/khetan/temp/htdig-3.0.4# g++ -v 
 cc -v
gcc version 2.7.2.1

and on the 2.1.5 machine
[copernicus] ~ $ g++ -v
 cc -v
gcc version 2.6.3
[copernicus] ~ $ 

Any ideas ? I've looked at the -current, -hackers and -questions lists,
but have had no luck.
---snip---
In file included from /usr/include/g++/iostream.h:31,
                 from /usr/include/g++/fstream.h:30,
                 from htfuzzy.h:14,
                 from htfuzzy.cc:21:
/usr/include/g++/streambuf.h: In method `void ios::init(struct streambuf
*, class ostream *)':
In file included from /usr/include/g++/iostream.h:31,
                 from /usr/include/g++/fstream.h:30,
                 from htfuzzy.h:14,
                 from htfuzzy.cc:21:
/usr/include/g++/streambuf.h:447: warning: `void ios::init(struct
streambuf *, class ostream *)' was used before it was declared inline
/usr/include/g++/streambuf.h:251: warning: previous non-inline declaration
here
c++ -o htfuzzy -L../htlib -L../htcommon -L../gdbm-1.7.3 -L../rx-1.0/rx
Endings.o EndingsDB.o Exact.o  Fuzzy.o Metaphone.o Soundex.o
SuffixEntry.o Synonym.o htfuzzy.o -lcommon -lht -lgdbm -lrx
ld: -lstdc++: no match
*** Error code 1

Stop.
*** Error code 1

Stop.
--snip---

TIA,

---
Khetan Gajjar         [ http://www.iafrica.com/~khetan] 
I'm a FreeBSD User!   [         http://www.freebsd.org]
UUNet Internet Africa [0800-030-002 & help@iafrica.com]





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.960927005429.245j-100000>