From owner-freebsd-questions Thu Sep 26 15:59:33 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA14526 for questions-outgoing; Thu, 26 Sep 1996 15:59:33 -0700 (PDT) Received: from chain.iafrica.com (root@chain.iafrica.com [196.7.74.174]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA14467 for ; Thu, 26 Sep 1996 15:59:21 -0700 (PDT) Received: from localhost (khetan@localhost [127.0.0.1]) by chain.iafrica.com (8.7.6/8.6.12) with SMTP id AAA21486; Fri, 27 Sep 1996 00:59:11 +0200 (SAT) Date: Fri, 27 Sep 1996 00:59:10 +0200 (SAT) From: Khetan Gajjar To: questions@freebsd.org cc: Ryan Loots Subject: g++ weirdness Message-ID: X-URL: http://www.iafrica.com/~khetan/ X-Alternate-Address: khetan@uunet.co.za X-Alternate-Address2: kg@iafrica.com X-Alternate-Address3: gjjkhe01@sonnenberg.uct.ac.za X-Alternate-Address4: khetan@chain.iafrica.com X-Comment: Telkom sucks huge! X-IRC-nick: chain MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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]