EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  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  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Failed to install sequencer 2.0.11 on WIN32
From: "Zhang, Zhan" <[email protected]>
To: <[email protected]>
Date: Fri, 6 Oct 2006 18:33:47 -0500
Hi,
	I am new to EPCIS and hope to get some help to solve
installation problem.
	I am working on winXP Pro with CGWIN (GNUmake 3.81), and Visual
C++ 2005 express as the compiler.  I run 'make' in the VC2005 CMD window
because I could not figure out how to do it right in CGWIN.  I did get
the EPICS base-3.14.8.2 installed without modifying the file
configure/RULES_BUILD.  NO warning or error messages have been found and
the exmaple got compiled and run ok.  
	However, when I tried to install the sequencer package 2-0-11, I
run into trouble and here is the complete messages (between ***):

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++
C:\CGWIN\usr\local\synApps_5_1_1\support\seq\2-0-11>make
make -C configure install
make[1]: Entering directory
`/usr/local/synApps_5_1_1/support/seq/2-0-11/configure'
perl /base-3.14.8.2/configure/tools/convertRelease.pl -h win32-x86
checkRelease
perl /base-3.14.8.2/configure/tools/makeMakefile.pl O.win32-x86 ../..
perl /base-3.14.8.2/configure/tools/mkdir.pl O.Common
make -C O.win32-x86 -f ../Makefile TOP=../.. T_A=win32-x86 install
make[2]: Entering directory
`/usr/local/synApps_5_1_1/support/seq/2-0-11/configure/O.win32-x86'
perl /base-3.14.8.2/configure/tools/convertRelease.pl -h win32-x86
CONFIG_APP_INCLUDE
perl /base-3.14.8.2/configure/tools/convertRelease.pl -h win32-x86
RULES_INCLUDE
make[2]: Leaving directory
`/usr/local/synApps_5_1_1/support/seq/2-0-11/configure/O.win32-x86'
make[1]: Leaving directory
`/usr/local/synApps_5_1_1/support/seq/2-0-11/configure'
make -C src install
make[1]: Entering directory
`/usr/local/synApps_5_1_1/support/seq/2-0-11/src'
make -C pv install
make[2]: Entering directory
`/usr/local/synApps_5_1_1/support/seq/2-0-11/src/pv'
perl /base-3.14.8.2/configure/tools/makeMakefile.pl O.win32-x86 ../../..
perl /base-3.14.8.2/configure/tools/mkdir.pl O.Common
make -C O.win32-x86 -f ../Makefile TOP=../../.. T_A=win32-x86 install
make[3]: Entering directory
`/usr/local/synApps_5_1_1/support/seq/2-0-11/src/pv/O.win32-x86'
make[3]: Leaving directory
`/usr/local/synApps_5_1_1/support/seq/2-0-11/src/pv/O.win32-x86'
make[3]: Entering directory
`/usr/local/synApps_5_1_1/support/seq/2-0-11/src/pv/O.win32-x86'
Installing generic include file ../../../include/pv.h
mkdir ../../../include
Installing generic include file ../../../include/pvAlarm.h
Installing generic include file ../../../include/pvCa.h
cl /nologo /EHsc /GR -c          -DPVCA    /D_CRT_SECURE_NO_DEPRECATE
/D_CRT_NONSTDC_NO_DEPRECATE /D__STDC__=0  /Ox /GL
  /W3 /w44355       /MD    -I. -I.. -I..\\..\\..\\include\\os\\WIN32
-I..\\..\\..\\include -I\\base-3.14.8.2\\include\\o
s\\WIN32 -I\\base-3.14.8.2\\include       /Tp ..\\pvNew.cc
pvNew.cc
cl /nologo /EHsc /GR -c          -DPVCA    /D_CRT_SECURE_NO_DEPRECATE
/D_CRT_NONSTDC_NO_DEPRECATE /D__STDC__=0  /Ox /GL
  /W3 /w44355       /MD    -I. -I.. -I..\\..\\..\\include\\os\\WIN32
-I..\\..\\..\\include -I\\base-3.14.8.2\\include\\o
s\\WIN32 -I\\base-3.14.8.2\\include       /Tp ..\\pv.cc
pv.cc
..\pv.cc(247) : warning C4390: ';' : empty controlled statement found;
is this the intent?
..\pv.cc(343) : warning C4390: ';' : empty controlled statement found;
is this the intent?
..\pv.cc(368) : warning C4390: ';' : empty controlled statement found;
is this the intent?
cl /nologo /EHsc /GR -c          -DPVCA    /D_CRT_SECURE_NO_DEPRECATE
/D_CRT_NONSTDC_NO_DEPRECATE /D__STDC__=0  /Ox /GL
  /W3 /w44355       /MD    -I. -I.. -I..\\..\\..\\include\\os\\WIN32
-I..\\..\\..\\include -I\\base-3.14.8.2\\include\\o
s\\WIN32 -I\\base-3.14.8.2\\include       /Tp ..\\pvCa.cc
pvCa.cc
link /nologo /subsystem:windows /dll /LTCG /incremental:no /opt:ref
/release     /implib:pv.lib /out:pv.dll      pvNew.o
bj pv.obj pvCa.obj      /base-3.14.8.2/lib/win32-x86/ca.lib
/base-3.14.8.2/lib/win32-x86/Com.lib
LINK : warning LNK4044: unrecognized option
'/base-3.14.8.2/lib/win32-x86/ca.lib'; ignored
LINK : warning LNK4044: unrecognized option
'/base-3.14.8.2/lib/win32-x86/Com.lib'; ignored
   Creating library pv.lib and object pv.exp
pvNew.obj : error LNK2001: unresolved external symbol "public: bool
__thiscall epicsTime::operator<(class epicsTime cons
t &)const " (??MepicsTime@@QBE_NABV0@@Z)
pvNew.obj : error LNK2001: unresolved external symbol "public: bool
__thiscall epicsTime::operator<=(class epicsTime con
st &)const " (??NepicsTime@@QBE_NABV0@@Z)
pvNew.obj : error LNK2001: unresolved external symbol "public: class
epicsTime __thiscall epicsTime::operator+(double co
nst &)const " (??HepicsTime@@QBE?AV0@ABN@Z)
pvNew.obj : error LNK2001: unresolved external symbol "public:
__thiscall epicsTime::epicsTime(class epicsTime const &)"
 (??0epicsTime@@QAE@ABV0@@Z)
pvNew.obj : error LNK2001: unresolved external symbol "public:
__thiscall epicsTime::epicsTime(struct epicsTimeStamp con
st &)" (??0epicsTime@@QAE@ABUepicsTimeStamp@@@Z)
pvNew.obj : error LNK2001: unresolved external symbol "public:
__thiscall epicsTime::epicsTime(struct time_t_wrapper con
st &)" (??0epicsTime@@QAE@ABUtime_t_wrapper@@@Z)
pvNew.obj : error LNK2001: unresolved external symbol "public:
__thiscall epicsTime::epicsTime(struct local_tm_nano_sec
const &)" (??0epicsTime@@QAE@ABUlocal_tm_nano_sec@@@Z)
pvNew.obj : error LNK2001: unresolved external symbol "public:
__thiscall epicsTime::epicsTime(struct timespec const &)"
 (??0epicsTime@@QAE@ABUtimespec@@@Z)
pvNew.obj : error LNK2001: unresolved external symbol "public:
__thiscall epicsTime::epicsTime(struct l_fp const &)" (??
0epicsTime@@QAE@ABUl_fp@@@Z)
pvNew.obj : error LNK2001: unresolved external symbol "public:
__thiscall epicsTime::epicsTime(class aitTimeStamp const
&)" (??0epicsTime@@QAE@ABVaitTimeStamp@@@Z)
pvNew.obj : error LNK2001: unresolved external symbol "public: virtual
void __thiscall epicsThreadRunable::show(unsigned
 int)const " (?show@epicsThreadRunable@@UBEXI@Z)
pvNew.obj : error LNK2001: unresolved external symbol "public: virtual
__thiscall epicsThreadRunable::~epicsThreadRunabl
e(void)" (??1epicsThreadRunable@@UAE@XZ)
pvNew.obj : error LNK2001: unresolved external symbol "public:
__thiscall epicsEvent::epicsEvent(enum epicsEventInitialS
tate)" (??0epicsEvent@@QAE@W4epicsEventInitialState@@@Z)
pv.obj : error LNK2001: unresolved external symbol _epicsMutexLock@4
pv.obj : error LNK2001: unresolved external symbol _epicsAssert@16
pv.obj : error LNK2001: unresolved external symbol
_epicsTimeGetCurrent@4
pv.obj : error LNK2001: unresolved external symbol _epicsMutexUnlock@4
pv.obj : error LNK2001: unresolved external symbol
_epicsMutexOsiMustCreate@8
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_task_exit@0
pvCa.obj : error LNK2001: unresolved external symbol
__imp__dbr_value_size
pvCa.obj : error LNK2001: unresolved external symbol __imp__ca_message@4
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_element_count@4
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_flush_io@0
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_current_context@0
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_array_put_callback@24
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_search_and_connect@16
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_pend_event@8
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_attach_context@4
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_array_put@16
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_add_masked_array_event@52
pvCa.obj : error LNK2001: unresolved external symbol
__imp__dbr_value_offset
pvCa.obj : error LNK2001: unresolved external symbol __imp__ca_state@4
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_context_create@4
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_field_type@4
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_clear_event@4
pvCa.obj : error LNK2001: unresolved external symbol __imp__dbr_size
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_array_get_callback@20
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_array_get@16
pvCa.obj : error LNK2001: unresolved external symbol __imp__ca_pend_io@8
pvCa.obj : error LNK2001: unresolved external symbol __imp__ca_puser@4
pvCa.obj : error LNK2001: unresolved external symbol
__imp__ca_clear_channel@4
pv.dll : fatal error LNK1120: 41 unresolved externals
make[3]: *** [pv.dll] Error 96
make[3]: Leaving directory
`/usr/local/synApps_5_1_1/support/seq/2-0-11/src/pv/O.win32-x86'
make[2]: *** [install.win32-x86] Error 2
make[2]: Leaving directory
`/usr/local/synApps_5_1_1/support/seq/2-0-11/src/pv'
make[1]: *** [pv.install] Error 2
make[1]: Leaving directory
`/usr/local/synApps_5_1_1/support/seq/2-0-11/src'
make: *** [src.install] Error 2
	
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++

It seems to me the key is these two lines--

LINK : warning LNK4044: unrecognized option
'/base-3.14.8.2/lib/win32-x86/ca.lib'; ignored
LINK : warning LNK4044: unrecognized option
'/base-3.14.8.2/lib/win32-x86/Com.lib'; ignored

But I have no idea what led to this.  

Here are my settings for PATH, INCLUDE and LIB in winXP.  
============================================
Path=C:\Program Files\Microsoft Platform SDK for Windows Server 2003
R2\Bin;C:\Program Files\Microsoft Platform SDK for
Windows Server 2003 R2\Bin\WinNT;C:\Program Files\Microsoft Visual
Studio 8\Common7\IDE;C:\Program Files\Microsoft Visua
l Studio 8\VC\BIN;C:\Program Files\Microsoft Visual Studio
8\Common7\Tools;C:\Program Files\Microsoft Visual Studio 8\SD
K\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files\Microsoft Visual Studio 8\VC\VCPackages;C:\WIN
DOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;c:\program
files\matlab\r2006b\bin;c:\program files\matlab\r2006b\bin\
win32;c:\program
files\ultraedit;c:\cgwin\bin;C:\CGWIN\base-3.14.8.2\bin\win32-x86;

LIB=c:\cgwin\base-3.14.8.2\lib;C:\CGWIN\base-3.14.8.2\lib\win32-x86;C:\P
rogram Files\Microsoft Platform SDK for Windows
Server 2003 R2\Lib;C:\Program Files\Microsoft Visual Studio
8\VC\LIB;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0
\lib;
LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

INCLUDE=C:\CGWIN\base-3.14.8.2\include;C:\CGWIN\base-3.14.8.2\include\os
\WIN32;C:\Program Files\Microsoft Platform SDK f
or Windows Server 2003 R2\Include;C:\Program Files\Microsoft Visual
Studio 8\VC\INCLUDE;
=====================================================

Could you please help on this issue?  Any suggestion is welcome.  
Thanks and have a nice weekend!

Zhan


*****************************************
Zhan Zhang
Argonne National Laboratory
X-ray Science Division
Bldg 438, D005
9700 S. Cass Ave
Argonne, IL 60439
Tel: (630) 252-0863
Email: [email protected]
*****************************************


Replies:
RE: Failed to install sequencer 2.0.11 on WIN32 Mark Rivers

Navigate by Date:
Prev: RE: CA disconnect mechanism Jeff Hill
Next: RE: sequencer installation Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: CA disconnect mechanism Jeff Hill
Next: RE: Failed to install sequencer 2.0.11 on WIN32 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  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 ·