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  <20102011  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  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Windows XP Cygwin cannot find -lCom
From: [email protected]
To: "Mark Rivers" <[email protected]>
Cc: [email protected]
Date: Mon, 30 Aug 2010 16:44:47 +0200
I changed my epics\base\configure\CONFIG_SITE file to set : 

SHARED_LIBRARIES=NO
STATIC_BUILD=YES

On Make, The error message is the same.

Then, I kept these parameters and I tried to build it using "HOST_ARCH=cygwin-x86" (after a make clean uinstall) : the lib file "epics\lib\cygwin-x86\Com.lib" has been generated and the message is the same.
==========================================================================================
collect2: ld returned 1 exit status
make[4]: *** [antelope.exe] Error 1
make[4]: Leaving directory `/home/m.verdier/epics/src/toolsComm/antelope/O.cygwin-x86'
make[3]: *** [install.cygwin-x86] Error 2
make[3]: Leaving directory `/home/m.verdier/epics/src/toolsComm/antelope'
make[2]: *** [antelope.install] Error 2
make[2]: Leaving directory `/home/m.verdier/epics/src/toolsComm'
make[1]: *** [toolsComm.install] Error 2
make[1]: Leaving directory `/home/m.verdier/epics/src'
make: *** [src.install] Error 2
==========================================================================================

Any other idea ???

-----"Mark Rivers" <[email protected]> a Ãcrit : -----

A : "Hu, Yong" <[email protected]>, <[email protected]>
De : "Mark Rivers" <[email protected]>
Date : 30/08/2010 16:19
cc: <[email protected]>
Objet : RE: Windows XP Cygwin cannot find -lCom

I have not built for HOST_ARCH=win32-x86-cygwin but I have built for HOST_ARCH=cygwin-x86, and there you must use SHARED_LIBRARIES=NO and STATIC_BUILD=YES.
 
Mark
 

________________________________

From: [email protected] on behalf of Hu, Yong
Sent: Mon 8/30/2010 9:09 AM
To: [email protected]
Cc: [email protected]
Subject: RE: Windows XP Cygwin cannot find -lCom



It seems you have Windows object(static library) 'Com.lib', but you're trying to link 'antelope.exe' with dynamic(shareable) library. Check out the build options 'STATIC_BUILD' and 'SHARED_LIBRARIES' in the configure file /base***/configure/CONFIG_SITE.

Yong

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Monday, August 30, 2010 10:01 AM
To: Mark Rivers
Cc: [email protected]
Subject: RE: Windows XP Cygwin cannot find -lCom

The build "Com" library file is located here with the name "Com.lib" :
C:\cygwin\home\m.verdier\epics\lib\win32-x86-cygwin\Com.lib


-----"Mark Rivers" <[email protected]> a Ãcrit : -----

A : <[email protected]>, <[email protected]>
De : "Mark Rivers" <[email protected]>
Date : 30/08/2010 15:41
Objet : RE: Windows XP Cygwin cannot find -lCom

Did it previously successfully build the "Com" library in this location:

C:\cygwin\home\m.verdier\epics\lib\win32-x86-cygwin

If so, what is the name of the file?

Mark


________________________________

From: [email protected] on behalf of [email protected]
Sent: Mon 8/30/2010 8:01 AM
To: [email protected]
Subject: Windows XP Cygwin cannot find -lCom



Hello,

I'm beginner in Epics.

I'm trying to build it on Windows XP with Cygwin (HOST_ARCH=win32-x86-cygwin).
I need some help to solve this build error :
=========================================================================================================
make[4]: Entering directory `/home/m.verdier/epics/src/toolsComm/antelope/O.win32-x86-cygwin'
g++ -o antelope.exe  -LC:\cygwin\home\m.verdier\epics\lib\win32-x86-cygwin       -m32    -mno-cygwin             closure.o error.o l
alr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o   -lCom

/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld: cannot find -lCom

collect2: ld returned 1 exit status
make[4]: *** [antelope.exe] Error 1
make[4]: Leaving directory `/home/m.verdier/epics/src/toolsComm/antelope/O.win32-x86-cygwin'
make[3]: *** [install.win32-x86-cygwin] Error 2
make[3]: Leaving directory `/home/m.verdier/epics/src/toolsComm/antelope'
make[2]: *** [antelope.install] Error 2
make[2]: Leaving directory `/home/m.verdier/epics/src/toolsComm'
make[1]: *** [toolsComm.install] Error 2
make[1]: Leaving directory `/home/m.verdier/epics/src'
make: *** [src.install] Error 2
=========================================================================================================

Thanks.
Max














Replies:
RE: Windows XP Cygwin cannot find -lCom Mark Rivers
Re: Windows XP Cygwin cannot find -lCom Geoff Savage
References:
Windows XP Cygwin cannot find -lCom M . VERDIER
RE: Windows XP Cygwin cannot find -lCom Mark Rivers
RE: Windows XP Cygwin cannot find -lCom M . VERDIER
RE: Windows XP Cygwin cannot find -lCom Hu, Yong
RE: Windows XP Cygwin cannot find -lCom Mark Rivers

Navigate by Date:
Prev: RE: Windows XP Cygwin cannot find -lCom Mark Rivers
Next: Re: Windows XP Cygwin cannot find -lCom Geoff Savage
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Windows XP Cygwin cannot find -lCom Mark Rivers
Next: RE: Windows XP Cygwin cannot find -lCom Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  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 ·