EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: CMLOG error :(
From: Heinrich du Toit <[email protected]>
To: TechTalk EPICS <[email protected]>
Date: Tue, 18 Sep 2007 12:18:19 +0200
I'm trying to compile CMLOG.
Ubuntu feisty kernel 2.6.20-15-generic.

ace compiles and is fine.
I had to edit config-linux-redhat6.0-x86.h to comment out #define
ACE_HAS_UNDERCOREFDBITS

I had this error:

g++ -I. -g -DLinux -I. -I../data -I../database/include -I../database
-I../Thread -I../Common -I../Network -I/h
ome/heinrich/EPICS/cmlog/CMLOG/C++/SACE-4.0 -D_CMLOG_BUILD_SERVER  -c
cmlogCleanupMain.cc -o cmlogCleanupMain.
o
cmlogCleanupMain.cc:30: error: â::mainâ must return âintâ
make[2]: *** [cmlogCleanupMain.o] Error 1
make[2]: Leaving directory `/home/heinrich/EPICS/cmlog/CMLOG/Server'

So I changed cmLogCleanupMain.cc:

int
main (int argc, char** argv)
{
  cmlogCleanup ();
  return 0;
}

That was easy :)

Next error is:

g++ -I. -g -DLinux -I. -I../data -I../Thread -I../Common -I../Network
-I/home/heinrich/EPICS/cmlog/CMLOG/C++/S
ACE-4.0 -c ../Network/cmlogUpIO.cc -o .obj/Linux-i386/cmlogUpIO.o 
../Network/cmlogUpIO.cc: In member function âvirtual int
cmlogUpIO::handle_input(int)â:
../Network/cmlogUpIO.cc:103: error: no match for âoperator>>â in âfd >>
packetâ
make[2]: *** [.obj/Linux-i386/cmlogUpIO.o] Error 1
make[2]: Leaving directory `/home/heinrich/EPICS/cmlog/CMLOG/ClientD'

This one I can't seem to figure out what is wrong?
It seem as if it want to use a >> operator from the cmlog_cdevPacket1
class - which doesn't exit??
There is a streamin function - but that take a char* and not an int. as
fd is some handle or something?

Somebody out there maybe knows what todo?









Navigate by Date:
Prev: MEDM compile - update :) Heinrich du Toit
Next: RE: Deadlock on epicsEvent Denison, PN (Peter)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: MEDM compile - update :) Heinrich du Toit
Next: CMLOG compile ... Heinrich du Toit
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·