EPICS Controls 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  2022  2023  2024  Index 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: RE: Problem building 3.15 latest with -j on linux-x86 and vxWorks
From: Mark Rivers <[email protected]>
To: "'Andrew Johnson'" <[email protected]>, "'Core-Talk'" <[email protected]>
Date: Mon, 10 Nov 2014 19:37:17 +0000

Hi Andrew,

 

I downloaded the latest 3.15 using bzr today.

 

I first tried a parallel make for just “host” on linux-x86:

 

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

corvette:local/epics/base-3.15.0>make -sj distclean

corvette:local/epics/base-3.15.0>make -sj host

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'

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]

dbdExpand.pl: Can't find file 'menuAlarmSevr.dbd'

  while reading 'menuAlarmSevr.dbd' to create '../O.Common/menuGlobal.dbd.d'

  Your Makefile may need this dependency rule:

    menuGlobal.dbd$(DEP): $(COMMON_DIR)/menuAlarmSevr.dbd

../../../../../../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]

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

 

I am not sure if the dbdExpand.pl message is an error, or just a warning?

 

However, when I try to cross-compile for vxWorks when doing the build I still get these errors:

 

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

corvette:local/epics/base-3.15.0>make -sj distclean

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

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....

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[2]: *** [install.vxWorks-68040] Error 2

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

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

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

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

corvette:local/epics/base-3.15.0>

corvette:local/epics/base-3.15.0>

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

 

If I first do

 

make –sj host

 

and then

 

make –sj

 

it works, because the host tools are built in the first pass.

 

Thanks,

Mark

 

 

From: Mark Rivers
Sent: Monday, November 03, 2014 6:24 PM
To: 'Andrew Johnson'; 'Core-Talk'
Subject: Problem building 3.15 latest with -j on linux-x86 and vxWorks

 

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

 

 

 

 

 


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

Navigate by Date:
Prev: 3.15.1 Release Timetable Andrew Johnson
Next: Jenkins build became unstable: epics-base-3.15 #135 APS Jenkins
Index: 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: Problem building 3.15 latest with -j on linux-x86 and vxWorks Mark Rivers
Next: Jenkins build became unstable: epics-base-3.15 #132 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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 ·