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  2008  2009  <20102011  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  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: building base on cygwin1.7
From: "Pete R. Jemian" <[email protected]>
To: EPICS <[email protected]>
Date: Fri, 28 May 2010 17:33:44 -0500

Anyone have experience yet with building EPICS base on cygwin 1.7? My C++ is not good enough to resolve this problem.


EPICS_HOST_ARCH = cygwin-x86
situation: building EPICS base 3.14.11
host: cygwin 1.7 on Windows 7 Ultimate 64-bit OS
error: undefined reference to `typeinfo for epicsTimerNotify'

fails: Win7-64bit / cygwin1.7
succeeds: Win7-64bit / cygwin1.5
succeeds: Win7-32bit / cygwin1.5
not tested yet: Win7-32bit / cygwin1.7

The build fails
-----------------% clip here %-----------------
make[3]: Entering directory
`/cygdrive/c/Users/Pete/Apps/epics/base-3-14-11/src/ca/O.cygwin-x86'
...
g++ -c  -D_POSIX_THREADS -D_POSIX_TIMERS            -DUNIX  -DCYGWIN32
     -O3   -Wall      -m32    -D_DLL   -I. -I../O.Common -I. -I..
-I../../../include/os/cygwin32 -I../../../include
../msgForMultiplyDefinedPV.cpp
g++ -o ca.dll -shared -Wl,--out-implib,ca.lib
-Lc:/Users/Pete/Apps/epics/base-3-14-11/lib/cygwin-x86       -m32
           cac.o cacChannel.o cacChannelNotify.o cacContextNotify.o
cacReadNotify.o cacWriteNotify.o cacStateNotify.o access.o iocinf.o
convert.o test_event.o repeater.o searchTimer.o
disconnectGovernorTimer.o repeaterSubscribeTimer.o baseNMIU.o nciu.o
netiiu.o udpiiu.o tcpiiu.o noopiiu.o netReadNotifyIO.o
netWriteNotifyIO.o netSubscription.o tcpSendWatchdog.o tcpRecvWatchdog.o
bhe.o ca_client_context.o oldChannelNotify.o oldSubscription.o
getCallback.o getCopy.o putCallback.o syncgrp.o CASG.o syncGroupNotify.o
syncGroupReadNotify.o syncGroupWriteNotify.o localHostName.o
comQueRecv.o comQueSend.o comBuf.o hostNameCache.o
msgForMultiplyDefinedPV.o ca.coff  -lCom   -lpthread   -lreadline
-lcurses -lm
Creating library file:
ca.libsearchTimer.o:searchTimer.cpp:(.rdata$_ZTI11searchTimer[typeinfo
for searchTimer]+0x10): undefined reference to `typeinfo for
epicsTimerNotify'
disconnectGovernorTimer.o:disconnectGovernorTimer.cpp:(.rdata$_ZTI23disconnectGovernorTimer[typeinfo

for disconnectGovernorTimer]+0x10): undefined reference to `typeinfo for
epicsTimerNotify'
repeaterSubscribeTimer.o:repeaterSubscribeTimer.cpp:(.rdata$_ZTI22repeaterSubscribeTimer[typeinfo

for repeaterSubscribeTimer]+0x10): undefined reference to `typeinfo for
epicsTimerNotify'
tcpSendWatchdog.o:tcpSendWatchdog.cpp:(.rdata$_ZTI15tcpSendWatchdog[typeinfo

for tcpSendWatchdog]+0x10): undefined reference to `typeinfo for
epicsTimerNotify'
tcpRecvWatchdog.o:tcpRecvWatchdog.cpp:(.rdata$_ZTI15tcpRecvWatchdog[typeinfo

for tcpRecvWatchdog]+0x10): undefined reference to `typeinfo for
epicsTimerNotify'
collect2: ld returned 1 exit status

make[3]: *** [ca.dll] Error 1
make[3]: Leaving directory
`/cygdrive/c/Users/Pete/Apps/epics/base-3-14-11/src/ca/O.cygwin-x86'
make[2]: *** [install.cygwin-x86] Error 2
make[2]: Leaving directory
`/cygdrive/c/Users/Pete/Apps/epics/base-3-14-11/src/ca'
make[1]: *** [ca.install] Error 2
make[1]: Leaving directory
`/cygdrive/c/Users/Pete/Apps/epics/base-3-14-11/src'
make: *** [src.install] Error 2
-----------------% clip here %-----------------


-- ---------------------------------------------------------- Pete R. Jemian, Ph.D. <[email protected]> Beam line Controls and Data Acquisition, Group Leader Advanced Photon Source, Argonne National Laboratory Argonne, IL 60439 630 - 252 - 3189 ----------------------------------------------------------- Education is the one thing for which people are willing to pay yet not receive. -----------------------------------------------------------

Replies:
Re: building base on cygwin1.7 Pete R Jemian

Navigate by Date:
Prev: Re: labCA and EPICS_CA_MAX_ARRAY_BYTES J. Lewis Muir
Next: RE: Fall Epics Meeting location? Dalesio, Leo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Fall Epics Meeting location? Dalesio, Leo
Next: Re: building base on cygwin1.7 Pete R Jemian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  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 ·