g+
g+ Communities
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  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013 
<== Date ==> <== Thread ==>

Subject: Make error after "makeBaseApp.pl" on win32-x86
From: Andy Foster <ajf@observatorysciences.co.uk>
To: Epics Questions <tech-talk@aps.anl.gov>
Date: Wed, 11 Oct 2006 11:38:00 +0100 (BST)
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\makeBaseApp.pl -t example myexample
perl c:\cygwin\home\Andy\epics\base-3.14.8.2\bin\win32-x86\makeBaseApp.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/convertRelease.pl -h WIN32-x86 checkRelease
perl c:/cygwin/home/Andy/epics/base-3.14.8.2/configure/tools/makeMakefile.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/convertRelease.pl -h WIN32-x86 CONFIG_APP_INCLUDE
perl c:/cygwin/home/Andy/epics/base-3.14.8.2/configure/tools/convertRelease.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/makeMakefile.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: ajf@observatorysciences.co.uk
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 Zhan Zhang

Navigate by Date:
Prev: Segment fault for edm 1-11-0m Jianguo DING
Next: Re: Segment fault for edm 1-11-0m Ernest L. Williams Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013 
Navigate by Thread:
Prev: Re: epics driver for SRS RGA100 Mohan Ramanathan
Next: RE: Make error after "makeBaseApp.pl" on win32-x86 Zhan Zhang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·