Experimental Physics and Industrial Control System
Today morning, I passed successfully Epics build, solving my "lCom" problem, thanks to GNU Make v3.81 !
Thank you Mark for the file.
Now, I will try to develop some IOCs and play with EPICS environment, under Cygwin with HOST_ARCH=cygwin-x86.
I will have a look later for Windows and Unix build of EPICS ...
Thank you again and have a nice day.
Max
-----"Mark Rivers" <[email protected]> a Ãcrit : -----
A : <[email protected]>
De : "Mark Rivers" <[email protected]>
Date : 30/08/2010 18:30
cc: "Hu, Yong" <[email protected]>, <[email protected]>, <[email protected]>
Objet : RE: Windows XP Cygwin cannot find -lCom
What version of "make" are you running? The version that came with a recent release of Cygwin? If so, then there is a known problem, you need to run an older version of "make". Unfortunately both good and bad versions of make identify themselves as 3.81.
You can get a good version here:
http://cars.uchicago.edu/software/pub/make.gz
gunzip the file, rename the resulting "make" to "make.exe" and replace the version in cygwin/bin with that version.
Mark
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Monday, August 30, 2010 10:32 AM
To: Mark Rivers
Cc: Hu, Yong; [email protected]; [email protected]
Subject: RE: Windows XP Cygwin cannot find -lCom
I change my path from m.verdier to /etc/epics :
- After a MAKE CLEAN and MAKE
- setting SHARED_LIBRARIES=NO and STATIC_BUILD=YES
- HOST_ARCH=win32-x86-cygwin
========================================================================================
/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 `/etc/epics/src/toolsComm/antelope/O.win32-x86-cygwin'
make[3]: *** [install.win32-x86-cygwin] Error 2
make[3]: Leaving directory `/etc/epics/src/toolsComm/antelope'
make[2]: *** [antelope.install] Error 2
make[2]: Leaving directory `/etc/epics/src/toolsComm'
make[1]: *** [toolsComm.install] Error 2
make[1]: Leaving directory `/etc/epics/src'
make: *** [src.install] Error 2
========================================================================================
THEN
- After a MAKE CLEAN and MAKE
- setting SHARED_LIBRARIES=NO and STATIC_BUILD=YES
- HOST_ARCH=cygwin-x86
========================================================================================
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lCom
collect2: ld returned 1 exit status
make[4]: *** [antelope.exe] Error 1
make[4]: Leaving directory `/etc/epics/src/toolsComm/antelope/O.cygwin-x86'
make[3]: *** [install.cygwin-x86] Error 2
make[3]: Leaving directory `/etc/epics/src/toolsComm/antelope'
make[2]: *** [antelope.install] Error 2
make[2]: Leaving directory `/etc/epics/src/toolsComm'
make[1]: *** [toolsComm.install] Error 2
make[1]: Leaving directory `/etc/epics/src'
make: *** [src.install] Error 2
========================================================================================
Time to leave my working place for today (France).
I will try again tomorrow and I will give you some news.
Cheers
-----"Geoff Savage" a Ãcrit : -----
Subject: Re: Windows XP Cygwin cannot find -lCom
From: Geoff Savage <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Mon, 30 Aug 2010 09:55:37 -0500
Rebuild everything.
gmake clean
gmake
-----"Mark Rivers" <[email protected]> a Ãcrit : -----
A : <[email protected]>
De : "Mark Rivers" <[email protected]>
Date : 30/08/2010 16:42
cc: "Hu, Yong" <[email protected]>, <[email protected]>
Objet : RE: Windows XP Cygwin cannot find -lCom
I wonder if the problem could be the "." in your path in m.verdier? Try renaming that directory and see if you get the same error.
It should definitely build on cygwin-x86 unless you have the problem with the wrong version of "make".
I believe cygwin-x86 and win32-x86-cygwin are different. The former requires the Cygwin DLL at run time, the latter does not.
Mark
________________________________
From: [email protected] [mailto:[email protected]]
Sent: Mon 8/30/2010 9:44 AM
To: Mark Rivers
Cc: Hu, Yong; [email protected]
Subject: RE: Windows XP Cygwin cannot find -lCom
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 J. Lewis Muir
- 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
- RE: 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 Mark Rivers
- Navigate by Date:
- Prev:
RE: network video Mark Rivers
- Next:
RE: sCalcout - again peter.owens
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
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: Windows XP Cygwin cannot find -lCom Mark Rivers
- Next:
Re: Windows XP Cygwin cannot find -lCom J. Lewis Muir
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024