Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021 
<== Date ==> <== Thread ==>

Subject: Problem building 3.15 latest with -j on linux-x86 and vxWorks
From: Mark Rivers <rivers@cars.uchicago.edu>
To: "'Andrew Johnson'" <anj@aps.anl.gov>, "'Core-Talk'" <core-talk@aps.anl.gov>
Date: Tue, 4 Nov 2014 00:24:07 +0000

Hi Andrew,

 

I am having problems building 3.15 latest (revision 12577) with the –j option.

 

It works OK with linux-x86_64 which does not do cross-compiling for vxWorks on my system:

 

------------------------------------------------------------------------------------

corvette:local/epics/base-3.15.0>make -sj clean uninstall

 

corvette:local/epics/base-3.15.0>date ; make -sj ; date

Mon Nov  3 18:17:49 CST 2014

epicsTempFile.o: In function `epicsTempName':

/usr/local/epics/base-3.15.0/src/libCom/O.linux-x86_64/../../../src/libCom/osi/os/posix/epicsTempFile.cpp:23: warning: the use of `tmpnam' is dangerous, better use `mkstemp'

epicsTempFile.o: In function `epicsTempName':

/usr/local/epics/base-3.15.0/src/libCom/O.linux-x86_64/../../../src/libCom/osi/os/posix/epicsTempFile.cpp:23: warning: the use of `tmpnam' is dangerous, better use `mkstemp'

../Cap5.xs: In function 'CA_replace_access_rights_event':

../Cap5.xs:549:21: warning: initialization from incompatible pointer type [enabled by default]

../../../../../../src/ca/legacy/pcas/generic/casDGClient.cc: In member function 'caStatus casDGClient::searchFailResponse(const caHdrLargeArray*)':

../../../../../../src/ca/legacy/pcas/generic/casDGClient.cc:351:7: warning: variable 'status' set but not used [-Wunused-but-set-variable]

Mon Nov  3 18:18:10 CST 2014

------------------------------------------------------------------------------------

 

So it took 21 seconds to build base.

 

However, when I build on linux-x86, which does cross-compile 3 vxWorks archs it fails:

 

------------------------------------------------------------------------------------

corvette:local/epics/base-3.15.0>make -sj clean uninstall

 

corvette:local/epics/base-3.15.0>date ; make -sj ; date

Mon Nov  3 18:20:13 CST 2014

epicsTempFile.o: In function `epicsTempName':

/usr/local/epics/base-3.15.0/src/libCom/O.linux-x86/../../../src/libCom/osi/os/posix/epicsTempFile.cpp:23: warning: the use of `tmpnam' is dangerous, better use `mkstemp'

epicsTempFile.o: In function `epicsTempName':

/usr/local/epics/base-3.15.0/src/libCom/O.linux-x86/../../../src/libCom/osi/os/posix/epicsTempFile.cpp:23: warning: the use of `tmpnam' is dangerous, better use `mkstemp'

make[3]: *** No rule to make target `../../../bin/linux-x86/e_flex', needed by `asLib_lex.c'.  Stop.

make[3]: *** Waiting for unfinished jobs....

make[3]: *** No rule to make target `../../../bin/linux-x86/e_flex', needed by `asLib_lex.c'.  Stop.

make[3]: *** Waiting for unfinished jobs....

make[3]: *** No rule to make target `../../../bin/linux-x86/e_flex', needed by `asLib_lex.c'.  Stop.

make[3]: *** Waiting for unfinished jobs....

make[2]: *** [install.vxWorks-ppc603_long] Error 2

make[2]: *** Waiting for unfinished jobs....

make[2]: *** [install.vxWorks-68040] Error 2

make[2]: *** [install.vxWorks-ppc604_long] Error 2

In file included from ../../../src/libCom/osi/os/Linux/osdFindAddr.c:10:0:

../../../src/libCom/osi/os/posix/osdElfFindAddr.c: In function 'epicsFindAddr':

../../../src/libCom/osi/os/posix/osdElfFindAddr.c:642:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

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

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

Mon Nov  3 18:20:23 CST 2014

------------------------------------------------------------------------------------

 

Thanks,

Mark

 

 

 

 

 


Replies:
RE: Problem building 3.15 latest with -j on linux-x86 and vxWorks Mark Rivers

Navigate by Date:
Prev: Re: EPICS base 3.15.0.2 Andrew Johnson
Next: RE: EPICS base 3.15.0.2 Heesterman, Peter J
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021 
Navigate by Thread:
Prev: RE: EPICS base 3.15.0.2 Heesterman, Peter J
Next: RE: Problem building 3.15 latest with -j on linux-x86 and vxWorks Mark Rivers
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021 
ANJ, 10 Nov 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·