EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  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  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: SDDS build error
From: Bob Soliday <[email protected]>
To: Kevin Tsubota <[email protected]>, [email protected]
Date: Tue, 01 Nov 2005 10:02:48 -0600
Ernest is right. In SDDS/SDDSaps/sddsplots/Makefile.OAG change
OP_SYS_LDLIBS += -lz -lXt -lX11
to
OP_SYS_LDLIBS += -lz -lrt -lXt -lX11

I have modified the makefile in our source code tree so it will be fixed in the next release. The build rules can get pretty compilcated trying to support multiple versions of base, multiple OSes, mulitple compilers, and static and dynamic builds.

--Bob Soliday

Ernest L. Williams Jr. wrote:
On Mon, 2005-10-31 at 17:40 -1000, Kevin Tsubota wrote:

Hi,

Iâm trying to build the SDDS package under EPICS r3.13.10 on Solaris-8
but canât get around the following error:





gmake[5]: Entering directory
`/home/ktsubota/epics/r3.13.10/extensions/src/SDDS/SDDSaps/sddsplots/O.solaris'

/usr/local/gcc/gcc-3.3-gnu/bin/g++ -ansi -pedantic -Wtraditional -o
sddsplot -O  -Wall -Wmissing-prototypes -Woverloaded-virtual
-Wwrite-strings -Wconversion -Wstrict-prototypes -Wpointer-arith
-Winline    -fPIC -D_REENTRANT  -DUNIX -DEXPL_TEMPL -I. -I..
-I../../../../../include -I../../../../../include/os/solaris
-I/home/ktsubota/epics/r3.13.10/base/include/os/solaris
-I/home/ktsubota/epics/r3.13.10/base/include     -DSOLARIS=8
-L../../../../../lib/solaris/ -L/usr/openwin/lib/
-L/usr/local/gcc/gcc-3.3-gnu/lib -R/usr/local/gcc/gcc-3.3-gnu/lib
SDDSaps.o put_link_date.o sddsplot.o sddsplotAP.o sddsplotConvert.o
sddsplotFilter.o sddsplotLabels.o sddsplotMapping.o sddsplotRead.o
sddsplotRecord.o sddsplotXfer.o sddsplotGroup.o    -lmdbplt
-lmdbcommon -lSDDS1 -lmdbmth -lmdblib -lgd -lpng -lXaw -lXmu -lXext
-lcurses -lsocket -lnsl  -lm -lz -lXt -lX11

../../../../../lib/solaris//libmdbcommon.a(logfile_gener.o): In
function `getTimeInSecs':

logfile_gener.o(.text+0x380): undefined reference to `clock_gettime'

collect2: ld returned 1 exit status



I know clock_gettime is in libc.a but even when I specify it âlc it
doesnât find it.


I think that routine is in "-lrt "



Thanks,
Ernest





Any help would be appreciated.



Mahalo.

Kevin









References:
SDDS build error Kevin Tsubota
Re: SDDS build error Ernest L. Williams Jr.

Navigate by Date:
Prev: Re: SDDS build error Ernest L. Williams Jr.
Next: RE: SDDS build error Kevin Tsubota
Index: 1994  1995  1996  1997  1998  1999  2000  2001  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: SDDS build error Ernest L. Williams Jr.
Next: RE: SDDS build error Kevin Tsubota
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  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 ·