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  2010  2011  2012  2013  <20142015  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  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Error Installing Epics Base on Mac OSX 10.9 (Mavericks)
From: Steven Wu <[email protected]>
To: "[email protected]" <[email protected]>
Date: Thu, 21 Aug 2014 19:27:30 -0700
Hello,

I am trying to set up Epics Base and have followed the README.darwin document.  For step 1, I placed it in my .bash_profile ( extensions/ does not exist in my base-3.14.12/ directory ). I tried placing that script in my .bash_login, but I am not seeing much of a difference.

I have uncommented the relevant line in CONFIG_SITE.Common.darwin-x86 (ARCH_CLASS=x86_64) and defined 
EPICS_HOST_ARCH =   linux-x86_64

I am having trouble running 'make.'  Here is my error: 

stevens-imac:base-3.14.12 steven$ make

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./configure install 

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C O.linux-x86_64 -f ../Makefile TOP=../.. T_A=linux-x86_64 install

make[2]: Nothing to be done for `install'.

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./src install 

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./tools install 

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install

make[3]: Nothing to be done for `install'.

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./makeBaseApp install 

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install

make[3]: Nothing to be done for `install'.

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./makeBaseExt install 

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install

make[3]: Nothing to be done for `install'.

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./libCom install 

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install

/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall      -m64     -g -fPIC -MMD -I. -I../O.Common -I. -I../../../src/libCom/osi/os/Linux -I../../../src/libCom/osi/os/posix -I../../../src/libCom/osi/os/default -I.. -I../../../src/libCom/bucketLib -I../../../src/libCom/ring -I../../../src/libCom/calc -I../../../src/libCom/cvtFast -I../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates -I../../../src/libCom/dbmf -I../../../src/libCom/ellLib -I../../../src/libCom/env -I../../../src/libCom/error -I../../../src/libCom/fdmgr -I../../../src/libCom/freeList -I../../../src/libCom/gpHash -I../../../src/libCom/iocsh -I../../../src/libCom/logClient -I../../../src/libCom/macLib -I../../../src/libCom/misc -I../../../src/libCom/osi -I../../../src/libCom/taskwd -I../../../src/libCom/timer -I../../../src/libCom/tsDefs -I../../../include/os/Linux -I../../../include        ../../../src/libCom/env/envSubr.c 

../../../src/libCom/env/envSubr.c:398:21: error: use of undeclared identifier      'IPPORT_USERRESERVED'

    if (epicsParam<=IPPORT_USERRESERVED || epicsParam>USHRT_MAX) {

                    ^

1 error generated.

make[3]: *** [envSubr.o] Error 1

make[2]: *** [install.linux-x86_64] Error 2

make[1]: *** [libCom.install] Error 2

make: *** [src.install] Error 2


I peeked at the source code with the error, and  'IPPORT_USERRESERVED' is used only once in that .c code.  I don't think modifying the *.c file is the solution.  Any ideas? 

Thanks,
Steven Wu


Replies:
Re: Error Installing Epics Base on Mac OSX 10.9 (Mavericks) Torsten Bögershausen

Navigate by Date:
Prev: Re: New users - Channel Access Clients issues Dirk Zimoch
Next: Fall 2014 EPICS Collaboration meeting accomodation Gougnaud Françoise
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Modbus R2-7 available Mark Rivers
Next: Re: Error Installing Epics Base on Mac OSX 10.9 (Mavericks) Torsten Bögershausen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·