Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: building ChannelArchive1.9.1 on redhat linux9.0
From: Kay-Uwe Kasemir <kasemir@lanl.gov>
To: "zhaozhuo" <zhaozhuo@ihep.ac.cn>, "tech-talk" <tech-talk@aps.anl.gov>
Date: Wed, 13 Aug 2003 09:25:29 -0600
At 09:18 8/13/2003, zhaozhuo wrote:
>Hi!
>I'm building channelarchiver1.9.1 on base3.13.8 on redhat linux9.0,but it showed some error like the following:
> 
> 
> 
> 
> 
>g++    -g  -Wall   -DLinux -D_X86_ -Dlinux   -DUNIX  -I. -I..  -I../../../includ
>e -I../../../include/os/Linux -I/home/epics/epics3.13.8/base/include/os/Linux -I
>/home/epics/epics3.13.8/base/include   -c   ../ASCIIParser.cc
>In file included from ../ASCIIParser.cc:6:
>../ASCIIParser.cpp: In member function `bool ASCIIParser::open(const
>   stdString&)':
>../ASCIIParser.cpp:23: no matching function for call to `
>   std::basic_ifstream<char, std::char_traits<char> >::unsetf(const
>   std::_Ios_Openmode&)'
>/usr/include/c++/3.2.2/bits/ios_base.h:361: candidates are: void
>   std::ios_base::unsetf(std::_Ios_Fmtflags)
>gmake[2]: *** [ASCIIParser.o] Error 1
>gmake[2]: Leaving directory `/home/epics/epics3.13.8/extensions/src/Tools/O.Linu
>x'
>gmake[1]: *** [install.Linux] Error 2
>gmake[1]: Leaving directory `/home/epics/epics3.13.8/extensions/src/Tools'
>gmake: *** [all] Error 2
> 
> 
> 
>who can tell me how to solve the problem ?
> 
>zhaozhuo


Hello:

The C++ stream classes (like ifstream) have been very troublesome
because the C++ "standard library" changes too much between
versions of the different compilers.

So most of the C++ stream usage has been removed,
try a newer version of the archiver (like 1.10.2 for R3.13.x)
and hopefully that will work better.
See
http://ics-web1.sns.ornl.gov/~kasemir/

Thanks,
-Kay


References:
building ChannelArchive1.9.1 on redhat linux9.0 zhaozhuo

Navigate by Date:
Prev: building ChannelArchive1.9.1 on redhat linux9.0 zhaozhuo
Next: Building a 3.13 app with 3.14 base Geoff Savage
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: building ChannelArchive1.9.1 on redhat linux9.0 zhaozhuo
Next: Building a 3.13 app with 3.14 base Geoff Savage
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·