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: Re: EPICS on RTEMS
From: John Sinclair <[email protected]>
To: Eric Norum <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Wed, 02 May 2007 17:11:36 -0400
I guess I was missing this piece. I had to manually copy the library (could have soft-linked it) and add

USR_LIBS += bspExt

to the makefile. But then, since make is being instructed (why?) to also build the system on the host (linux-x86), this library
was missing for the linux build. I created a dummy one using ar and the build finally succeeded.


Is this the "correct" way to do EPICS with RTEMS or do I somehow have things half-configured?

- John Sinclair

Eric Norum wrote:
Sounds like you're missing Till's 'BSP Extensions' library.
The EPICS build system fragment configure/os/CONFIG.Common.RTEMS-mvme2100 should probably be changed add -lbspExt to the list of libraries.



On May 2, 2007, at 1:34 PM, John Sinclair wrote:


I am beginning to do some VME access from an EPICS application on RTEMS. As a first check, I
added a bit of vme access code to a device support function only to see if the application would
build. The code merely calls devRegisterAddress using atVMEA16 as the address type.


The build fails with the following errors:

/home/sinclair/rtemsEpics/supTop/R3.14.9/base/lib/RTEMS-mvme2100//libCom.a(devLibOSD.o): In function `rtmsDevInit':
../../../src/libCom/osi/os/RTEMS/devLibOSD.c:105: undefined reference to `bspExtInit'
/home/sinclair/rtemsEpics/supTop/R3.14.9/base/lib/RTEMS-mvme2100//libCom.a(devLibOSD.o): In function `rtmsDevWriteProbe':
../../../src/libCom/osi/os/RTEMS/devLibOSD.c:253: undefined reference to `bspExtMemProbe'
/home/sinclair/rtemsEpics/supTop/R3.14.9/base/lib/RTEMS-mvme2100//libCom.a(devLibOSD.o): In function `rtmsDevReadProbe':
../../../src/libCom/osi/os/RTEMS/devLibOSD.c:234: undefined reference to `bspExtMemProbe'


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

I have built an application using the generic RTEMS build scheme (no EPICS) that accesses the VMEbus without problems.

Any ideas as to what configuration pieces are missing?

- John Sinclair


--Eric Norum <[email protected]> Advanced Photon Source Argonne National Laboratory (630) 252-4793




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Replies:
Re: EPICS on RTEMS Eric Norum
References:
EPICS on RTEMS John Sinclair
Re: EPICS on RTEMS Eric Norum

Navigate by Date:
Prev: EDM using -ctl Michele Joyce
Next: Re: EPICS on RTEMS Eric Norum
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: Re: EPICS on RTEMS Eric Norum
Next: Re: EPICS on RTEMS Eric Norum
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 ·