Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw
From: Eric Norum <eric@norum.ca>
To: Yoram Fisher <Yoram@sydorinstruments.com>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 6 Jun 2012 14:48:19 -0700
The commands imply that you're trying to cross-compile for an RTEMS uC5282 microcontroller.
I suspect that you really want to build EPICS only for the Windows XP machine, right?

Somewhere in one of the 'mingw' files in configure/os there must be a line that looks like
CROSS_COMPILER_TARGET_ARCHS = RTEMS-uc5282

Comment out this line (add a '#' at the beginning) and try rebuilding.

On Jun 6, 2012, at 1:58 PM, Yoram Fisher wrote:

All,
I am attempting to build EPICS 3.14.12.2 on a Windows XP machine using mingw32.
EPICS_HOST_ARCH = win32-x86-mingw
 
I type”make” at the top level directory (c:\epics).  Make is GNU Make version 3.81
I get an error: /bin/ld.exe: cannot find -lrtemscpu
 
The closest matching file I have on my machine is librtemscpu.a.
What is lrtemscpu?   Do I need to build a separate package to generate it?
Any help much appreciated.
 
- Yoram Fisher –
 
 
 
make[3]: Entering directory `/c/epics/src/libCom/test/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/libCom/test/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/libCom/test/O.RTEMS-uC5282'
/c/opt/rtems-4.10/bin/m68k-rtems4.10-g++ -o rtemsTestHarness -static -L/c/epics/
lib/RTEMS-uC5282         -mcpu=5282 -u Init /lib/no-dpmem.rel /lib/no-mp.rel /li
b/no-part.rel /lib/no-signal.rel /lib/no-rtmon.rel            rtemsTestHarness.o
epicsCalcTest.o epicsAlgorithmTest.o epicsMathTest.o epicsEllTest.o epicsErrlog
Test.o epicsStdioTest.o epicsStringTest.o epicsTimeTest.o epicsThreadTest.o epic
sThreadOnceTest.o epicsThreadPriorityTest.o epicsThreadPrivateTest.o epicsExitTe
st.o epicsTimerTest.o ringPointerTest.o ringBytesTest.o epicsEventTest.o epicsMu
texTest.o epicsExceptionTest.o macEnvExpandTest.o macLibTest.o taskwdTest.o bloc
kingSockTest.o epicsMessageQueueTest.o epicsRunLibComTests.o epicsThreadPerform.
o epicsMaxThreads.o buckTest.o cvtFastPerform.o    -lCom       -lm -lrtemsCom -l
c -lrtemscpu -lCom -lnfs -lm
c:/opt/rtems-4.10/bin/../lib/gcc/m68k-rtems4.10/4.4.7/../../../../m68k-rtems4.10
/bin/ld.exe: cannot find -lrtemscpu
collect2: ld returned 1 exit status
make[3]: *** [rtemsTestHarness] Error 1
make[3]: Leaving directory `/c/epics/src/libCom/test/O.RTEMS-uC5282'
make[2]: *** [install.RTEMS-uC5282] Error 2
make[2]: Leaving directory `/c/epics/src/libCom/test'
make[1]: *** [libCom/test.install] Error 2
make[1]: Leaving directory `/c/epics/src'
make: *** [src.install] Error 2
 
 
 
Yoram Fisher
Senior Systems Engineer
Sydor Instruments, LLC
291 Millstead Way
Rochester, New York 14624
Ph: +1.585.278.1168,   Fax: +1.585.278.1169
 

-- 
Eric Norum
eric@norum.ca





References:
EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Yoram Fisher

Navigate by Date:
Prev: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Yoram Fisher
Next: Re: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Yoram Fisher
Next: Re: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·