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: 3.14.7 - build on solaris - error
From: Zoltan Kakucs <[email protected]>
To: Tech Talk <[email protected]>
Date: Tue, 02 Aug 2005 17:16:43 +0200
Hi,

I download the release 3.14.7 from the official Epics-Site and try to build it on Solaris 8.
I run into some errors I could solve, but now I have the following one:


***
/opt/SUNWspro/bin/CC -o genApps -L../../../lib/solaris-sparc/ -mt -z ignore -z combreloc -z lazyload -R/user/Epics/base-3.14.7/lib/solaris-sparc genApps.o gdd.o gddTest.o gddAppTable.o gddNewDel.o gddAppDefs.o aitTypes.o aitConvert.o aitHelpers.o gddArray.o gddContainer.o gddErrorCodes.o gddUtils.o gddEnumStringTable.o -lCom
Installing binary ../../../bin/solaris-sparc/genApps
../../../bin/solaris-sparc/genApps ../O.Common/gddApps.h
ld.so.1: ../../../bin/solaris-sparc/genApps: fatal: relocation error: file ../../../bin/solaris-sparc/genApps: symbol __1cKepicsMutex2t6M_v_: referenced symbol not found
gmake[3]: *** [../O.Common/gddApps.h] Killed
***


I'm already out of any idea.
Has anybody seen this error before?

Regards,

Zoltan


P.S.: Just for your information, I run across these two errors, too:


1.

/opt/SUNWspro/bin/cc -c -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500 -DUNIX -DSOLARIS=8 -mt -D__EXTENSIONS__ -Xc -v -xO4 -DEPICS_COMMANDLINE_LIBRARY=EPICS_COMMANDLINE_LIBRARY_READLINE -KPIC -I. -I.. -I../../../src/libCom/bucketLib -I../../../src/libCom/ring -I../../../src/libCom/calc -I../../../src/libCom/cvtFast -I../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates -I../../../src/libCom/dbmf -I../../../src/libCom/ellLib -I../../../src/libCom/env -I../../../src/libCom/error -I../../../src/libCom/fdmgr -I../../../src/libCom/freeList -I../../../src/libCom/gpHash -I../../../src/libCom/logClient -I../../../src/libCom/macLib -I../../../src/libCom/misc -I../../../src/libCom/osi -I../../../src/libCom/taskwd -I../../../src/libCom/timer -I../../../src/libCom/tsDefs -I../../../include/os/solaris -I../../../include -I/opt/gnu/include ../../../src/libCom/osi/os/default/epicsReadline.c
"../../../src/libCom/osi/os/default/epicsReadline.c", line 76: cannot find include file: <readline/readline.h>
"../../../src/libCom/osi/os/default/epicsReadline.c", line 77: cannot find include file: <readline/history.h>
"../../../src/libCom/osi/os/default/epicsReadline.c", line 101: warning: implicit function declaration: stifle_history
"../../../src/libCom/osi/os/default/epicsReadline.c", line 102: warning: implicit function declaration: rl_bind_key
"../../../src/libCom/osi/os/default/epicsReadline.c", line 102: undefined symbol: rl_insert
"../../../src/libCom/osi/os/default/epicsReadline.c", line 124: warning: implicit function declaration: readline
"../../../src/libCom/osi/os/default/epicsReadline.c", line 124: warning: improper pointer/integer combination: op "="
"../../../src/libCom/osi/os/default/epicsReadline.c", line 162: warning: implicit function declaration: add_history
cc: acomp failed for ../../../src/libCom/osi/os/default/epicsReadline.c
gmake[3]: *** [epicsReadline.o] Error 2
gmake[3]: Leaving directory `/user/Epics/base-3.14.7/src/libCom/O.solaris-sparc'
gmake[2]: *** [install.solaris-sparc] Error 2
gmake[2]: Leaving directory `/user/Epics/base-3.14.7/src/libCom'
gmake[1]: *** [libCom.install] Error 2
gmake[1]: Leaving directory `/user/Epics/base-3.14.7/src'
gmake: *** [src.install] Error 2


Solution:
configure/os/CONFIG_SITE.Common.solaris-sparc

comment the line >> COMMANDLINE_LIBRARY = READLINE


2.


/opt/SUNWspro/bin/CC -c -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500 -DUNIX -DSOLARIS=8 -mt -D__EXTENSIONS__ -O +w -I. -I.. -I../../../../include/os/solaris -I../../../../include ../epicsExceptionTest.cpp
"../epicsExceptionTest.cpp", line 106: Error: Cannot create a variable for abstract class exThread.
1 Error(s) detected.
gmake[3]: *** [epicsExceptionTest.o] Error 1
gmake[3]: Leaving directory `/user/Epics/base-3.14.7/src/libCom/test/O.solaris-sparc'
gmake[2]: *** [install.solaris-sparc] Error 2
gmake[2]: Leaving directory `/user/Epics/base-3.14.7/src/libCom/test'
gmake[1]: *** [libCom/test.install] Error 2
gmake[1]: Leaving directory `/user/Epics/base-3.14.7/src'
gmake: *** [src.install] Error 2



Solution: src/libCom/test/Makefile


comment line >

# epicsExceptionTestHost_SRCS += epicsExceptionTestMain.cpp epicsExceptionTest.cpp
# PROD_HOST += epicsExceptionTestHost
# OBJS_IOC_vxWorks += epicsExceptionTest



--


Zoltan Kakucs
Deutsches Elektronen-Synchrotron DESY
in der Helmholtz-Gemeinschaft
Cryogenic Control Group
Notkestraße 85
D-22607 Hamburg
+49 (0) 40 8998 - 3283 Voice
+49 (0) 40 8998 - 4388 Fax
mailto: [email protected]
DESY Hamburg at http://www.desy.de

***********************************************************

"Mut bedeutet nicht, keine Angst zu haben,
                 sondern es ist die Entscheidung,
         dass etwas anderes wichtiger ist, als die Angst."


"Courage is not the absence of fear, but rather the judgement that something else is more important than fear"

Ambrose Red Moon

***********************************************************


Navigate by Date:
Prev: Table tool in EDM Chithra Karunakaran
Next: device supports for EVG200, VME-EVR-200, VME-EVR-RF-200, GUN-TX, GUN-RC 黄松
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: Table tool in EDM Chithra Karunakaran
Next: Re: 3.14.7 - build on solaris - error Zoltan Kakucs
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 ·