bug-gnu-utils
[Top][All Lists]
Advanced

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

plotutils compilation problem


From: address@hidden
Subject: plotutils compilation problem
Date: Wed, 30 Oct 2002 18:45:53 +0200

I have tried to compile plotutils with the option --with-libplotter but 
the compilation was interrupted with the following error:

rm -f .libs/g_write.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I./../includ
e -DLIBPLOT -DLIBPLOTTER -O2 -march=i386 -mcpu=i686 -c g_write.cc
-fPIC -DPIC -o .libs/g_write.lo
In file included from /usr/include/c++/3.2/backward/iostream.h:31,
                 from ../include/plotter.h:61,
                 from extern.h:44,
                 from g_write.cc:5:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #wa
rning This file includes at least one deprecated or antiquated head
er. Please consider using one of the 32 headers found in section 17
.4.1.2 of the C++ standard. Examples include substituting the <X> h
eader for the <X.h> header for C++ includes, or <sstream> instead o
f the deprecated header <strstream.h>. To disable this warning use
-Wno-deprecated.
g_write.cc: In function `void _write_bytes(const plPlotterData*, in
t, const unsigned char*)':
g_write.cc:43: invalid conversion from `const unsigned char*' to `const 
char*'
g_write.cc:43: initializing argument 1 of `std::basic_ostream<_CharT,
   _Traits>& std::basic_ostream<_CharT, _Traits>::write(const _CharT*, 
int)
   [with _CharT = char, _Traits = std::char_traits<char>]'
make[2]: *** [g_write.lo] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/plotutils-2.4.1/l     
ibplotter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/plotutils-2.4.1'
make: *** [all-recursive-am] Error 2

My sistem is RedHat Linux-8.0 with gcc-3.2. I need libplotter librarie 
for compil other programs, how can I do.

Thankyou,
Natalia Batic






reply via email to

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