bug-glibc
[Top][All Lists]
Advanced

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

Re: Problem when building Ncurses


From: Andreas Jaeger
Subject: Re: Problem when building Ncurses
Date: 16 Nov 2000 08:07:47 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands)

>>>>> Yannick Macarty writes:

 > I have compiled glibc-2.2 successfully, and i get this error while compiling
 > ncurses-5.2 .

 > make[1]: Entering directory `/usr/src/ncurses-5.2/c++'
 > cd ../obj_s;

 > c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I. -I../include -O2
 >  -fPIC -c ../c++/cursesf.cc
 > In file included from /usr/include/g++/iostream.h:31,
 >                  from /usr/include/g++/strstream.h:32,
 >               from ../c++/cursesw.h:17,
 >               from ../c++/cursesp.h:39,
 >               from ../c++/cursesf.h:39,
 >               from ../c++/cursesf.cc:34:
 > /usr/include/g++/streambuf.h: In method `struct streampos
 > streambuf::pubseekoff(long long int, ios::seek_dir, int = 3)':
 > /usr/include/g++/streambuf.h:362: conversion from `__off64_t' to non-scalar
 > type `streampos' requested
 > /usr/include/g++/streambuf.h: In method `struct streampos
 > streambuf::pubseekpos(_G_fpos64_t, int = 3)':
 > /usr/include/g++/streambuf.h:364: `struct streampos' used where a `long long
 > int' was expected
 > make[1]: *** [../obj_s/cursesf.o] Error 1
 > make[1]: Leaving directory `/usr/src/ncurses-5.2/c++'

 > The same error occurs when compiling ncurses-5.1 with a glibc-2.2.
 > Compiling with glibc-2.1.3 works fine.

You need to fix the c++ headers - this should be covered in the Glibc
FAQ 2.34 (the FAQ is part of glibc 2.2).

Andreas
-- 
 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden
    http://www.suse.de/~aj



reply via email to

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