Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 1999 15:06:53 +0200 (CEST)
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        "David O'Brien" <obrien@freebsd.org>
Cc:        FreeBSD Current <current@freebsd.org>
Subject:   C++
Message-ID:  <XFMail.990405150653.asmodai@wxs.nl>

next in thread | raw e-mail | index | archive | help
OK, 

we're coming a long way David, but the thing for which egcs was chosen
doesn't quite work according to autoconf:

checking for gcc... cc
checking whether the C compiler (cc -Os -pipe ) works... yes
checking whether the C compiler (cc -Os -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.
*** Error code 1

That's the www/libwww port.

Here's the config.log which might help ye troubleshoot c++:

configure:1285: checking for c++
configure:1317: checking whether the C++ compiler (c++  ) works
configure:1333: c++ -o conftest    conftest.C  1>&5
/usr/lib/libstdc++.so: undefined reference to `filebuf virtual table'
/usr/lib/libstdc++.so: undefined reference to `stdiobuf virtual table'
configure: failed program was:

#line 1328 "configure"
#include "confdefs.h"

int main(){return(0);}



Keep going mate, we're coming closer =)

---
Jeroen Ruigrok van der Werven     <http://www.freebsdzine.org>; 
asmodai(at)wxs.nl        The idea does not replace the work...
Network/Security Specialist      <http://home.wxs.nl/~asmodai>;
*BSD: Powered by Knowledge & Know-how <http://www.freebsd.org>;


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990405150653.asmodai>