It works for me on my version of Linux. Mine, however, is getting old
uranus% cat /proc/version
Linux version 2.4.21-9.0.1.EL ([email protected]) (gcc
version 3.2.3 20030502 (Red Hat Linux 3.2.3-26)) #1 Mon Feb 9 22:44:14
EST 2004
In
/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
Why are there two "-W1" pointing to different versions of base?
Marty
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:
- Build system problem (was: mrkSoftTest doesn't compile) Ralph Lange
- References:
- mrkSoftTest doesn't compile Ralph Lange
- Navigate by Date:
- Prev:
RE: vxWorks epicsThreadCreate returns valid thread id when thread wasnt created Jeff Hill
- Next:
R3.14.8/logClient Benjamin Franksen
- Index:
2002
2003
2004
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
mrkSoftTest doesn't compile Ralph Lange
- Next:
Build system problem (was: mrkSoftTest doesn't compile) Ralph Lange
- Index:
2002
2003
2004
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|