EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Problem with static build on Linux
From: Robert Soliday <[email protected]>
To: tech-talk <[email protected]>
Date: Fri, 01 Aug 2003 12:26:41 -0500
On one of my Redhat 8.0 systems with all the Redhat updates installed I was able to get it to work. I just checked out Base version 3.14.2 because I wasn't sure what I originally had. Built it with SHARED_LIBRARIES=NO because I always do on Linux. Created my exampleApp and set STATIC_BUILD=YES. Using this combination everything worked.

[soliday@csr1 ioctest]$ cat /proc/version
Linux version 2.4.20-19.8smp ([email protected]) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 SMP Tue Jul 15 15:01:43 EDT 2003


[soliday@csr1 ioctest]$ rpm -qa | grep glibc
glibc-devel-2.3.2-4.80.6
glibc-common-2.3.2-4.80.6
glibc-kernheaders-2.4-7.20
glibc-profile-2.3.2-4.80.6
glibc-2.3.2-4.80.6

[soliday@csr1 ioctest]$ ../../bin/linux-x86/test st.cmd
dbLoadDatabase("../../dbd/test.dbd",0,0)
registerRecordDeviceDriver(pdbbase)
dbLoadRecords("../../db/dbExample1.db","user=solidayHost")
dbLoadRecords("../../db/dbExample2.db","user=solidayHost,no=1,scan=1 second")
dbLoadRecords("../../db/dbExample2.db","user=solidayHost,no=2,scan=2 second")
dbLoadRecords("../../db/dbExample2.db","user=solidayHost,no=3,scan=5 second")
dbLoadRecords("../../db/dbSubExample.db","user=solidayHost")
iocInit()
############################################################################
### EPICS IOC CORE built on Aug 1 2003
### EPICS R3.14.2 $$Name: R3-14-2 $$ $$Date: 2003/03/18 22:44:29 $$
############################################################################
Starting iocInit
Record solidayHost:subExample called mySubInit(0x8299020, 0x805b370)
iocInit: All initialization complete
epics>



Mark Rivers wrote:
Bob,


If you are using Redhat 8.0 with all the updates installed you should
have glibc version 2.3.2-4.80.6


Can you verify that such a system will be a static executable of
exampleApp that works?  It would be very interesting to know.
Add the line STATIC_BUILD=YES to exampleApp/configure/CONFIG
and to a rebuild.

Thanks,
Mark




Navigate by Date:
Prev: dynamically remove PV's from excas? Benjamin Sailer
Next: Problem with static build on Linux solved Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Problem with static build on Linux Mark Rivers
Next: edb.def Bill Cruise
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·