EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problem installing sscan 2-6-6 on cygwin
From: Tim Mooney <[email protected]>
To: Zhan Zhang <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Fri, 20 May 2011 15:10:39 -0500 (CDT)
Zhang,

It looks like you're building for/with shared libraries,
which I think doesn't work on cygwin.  In base/configure/CONFIG_SITE,
make sure you have the following:
SHARED_LIBRARIES=NO
STATIC_BUILD=YES

If not, you need to "make clean uninstall" in base and in synApps,
set those variables, and rebuild.
Tim

----- Original Message -----
From: "Zhan Zhang" <[email protected]>
To: "EPICS Tech Talk" <[email protected]>
Sent: Friday, May 20, 2011 2:46:40 PM
Subject: Problem installing sscan 2-6-6 on cygwin

Hi,
	I am throwing out more questions--this time is about sscan 2-6-6
installation on cygwin, with EPICS base 3.14.11.  I got error and I have no
clue what I am missing.  I cut the part about sscan only here.  
	Please help me.  Thanks!

*******************
make -C /usr/local/synApps_5_5/support/sscan-2-6-6 install
make[1]: Entering directory `/usr/local/synApps_5_5/support/sscan-2-6-6'
make -C ./configure install
make[2]: Entering directory
`/usr/local/synApps_5_5/support/sscan-2-6-6/configure'
make -C O.cygwin-x86 -f ../Makefile TOP=../.. T_A=cygwin-x86 install
make[3]: Entering directory
`/usr/local/synApps_5_5/support/sscan-2-6-6/configure/O.cygwin-x86'
perl /usr/local/base-3.14.11/bin/cygwin-x86/convertRelease.pl checkRelease
make[3]: Leaving directory
`/usr/local/synApps_5_5/support/sscan-2-6-6/configure/O.cygwin-x86'
make[2]: Leaving directory
`/usr/local/synApps_5_5/support/sscan-2-6-6/configure'
make -C ./sscanApp install
make[2]: Entering directory
`/usr/local/synApps_5_5/support/sscan-2-6-6/sscanApp'
make -C ./src install
make[3]: Entering directory
`/usr/local/synApps_5_5/support/sscan-2-6-6/sscanApp/src'
make -C O.cygwin-x86 -f ../Makefile TOP=../../.. T_A=cygwin-x86 install
make[4]: Entering directory
`/usr/local/synApps_5_5/support/sscan-2-6-6/sscanApp/src/O.cygwin-x86'
g++ -o sscan.dll -shared -Wl,--out-implib,sscan.lib
-L/usr/local/base-3.14.11/lib/cygwin-x86       -m32               ss
canRecord.o scanparmRecord.o recDynLink.o req_file.o xdr_lib.o saveData.o
-lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc -
ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom  -lrpc
-lpthread   -lreadline -lcurses -lm
sscanRecord.o:sscanRecord.c:(.text+0x82a8): undefined reference to
`__imp__recDynLinkConnectionStatus@4'
sscanRecord.o:sscanRecord.c:(.text+0x8345): undefined reference to
`__imp__recDynLinkGetUnits@12'
sscanRecord.o:sscanRecord.c:(.text+0x835b): undefined reference to
`__imp__recDynLinkGetPrecision@8'
sscanRecord.o:sscanRecord.c:(.text+0x8385): undefined reference to
`__imp__recDynLinkGetControlLimits@12'
sscanRecord.o:sscanRecord.c:(.text+0x8635): undefined reference to
`__imp__recDynLinkGetUnits@12'
sscanRecord.o:sscanRecord.c:(.text+0x864b): undefined reference to
`__imp__recDynLinkGetPrecision@8'
sscanRecord.o:sscanRecord.c:(.text+0x8671): undefined reference to
`__imp__recDynLinkGetGraphicLimits@12'
sscanRecord.o:sscanRecord.c:(.text+0x8709): undefined reference to
`__imp__recDynLinkGetNelem@8'
sscanRecord.o:sscanRecord.c:(.text+0x8c14): undefined reference to
`__imp__recDynLinkAddOutput@20'
sscanRecord.o:sscanRecord.c:(.text+0x8c4f): undefined reference to
`__imp__recDynLinkAddInput@24'
sscanRecord.o:sscanRecord.c:(.text+0x8cd4): undefined reference to
`__imp__recDynLinkAddOutput@20'
sscanRecord.o:sscanRecord.c:(.text+0x975f): undefined reference to
`__imp__recDynLinkGet@24'
sscanRecord.o:sscanRecord.c:(.text+0x9cd0): undefined reference to
`__imp__recDynLinkGet@24'
sscanRecord.o:sscanRecord.c:(.text+0xb6b6): undefined reference to
`__imp__recDynLinkClear@4'
sscanRecord.o:sscanRecord.c:(.text+0xb6e0): undefined reference to
`__imp__recDynLinkClear@4'
sscanRecord.o:sscanRecord.c:(.text+0xb8fb): undefined reference to
`__imp__recDynLinkClear@4'
sscanRecord.o:sscanRecord.c:(.text+0xb91b): undefined reference to
`__imp__recDynLinkClear@4'
sscanRecord.o:sscanRecord.c:(.text+0xbfba): undefined reference to
`__imp__recDynLinkClear@4'
sscanRecord.o:sscanRecord.c:(.text+0xbfe5): more undefined references to
`__imp__recDynLinkClear@4' follow
sscanRecord.o:sscanRecord.c:(.text+0xc0e8): undefined reference to
`__imp__recDynLinkGet@24'
sscanRecord.o:sscanRecord.c:(.text+0xc9c9): undefined reference to
`__imp__recDynLinkGet@24'
sscanRecord.o:sscanRecord.c:(.text+0xcb0d): undefined reference to
`__imp__recDynLinkGet@24'
sscanRecord.o:sscanRecord.c:(.text+0xe94a): undefined reference to
`__imp__recDynLinkGet@24'
sscanRecord.o:sscanRecord.c:(.text+0xf0c3): undefined reference to
`__imp__recDynLinkGet@24'
sscanRecord.o:sscanRecord.c:(.text+0xf584): more undefined references to
`__imp__recDynLinkGet@24' follow
sscanRecord.o:sscanRecord.c:(.text+0x100ef): undefined reference to
`__imp__recDynLinkPutCallback@16'
sscanRecord.o:sscanRecord.c:(.text+0x1036b): undefined reference to
`__imp__recDynLinkPutCallback@16'
sscanRecord.o:sscanRecord.c:(.text+0x104c8): undefined reference to
`__imp__recDynLinkPutCallback@16'
sscanRecord.o:sscanRecord.c:(.text+0x1070d): undefined reference to
`__imp__recDynLinkPutCallback@16'
sscanRecord.o:sscanRecord.c:(.text+0x109c8): undefined reference to
`__imp__recDynLinkPutCallback@16'
sscanRecord.o:sscanRecord.c:(.text+0x10dce): more undefined references to
`__imp__recDynLinkPutCallback@16' follow
sscanRecord.o:sscanRecord.c:(.text+0x10f7b): undefined reference to
`__imp__recDynLinkPut@12'
sscanRecord.o:sscanRecord.c:(.text+0x10fe1): undefined reference to
`__imp__recDynLinkPut@12'
sscanRecord.o:sscanRecord.c:(.text+0x11029): undefined reference to
`__imp__recDynLinkPut@12'
Creating library file: sscan.lib
collect2: ld returned 1 exit status
make[4]: *** [sscan.dll] Error 1
make[4]: Leaving directory
`/usr/local/synApps_5_5/support/sscan-2-6-6/sscanApp/src/O.cygwin-x86'
make[3]: *** [install.cygwin-x86] Error 2
make[3]: Leaving directory
`/usr/local/synApps_5_5/support/sscan-2-6-6/sscanApp/src'
make[2]: *** [src.install] Error 2
make[2]: Leaving directory
`/usr/local/synApps_5_5/support/sscan-2-6-6/sscanApp'
make[1]: *** [sscanApp.install] Error 2
make[1]: Leaving directory `/usr/local/synApps_5_5/support/sscan-2-6-6'
make: *** [/usr/local/synApps_5_5/support/sscan-2-6-6.install] Error 2
********************
---------------------------------
Zhan Zhang, Ph. D.
Argonne National Laboratory
X-ray Science Division, 438-D005
9700 S. Cass Ave.
Argonne, IL 60439
Tel : 630-252-0863
Email: [email protected]



-- 
Tim Mooney ([email protected]) (630)252-5417
Software Services Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


References:
Problem installing sscan 2-6-6 on cygwin Zhan Zhang

Navigate by Date:
Prev: RE: multi-threaded client example Jeff Hill
Next: Re: Problem installing EPICS Base 3.14.12.1 on Cygwin/Win XP (32bit) Janet Anderson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problem installing sscan 2-6-6 on cygwin Zhan Zhang
Next: RE: trouble with 64-bit Window7 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·