Compiling plotutils on RHL 9 fails

Jos Vos jos at xos.nl
Thu Sep 11 13:32:18 UTC 2003


Hi,

Plotutils 2.4.1 with --enable-libplotter doesn't compile in RHL 9.
This is what I get:

c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I./../include -DLIBPLOT -DLIBPLOTTER -O2 -g -pipe -march=i386 -mcpu=i686 -c g_write.cc  -fPIC -DPIC -o .libs/g_write.lo
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
                 from ../include/plotter.h:61,
                 from extern.h:44,
                 from g_write.cc:5:
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
g_write.cc: In function `void _write_bytes(const plPlotterData*, int, 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 `/home/jos/lx/rpm8/BUILD/plotutils-2.4.1/libplotter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jos/lx/rpm8/BUILD/plotutils-2.4.1'
make: *** [all-recursive-am] Error 2

Anyone having a patch for this?

Thanks,

--
--    Jos Vos <jos at xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204





More information about the fedora-devel-list mailing list