bug-glibc
[Top][All Lists]
Advanced

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

Problem with G++ includes


From: David Ronis
Subject: Problem with G++ includes
Date: Mon, 2 Apr 2001 11:56:16 -0400

I'm trying to build ddd-3.3 on a i686-linux(2.4.2)-gnu(2.2.1) box,
using a freshly built and installed gcc-2.95.3 (which comes with
libstdc++-3-libc6.2-2-2.10.0).

The ddd build fails in the configure step in:

configure:1700: g++ -o conftest -O3 -march=i686 -ffast-math -funroll-loops 
-fomit-frame-pointer -fforce-mem -fforce-addr -malign-jumps=3 -malign-loops=3 
-malign-functions=3 -mpreferred-stack-boundary=3 -fpermissive   conftest.C  1>&5
In file included from 
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/iostream.h:31,
                 from configure:1694:
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/streambuf.h:
 In method `streampos streambuf::pubseekoff(long long int, ios::seek_dir, int = 
3)':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/streambuf.h:362:
 `struct _G_fpos64_t' used where a `streampos' was expected
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/streambuf.h:
 In method `streampos streambuf::pubseekpos(long long int, int = 3)':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/streambuf.h:364:
 conversion from `streampos' to non-scalar type `_G_fpos64_t' requested
configure: failed program was:
#line 1693 "configure"
#include "confdefs.h"
#include <iostream.h>
int main() {
cout << "hello, world!";
; return 0; }

I've read the FAQ and had applied the patch at 

http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff

to the 2.95.2 files.  The patch now seems to have been incorporated
into the g++-3 includes that come with the distribution.  Any
suggestions?  I've been able to compile other (but not all) C++
programs.



reply via email to

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