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