[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: c++ programs want compile with glibc 2.2.1
From: |
Craig Rodrigues |
Subject: |
Re: c++ programs want compile with glibc 2.2.1 |
Date: |
Sun, 11 Feb 2001 07:03:46 -0500 |
User-agent: |
Mutt/1.2.5i |
On Sun, Feb 11, 2001 at 01:57:19PM +0200, Ra wrote:
> h!
>
> i've compiled and installed glibc 2.2.1 (default flags) with gcc 2.95.2
> linked
> statically against 2.1.3 library. c programs will compile fine but it's
> not the
> same for c++ code, i'm getting errors regarding c++ compiler headers:
This is a glibc FAQ. In the glibc distribution, look for a FAQ
file, and look at item 2.34:
2.34. When compiling C++ programs, I get a compilation error in streambuf.h.
{BH} You are using g++ 2.95.2? After upgrading to glibc 2.2, you need to
apply a patch to the include files in /usr/include/g++, because the fpos_t
type has changed in glibc 2.2. The patch is at
http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff
--
Craig Rodrigues
http://www.gis.net/~craigr
address@hidden