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: RE: Make error after "makeBaseApp.pl" on win32-x86
From: "Zhan Zhang" <[email protected]>
To: "'Andy Foster'" <[email protected]>, "'Epics Questions'" <[email protected]>
Date: Wed, 11 Oct 2006 08:32:27 -0500
Hi Andy,
	I will pitch in a bit before others get to this.  I am new to EPICS
(and everything else related) so I might talk about something completely
irrelavent.  I did saw this error when trying to install the synApp package
after successfully (or I thought) installing the base.  I pretty much did
the same thing for base installation as you did and got the 'multiple target
patterns'.
	I googled a little and found that someone said the problem is the
':' in the path.  Sorry I forgot where did I found that but it seems to me
that the information in the thread are not so consistent.  Someone else
suggested using the 'relative path' to get rid of things like 'C:\', but
that did not work for me either (I tried format like ../.., ..\\.., etc).
Later I found another post saying GNU make 3.81 drop the support of 'C:\'
format.  I am not sure if this is the case.  But if it is 3.81 problem,
going back to 3.80 should be one solultion.  I did not tried that--I
switched to CGWIN shell and put all paths linux way.   
	Someone please correct me if I am talking nonsense here. :-)

Zhan

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


> -----Original Message-----
> From: Andy Foster [mailto:[email protected]] 
> Sent: Wednesday, October 11, 2006 5:38 AM
> To: Epics Questions
> Subject: Make error after "makeBaseApp.pl" on win32-x86
> 
> 
> 
> Hi All,
> 
> I've just compiled EPICS base 3.14.8.2 on Windows XP.
> That worked fine.
> 
> I've used this batch file to set up my build environment:
> 
> ********************************************
> set EPICS_HOST_ARCH=WIN32-x86
> set HOST_ARCH=WIN32
> 
> rem ## Add EPICS to the path
> set path=C:\cygwin\home\Andy\epics\base-3.14.8.2\bin\WIN32-x86;%path%
> 
> rem ## Add Cygnus GNU win32 to the path
> set path=C:\cygwin\bin;C:\cygwin\usr\local\bin;%path%
> set MAKE_MODE=unix
> 
> call "C:\Program Files\Microsoft Visual Studio 
> 8\VC\bin\vcvars32.bat" call "C:\Program Files\Microsoft 
> Platform SDK for Windows Server 2003 R2\SetEnv.cmd"
> ***************************************
> 
> These settings worked fine to compile base from a DOS 
> commmand line (i.e. I'm not using the cygwin bash shell).
> 
> I then did:
> 
> cd "C:\cygwin\home\Andy\ex"
> perl 
> c:\cygwin\home\Andy\epics\base-3.14.8.2\bin\win32-x86\makeBase
> App.pl -t example myexample perl 
> c:\cygwin\home\Andy\epics\base-3.14.8.2\bin\win32-x86\makeBase
> App.pl -i -t example myexample make
> 
> and got:
> 
> ****************************************
> make -C configure install
> make[1]: Entering directory `/home/Andy/ex/configure'
> perl 
> c:/cygwin/home/Andy/epics/base-3.14.8.2/configure/tools/conver
> tRelease.pl -h WIN32-x86 checkRelease perl 
> c:/cygwin/home/Andy/epics/base-3.14.8.2/configure/tools/makeMa
> kefile.pl O.WIN32-x86 ../.. perl 
> c:/cygwin/home/Andy/epics/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 `/home/Andy/ex/configure/O.WIN32-x86'
> perl 
> c:/cygwin/home/Andy/epics/base-3.14.8.2/configure/tools/conver
> tRelease.pl -h WIN32-x86 CONFIG_APP_INCLUDE perl 
> c:/cygwin/home/Andy/epics/base-3.14.8.2/configure/tools/conver
> tRelease.pl -h WIN32-x86 RULES_INCLUDE
> make[2]: Leaving directory `/home/Andy/ex/configure/O.WIN32-x86'
> make[1]: Leaving directory `/home/Andy/ex/configure'
> make -C myexampleApp install
> make[1]: Entering directory `/home/Andy/ex/myexampleApp'
> make -C src install
> make[2]: Entering directory `/home/Andy/ex/myexampleApp/src' 
> perl 
> c:/cygwin/home/Andy/epics/base-3.14.8.2/configure/tools/makeMa
> kefile.pl O.WIN32-x86 ../../.. perl 
> c:/cygwin/home/Andy/epics/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 
> `/home/Andy/ex/myexampleApp/src/O.WIN32-x86'
> make[3]: Leaving directory 
> `/home/Andy/ex/myexampleApp/src/O.WIN32-x86'
> make[3]: Entering directory 
> `/home/Andy/ex/myexampleApp/src/O.WIN32-x86'
> 
> MakefileInclude:74: *** multiple target patterns.  Stop.
> 
> make[3]: Leaving directory 
> `/home/Andy/ex/myexampleApp/src/O.WIN32-x86'
> make[2]: *** [install.WIN32-x86] Error 2
> make[2]: Leaving directory `/home/Andy/ex/myexampleApp/src'
> make[1]: *** [src.install] Error 2
> make[1]: Leaving directory `/home/Andy/ex/myexampleApp'
> make: *** [myexampleApp.install] Error 2
> ************************************
> 
> and lines 63-75 of "MakefileInclude" are:
> 
> **************************************
> ifeq ($(filter myexample,$(TESTPROD) $(PROD)),myexample)
> ifeq (,$(strip $(myexample_OBJS) $(PRODUCT_OBJS)))
> myexample_OBJS+=myexample$(OBJ)
> endif
> myexample_RESS+=$(addsuffix $(RES),$(basename 
> $(myexample_RCS))) myexample_OBJSNAME+=$(addsuffix 
> $(OBJ),$(basename $(myexample_OBJS))) 
> myexample_DEPLIBS=$(foreach lib, $(myexample_LDLIBS),\  
> $(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).*,\
>  $($(lib)_DIR) $(SHRLIB_SEARCH_DIRS)))\
>  $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX),\
>  $(firstword $($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))/)))
> myexample$(EXE): $(myexample_OBJSNAME) $(myexample_RESS) 
> $(myexample_DEPLIBS) endif
> ************************************
> 
> I'm obviously doing something wrong since no one else is 
> having this problem! Any help appreciated.
> 
> Many thanks!
> 
> Andy
> 
> --------------------------------------------------------------------
> Observatory Sciences Limited    Email: [email protected]
> William James House             Tel: 44 - (0)1223 - 508259
> Cowley Road                     Fax: 44 - (0)1223 - 508258
> Cambridge, CB4 0WX, UK          http://www.observatorysciences.co.uk
> 
> 
> 



Replies:
RE: Make error after "makeBaseApp.pl" on win32-x86 Andy Foster
References:
Make error after "makeBaseApp.pl" on win32-x86 Andy Foster

Navigate by Date:
Prev: Re: Segment fault for edm 1-11-0m Ernest L. Williams Jr.
Next: RE: Make error after "makeBaseApp.pl" on win32-x86 Andy Foster
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: Make error after "makeBaseApp.pl" on win32-x86 Andy Foster
Next: RE: Make error after "makeBaseApp.pl" on win32-x86 Andy Foster
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 ·