EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: epics compiling problem
From: "师昊礼" <[email protected]>
To: [email protected]
Date: Thu, 15 Mar 2007 08:59:46 +0800
hi, I'v succeeded in building the cross-compiler for RTEMS-mvmv5500 on my PC
in the directory /opt/rtems, my linux shell is tcsh, so  I add "set
path=($path /opt/rtems/bin /opt/rtems/powerpc-rtems/bin)" in the file .cshrc.
Next I'll install EPICS(base-3.14.9), I modified the file
base/configure/CONFIG_SITE with CROSS_COMPILIER_TARGET_ARCH=RTEMS-mvme5500,
and CROSS_COMPILER_HOST_ARCHS=linux-x86. then I make in the directory base. so
I find the error:

make -C libCom/test install
make[2]: Entering directory `/home/rtems/base-3.14.9/base/src/libCom/test'
make -C O.linux-x86 -f ../Makefile TOP=../../../.. T_A=linux-x86 install
make[3]: Entering directory
`/home/rtems/base-3.14.9/base/src/libCom/test/O.linux-x86'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory
`/home/rtems/base-3.14.9/base/src/libCom/test/O.linux-x86'
make -C O.RTEMS-mvme5500 -f ../Makefile TOP=../../../.. T_A=RTEMS-mvme5500 install
make[3]: Entering directory
`/home/rtems/base-3.14.9/base/src/libCom/test/O.RTEMS-mvme5500'
/usr/local/rtems/rtems-4.7/bin/powerpc-rtems-g++
-B/opt/rtems//powerpc-rtems/mvme5500/lib/ -specs bsp_specs -qrtems   -o
rtemsTestHarness -static -L/home/rtems/base-3.14.9/base/lib/RTEMS-mvme5500   
    -mcpu=750 -mmultiple -mstring -mstrict-align -u Init
/opt/rtems//powerpc-rtems/mvme5500/lib/no-dpmem.rel
/opt/rtems//powerpc-rtems/mvme5500/lib/no-mp.rel
/opt/rtems//powerpc-rtems/mvme5500/lib/no-part.rel
/opt/rtems//powerpc-rtems/mvme5500/lib/no-signal.rel
/opt/rtems//powerpc-rtems/mvme5500/lib/no-rtmon.rel         
rtemsTestHarness.o epicsCalcTest.o epicsAlgorithmTest.o epicsMathTest.o
epicsStdioTest.o epicsStringTest.o epicsTimeTest.o epicsThreadTest.o
epicsThreadPriorityTest.o epicsThreadPrivateTest.o epicsExitTest.o
epicsTimerTest.o ringPointerTest.o epicsEventTest.o epicsMutexTest.o
epicsExceptionTest.o epicsMessageQueueTest.o macEnvExpandTest.o
blockingSockTest.o epicsRunLibComTests.o epicsThreadPerform.o
epicsMaxThreads.o buckTest.o    -lCom      -lm -lrtemsCom -lrtemscpu -lCom
-lrtemsNfs -lm
/opt/rtems/lib/gcc/powerpc-rtems/4.0.2/../../../../powerpc-rtems/bin/ld:
cannot find -lrtemsNfsrtem
collect2: ld returned 1 exit status
make[3]: *** [rtemsTestHarness] Error 1
make[3]: Leaving directory
`/home/rtems/base-3.14.9/base/src/libCom/test/O.RTEMS-mvme5500'
make[2]: *** [install.RTEMS-mvme5500] Error 2
make[2]: Leaving directory `/home/rtems/base-3.14.9/base/src/libCom/test'
make[1]: *** [libCom/test.install] Error 2
make[1]: Leaving directory `/home/rtems/base-3.14.9/base/src'
make: *** [src.install] Error 2


In fact, on my PC,
/opt/rtems/lib/gcc/powerpc-rtems/4.0.2/../../../../powerpc-rtems/bin/ld equals
to /opt/rtems/powerpc-rtems/bin/ld, is it because I've not added the parameter
"-lrtemsNfs" when I built the cross compiler somewhere? thank you very much!

best regards
Haoli Shi

Replies:
Re: epics compiling problem Daron Chabot

Navigate by Date:
Prev: Controls developer position open at Fermilab in Batavia, IL Margaret Votava
Next: Re: epics compiling problem Daron Chabot
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Controls developer position open at Fermilab in Batavia, IL Margaret Votava
Next: Re: epics compiling problem Daron Chabot
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·