EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  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  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: compile error about gateway
From: "Silver" <[email protected]>
To: "tech-talk" <[email protected]>
Date: Wed, 3 Dec 2008 15:39:49 +0800
hi, all:

I think I would disturb Dirk to see thsi again. :)
when I tried to compile gateway2_0_2_1 on centOS 5.2, there is an error like following:

make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[1]: Entering directory `/usr/local/epics/extensions/src/gateway2_0_2_0/O.linux-x86'
/usr/bin/g++ -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500        -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi  -O3  -Wall     -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM      -g  -I. -I.. -I../../../include/os/Linux -I../../../include -I../../../../base/include/os/Linux -I../../../../base/include -I../../../include/os/Linux -I../../../include     -I../../../../base/src/cas/generic    ../gateVc.cc 
../../../../base/include/gddUtils.h:85: warning: 'class gddDestructor' has virtual functions but non-virtual destructor
../../../../base/include/gddUtils.h: In member function 'char* gddDestructor::newdel_next()':
../../../../base/include/gddUtils.h:96: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/gddUtils.h: In member function 'void gddDestructor::newdel_setNext(char*)':
../../../../base/include/gddUtils.h:96: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/gddUtils.h: In member function 'char* gddBounds1D::newdel_next()':
../../../../base/include/gddUtils.h:117: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/gddUtils.h: In member function 'void gddBounds1D::newdel_setNext(char*)':
../../../../base/include/gddUtils.h:117: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/gddUtils.h: In member function 'char* gddBounds2D::newdel_next()':
../../../../base/include/gddUtils.h:129: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/gddUtils.h: In member function 'void gddBounds2D::newdel_setNext(char*)':
../../../../base/include/gddUtils.h:129: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/gddUtils.h: In member function 'char* gddBounds3D::newdel_next()':
../../../../base/include/gddUtils.h:141: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/gddUtils.h: In member function 'void gddBounds3D::newdel_setNext(char*)':
../../../../base/include/gddUtils.h:141: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/gdd.h: In member function 'char* gdd::newdel_next()':
../../../../base/include/gdd.h:468: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/gdd.h: In member function 'void gdd::newdel_setNext(char*)':
../../../../base/include/gdd.h:468: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/gddI.h: In member function 'void gdd::setStat(aitUint16)':
../../../../base/include/gddI.h:106: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/gddI.h: In member function 'void gdd::setSevr(aitUint16)':
../../../../base/include/gddI.h:108: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/gddI.h: In member function 'aitUint16 gdd::getStat() const':
../../../../base/include/gddI.h:110: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/gddI.h: In member function 'aitUint16 gdd::getSevr() const':
../../../../base/include/gddI.h:112: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../base/include/fdManager.h: At global scope:
../../../../base/include/fdManager.h:39: warning: 'class fdRegId' has virtual functions but non-virtual destructor
../../../../base/include/gddAppTable.h:65: warning: 'class gddApplicationTypeDestructor' has virtual functions but non-virtual destructor
../gateVc.cc: In member function 'virtual caStatus gateVcData::read(const casCtx&, gdd&)':
../gateVc.cc:1013: error: 'AlignedWireRef' was not declared in this scope
../gateVc.cc:1013: error: expected primary-expression before '>' token
make[1]: *** [gateVc.o] Error 1
make[1]: Leaving directory `/usr/local/epics/extensions/src/gateway2_0_2_0/O.linux-x86'
make: *** [install.linux-x86] Error 2  

If I comment out that line "ca_uint16_t caProtoMask = AlignedWireRef < epicsUInt16 >(pMonInfo->m_mask);" , it can pass, why? 
On fedora core, gateway could be compiled. Can anyone give me some help? thanks a lot in advance

Best regards
Geyang  2008-12-03



Replies:
Re: compile error about gateway Dirk Zimoch

Navigate by Date:
Prev: Re:RE: Epics error exiting softIOC. marco_hair
Next: Re: Epics error exiting softIOC. Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Re: Epics error exiting softIOC. Silver
Next: Re: compile error about gateway Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·