[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
glibc-2.2.1 problems
From: |
David Ronis |
Subject: |
glibc-2.2.1 problems |
Date: |
Thu, 15 Feb 2001 13:21:36 -0500 |
Hi Andreas,
I've been unable to compile the last few versions of ddd on an
i686-linux-gnu box. I've tried gcc-2.95.2 as well as one of the
developemnt gcc compilers (that's much much worse). I've got
glibc-2.2.1 installed and I've run the patch described in the
glibc-FAQ:
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
The build dies with:
g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG
-O3 -W -Wall -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 -trigraphs -c logplayer.C
logplayer.C: In function `void logplayer(const string &)':
logplayer.C:389: no matching function for call to `ifstream::seekg (int)'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/iostream.h:183:
candidates are: class istream & istream::seekg(_G_fpos64_t)
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/iostream.h:184:
class istream & istream::seekg(long long int, ios::seek_dir)
make[1]: *** [logplayer.o] Error 1
Other C++ programs are also giving me trouble related to seekg.
BTW, I'm not a very good C++ programmer. Any ideas?
David
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- glibc-2.2.1 problems,
David Ronis <=