<div dir="ltr">Hi,<br><br>I am following Eric Norum's "Getting started with EPICS on
RTEMS" to make EPICS base on RTEMS 4.9 and got errors on both mvme2100
and mpc8313erdb boards. I am wondering if someone can help on this.<br>
<br>After successfully build and install RTEMS and the add-on packages
(for both boards), I have no problem to run some RTEMS applicaitons on
mvme2100 and mpc8313erdb boards. The tools are latest (gcc: Then, I
following the guide to make EPICS base and got errors:<br>
<br>----------Changes before "make" EPICS base---------------<br>For mpc8313erdb:<br>//Modification in CONFIG_SITE.Common.RTEMS<br>RTEMS_BASE=/opt/rtems-4.9<br>RTEMS_VERSION=4.9<br>COMMANDLINE_LIBRARY = READLINE<br>

<br>//Modification in CONFIG_SITE.linux_x86.Common<br>CROSS_COMPILER_TARGET_ARCHS=<div dir="ltr">RTEMS-mpc8313erdb<br><br>root@localhost base-3.14.9]# echo $PATH<br>/opt/rtems-4.9/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin<br>

[root@localhost base-3.14.9]# echo $EPICS_HOST_ARCH <br>linux-x86<br>[root@localhost base-3.14.9]# echo $RTEMS_MAKEFILE_PATH <br>/opt/rtems-4.9/powerpc-rtems4.9/mpc8313erdb<br>[root@localhost base-3.14.9]# echo $EPICS_BASE <br>

/usr/local/EPICS/base-3.14.9<br><br><br>--------------errors from "make"-----------------------------<br>Installing library ../../../lib/linux-x86/libCom.a<br>mkdir ../../../lib<br>mkdir ../../../lib/linux-x86<br>

/usr/bin/ranlib ../../../lib/linux-x86/libCom.a<br>/usr/bin/g++
-o libCom.so.3.14 -shared -fPIC                    bucketLib.o
epicsRingPointer.o epicsRingBytes.o postfix.o calcPerform.o cvtFast.o
resourceLib.o epicsOnce.o epicsSingletonMutex.o dbmf.o ellLib.o
envSubr.o envData.o errlog.o errSymLib.o errSymTbl.o fdmgr.o
fdManager.o freeListLib.o gpHashLib.o iocLog.o logClient.o macCore.o
macEnv.o macUtil.o aToIPAddr.o adjustment.o cantProceed.o
epicsConvert.o epicsExit.o epicsStdlib.o epicsString.o truncateFile.o
ipAddrToAsciiAsynchronous.o epicsUnitTest.o epicsThread.o epicsMutex.o
epicsEvent.o epicsTime.o epicsMessageQueue.o osdSock.o
osdSockAddrReuse.o osiSock.o systemCallIntMech.o
epicsSocketConvertErrnoToString.o osdAssert.o osdFindSymbol.o
osdInterrupt.o osdPoolStatus.o osdSignal.o osdEnv.o epicsReadline.o
epicsTempFile.o epicsStdio.o osdStdio.o osdThread.o osdMutex.o
osdEvent.o osdTime.o osdProcess.o osdNetIntf.o osdMessageQueue.o
devLib.o devLibOSD.o taskwd.o epicsTimer.o timer.o timerQueue.o
timerQueueActive.o timerQueueActiveMgr.o timerQueuePassive.o
tsDefs.o     -lpthread   -lreadline -lcurses -lm -lrt -lgcc<br>
Installing shared library ../../../lib/linux-x86/libCom.so.3.14<br>ln -s libCom.so.3.14 ../../../lib/linux-x86/libCom.so<br>Installing html ../../../html//freeList/freeList.html<br>mkdir ../../../html<br>mkdir ../../../html/freeList<br>

Installing html ../../../html//gpHash/gpHash.html<br>mkdir ../../../html/gpHash<br>make[3]: Leaving directory `/usr/local/EPICS/base-3.14.9/src/libCom/O.linux-x86'<br>make -C O.RTEMS-mpc8313erdb -f ../Makefile TOP=../../.. T_A=RTEMS-mpc8313erdb install<br>

make[3]: Entering directory `/usr/local/EPICS/base-3.14.9/src/libCom/O.RTEMS-mpc8313erdb'<br>make[3]: Leaving directory `/usr/local/EPICS/base-3.14.9/src/libCom/O.RTEMS-mpc8313erdb'<br>make[3]: Entering directory `/usr/local/EPICS/base-3.14.9/src/libCom/O.RTEMS-mpc8313erdb'<br>

make[3]: *** No rule to make target `../O.Common/osiFileName.h', needed by `inc'.  Stop.<br>make[3]: Leaving directory `/usr/local/EPICS/base-3.14.9/src/libCom/O.RTEMS-mpc8313erdb'<br>make[2]: *** [install.RTEMS-mpc8313erdb] Error 2<br>

make[2]: Leaving directory `/usr/local/EPICS/base-3.14.9/src/libCom'<br>make[1]: *** [libCom.install] Error 2<br>make[1]: Leaving directory `/usr/local/EPICS/base-3.14.9/src'<br>make: *** [src.install] Error 2<br>

<br><br>---------For mvme2100, the "make" goes a little longer, but still have errors---------------<br><br>Installing library ../../../lib/linux-x86/libCom.a<br>mkdir ../../../lib<br>mkdir ../../../lib/linux-x86<br>

/usr/bin/ranlib ../../../lib/linux-x86/libCom.a<br>/usr/bin/g++
-o libCom.so -shared -fPIC                    bucketLib.o
epicsRingPointer.o epicsRingBytes.o postfix.o calcPerform.o cvtFast.o
resourceLib.o epicsOnce.o epicsSingletonMutex.o dbmf.o ellLib.o
envSubr.o envData.o errlog.o errSymLib.o errSymTbl.o fdmgr.o
fdManager.o freeListLib.o gpHashLib.o iocLog.o logClient.o macCore.o
macEnv.o macUtil.o aToIPAddr.o adjustment.o cantProceed.o
epicsConvert.o epicsExit.o epicsStdlib.o epicsString.o truncateFile.o
ipAddrToAsciiAsynchronous.o epicsUnitTest.o epicsThread.o epicsMutex.o
epicsEvent.o epicsTime.o epicsMessageQueue.o osdSock.o
osdSockAddrReuse.o osiSock.o systemCallIntMech.o
epicsSocketConvertErrnoToString.o osdAssert.o osdFindSymbol.o
osdInterrupt.o osdPoolStatus.o osdSignal.o osdEnv.o epicsReadline.o
epicsTempFile.o epicsStdio.o osdStdio.o osdThread.o osdMutex.o
osdEvent.o osdTime.o osdProcess.o osdNetIntf.o osdMessageQueue.o
devLib.o devLibOSD.o taskwd.o epicsTimer.o timer.o timerQueue.o
timerQueueActive.o timerQueueActiveMgr.o timerQueuePassive.o
tsDefs.o     -lpthread   -lreadline -lcurses -lm -lrt -lgcc<br>
Installing shared library ../../../lib/linux-x86/libCom.so<br>Installing html ../../../html//freeList/freeList.html<br>mkdir ../../../html<br>mkdir ../../../html/freeList<br>Installing html ../../../html//gpHash/gpHash.html<br>

mkdir ../../../html/gpHash<br>make[3]: Leaving directory `/usr/local/EPICS/base-3.14.9/src/libCom/O.linux-x86'<br>make -C O.RTEMS-mvme2100 -f ../Makefile TOP=../../.. T_A=RTEMS-mvme2100 install<br>make[3]: Entering directory `/usr/local/EPICS/base-3.14.9/src/libCom/O.RTEMS-mvme2100'<br>

make[3]: Leaving directory `/usr/local/EPICS/base-3.14.9/src/libCom/O.RTEMS-mvme2100'<br>make[3]: Entering directory `/usr/local/EPICS/base-3.14.9/src/libCom/O.RTEMS-mvme2100'<br>Installing generic include file ../../../include/os/RTEMS/osiFileName.h<br>

mkdir ../../../include/os/RTEMS<br>Installing generic include file ../../../include/os/RTEMS/osdSock.h<br>Installing generic include file ../../../include/os/RTEMS/osdInterrupt.h<br>Installing generic include file ../../../include/os/RTEMS/osdMutex.h<br>

Installing generic include file ../../../include/os/RTEMS/osdEvent.h<br>Installing generic include file ../../../include/os/RTEMS/epicsMath.h<br>Installing generic include file ../../../include/os/RTEMS/osdMessageQueue.h<br>

Installing generic include file ../../../include/os/RTEMS/osdStrtod.h<br>Installing os dependent include file ../../../include/os/RTEMS/osdPoolStatus.h<br>Installing generic include file ../../../include/os/RTEMS/osdThread.h<br>

Installing generic include file ../../../include/os/RTEMS/osdTime.h<br>Installing generic include file ../../../include/os/RTEMS/osiUnistd.h<br>Installing os dependent include file ../../../include/os/RTEMS/osdWireFormat.h<br>

Installing os dependent include file ../../../include/os/RTEMS/epicsReadline.h<br>Installing os dependent include file ../../../include/os/RTEMS/epicsGetopt.h<br>Installing generic include file ../../../include/os/RTEMS/osdVME.h<br>

/opt/rtems-4.9/bin/powerpc-rtems4.9-gcc --pipe -B/opt/rtems-4.9/powerpc-rtems4.9/mvme2100/lib/
-specs bsp_specs -qrtems   -fasm -c   -mcpu=603e -Dmpc603e
-Dppc603e               -DUNIX    -ansi  -O2 -g -mmultiple -mstring
-mstrict-align -g  -Wall      -DMY_DO_BOOTP=NULL -DHAVE_PPCBUG    
-DRTEMS_NETWORK_CONFIG_DNS_DOMAINNAME=<a href="http://aps.anl.gov/" target="_blank">aps.anl.gov</a> -DRTEMS_NETWORK_CONFIG_DNS_DOMAINNAME=<a href="http://aps.anl.gov/" target="_blank">aps.anl.gov</a>  -I. -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/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/RTEMS
-I../../../include         ../../../src/libCom/bucketLib/bucketLib.c <br>
powerpc-rtems4.9-gcc: error trying to exec 'cc1': execvp: No such file or directory<br>as: unrecognized option `-mppc'<br>make[3]: *** [bucketLib.o] Error 1<br>make[3]: Leaving directory `/usr/local/EPICS/base-3.14.9/src/libCom/O.RTEMS-mvme2100'<br>

make[2]: *** [install.RTEMS-mvme2100] Error 2<br>make[2]: Leaving directory `/usr/local/EPICS/base-3.14.9/src/libCom'<br>make[1]: *** [libCom.install] Error 2<br>make[1]: Leaving directory `/usr/local/EPICS/base-3.14.9/src'<br>

make: *** [src.install] Error 2<br><br>I am using the latest tools (rpm on RHEL5) and RTEMS4.9, and EPICS3.14.9. I tried different ways and still can't pass this.<br><br>Thank you,<br><br>Tom</div></div>