EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: mrkSoftTest doesn't compile
From: Ralph Lange <[email protected]>
To: Janet Anderson <[email protected]>
Cc: EPICS Core Talk <[email protected]>
Date: Thu, 17 Nov 2005 11:24:03 +0100
Hi Janet,

I don't have any system with a gcc 4 running - it's all gcc 3.

I do *NOT* have 3.14.7 in my mrkSoftTest/configure/RELEASE.
I intentionally create 2 -Wl options, because here the location of Base differs between development and production systems. To be able to run the exe on both worlds, I'm compiling both paths into the binaries: the local - for development, and the generic - for the production systems.

Is it illegal to use two compiled-in paths? From first glance I wouldn't see why. Does the build system rely on just one path being defined? If so: Is that limitation justified?

Ralph


Janet Anderson wrote:

Hi Ralph,


Is it possible that your R3.14.7 EPICS base on linux was built with gcc version 3 and you are now building with gcc version 4?

Why do you have R3.14.7 in your mrkSoftTest/configure/RELEASE file? You shouldn't have 2 -Wl options for EPICS base.


Janet


Ralph Lange wrote:

Marty,

mrkSoftTest doesn't compile aymore (neither on HP nor on Linux):

aCC -o access -L/opt/epics/R3.14.7/base/3-14-7-0/lib/hpux-parisc/ -AA -mt -Wl,+b/home/unix/lange/work/epics/APS/epics/base/3-14-X/lib/hpux-parisc:/home/unix/lange/work/epics/APS/epics/extensions/lib/hpux-parisc:/opt/epics/R3.14.7/base/3-14-7-0/lib/hpux-parisc,+s access_registerRecordDeviceDriver.o asinittest.o asTest.o asTrapWriteTest.o accessMain.o -lrecIoc -lsoftDevIoc -liocsh -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom
/usr/ccs/bin/ld: Unsatisfied symbols:
pvar_int_dbRecordsOnceOnly (first referenced in access_registerRecordDeviceDriver.o) (data)

On Linux:

/usr/bin/g++ -o common -L/opt/epics/R3.14.7/support/base/3-14-7-0/lib/linux-x86/ -Wl,-rpath,/opt/epics/R3.14.7/support/base/3-14-7-0/lib/linux-x86 -Wl,-rpath,/home/unix/lange/work/epics/APS/epics/base/3-14-X/lib/linux-x86 -Wl,-rpath,/home/unix/lange/work/epics/APS/epics/extensions/lib/linux-x86 devAiAsyn.o common_registerRecordDeviceDriver.o commonMain.o -ltestDevIoc -lrecIoc -lsoftDevIoc -liocsh -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom common_registerRecordDeviceDriver.o(.text+0x4a1): In function `__static_initialization_and_destruction_0': /net/unix/mnt/csr-home/lange/work/epics/APS/epics/mrkSoftTest/common/src/O.linux-x86/common_registerRecordDeviceDriver.cpp:264: undefined reference to `pvar_int_dbRecordsOnceOnly'

I don't see any changes in mrkSoftTest, though. Strange. I'm pretty sure you know faster than me what's wrong ...

Ralph


Replies:
Re: mrkSoftTest doesn't compile Andrew Johnson
References:
mrkSoftTest doesn't compile Ralph Lange

Navigate by Date:
Prev: Re: Build system problem Ralph Lange
Next: Re: R3.14.8 Status/logClient patch Marty Kraimer
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Build system problem Ralph Lange
Next: Re: mrkSoftTest doesn't compile Andrew Johnson
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·