help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

G++ Link error with 3.4.2


From: Fieldmarshall
Subject: G++ Link error with 3.4.2
Date: 22 Apr 2005 06:45:20 -0700

Hello,

I recently installed Fedora Core 3. g++ 3.4.2 is included in it. When
I try to build some application I get the following error:

../../src/mini_httpd/lib_minihttpd.a(HTTPClient.o)(.text+0xdf): In
function `HTTPClient::~HTTPClient()':
/usr/include/c++/3.2.2/bits/stl_alloc.h:440: undefined reference to
`std::__default_alloc_template<true, 0>::_S_force_new'


After doing some research on the Internet, I  found out that maybe the
files were being linked with gcc. SO I set the flag CXXLINK =
/usr/bin/g++ in Makefile.am but no good.

What also seems strange to me is the fact that there is a reference to
headers in the folder /usr/include/c++/3.4.2/ while this folder
doesn't (and didn't ever) exist. I decided to crate a Symlink
/usr/include/c++/3.2.2/ pointing to /usr/include/c++/3.4.2/ but that
didn't help much...

Any Help is greatly appreciated...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]