On Mar 16, 2009, at 2:43 PM, Sue Witherspoon wrote:
Hi,
I'm trying to build EPICS 3.14.9 for RTEMS-pc386 and I get the
following error. It appears that the CONFIG files don't include
the cross-compiler include directory. I can't seem to figure out
which config file to add the necessary include path. My environment
is the following:
EPICS 3.14.9
RTEMS 4.9.1
HOST Linux Red-Hat 4.0 ia32
gcc 4.3.2
Any help and clues would be greatly appreciated.
Sue Witherspoon
TJNAF
Accelerator Software Controls
gmake -C O.RTEMS-pc386 -f ../Makefile TOP=../../.. T_A=RTEMS-pc386
install
gmake[3]: Entering directory `/a/devsite/dvlepics/epics/R3.14.9.J1/
src/libCom/O.RTEMS-pc386'
/usr/csite/pubtools/rtems/4.9.1/bin/i386-rtems4.9-gcc --pipe -B/usr/
csite/pubtools/rtems/4.9.1/i386-rtems4.9/pc386/lib/ -specs
bsp_specs -qrtems -fasm -c -mtune=i386 -ansi -
O2 -g -g -Wall -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/iocsh -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
Here's the command that I get for that source file:
/usr/local/rtems/rtems-4.9.1/bin/i386-rtems4.9.1-gcc --pipe -B/usr/
local/rtems/rtems-4.9.1/i386-rtems4.9.1/pc386/lib/ -specs bsp_specs -
qrtems -fasm -c -mtune=i386 -DUNIX -O2 -g -g -
Wall -I. -I../O.Common -I. -I../../../src/libCom/osi/os/
RTEMS -I../../../src/libCom/osi/os/posix -I../../../src/libCom/osi/os/
default -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/iocsh -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
Possibility 1 -- the definitions of RTEMS_BASE and RTEMS_VERSION are
out of sync. Here's what I have in configure/os/
CONFIG_SITE.Common.RTEMS
RTEMS_BASE=/usr/local/rtems/rtems-4.9.1
RTEMS_VERSION=4.9.1
Possibility 2 --something in the RTEMS tool chains has been moved to a
location other than the '--prefix' value used to build the tools.
There are ways to work around this (GCC_EXE_PREFIX, etc.) but it may
be easier to just rebuild your toolchain with the correct --prefix.
--
Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793
- References:
- Help building EPICS 3.14.9 for RTEMS Sue Witherspoon
- Navigate by Date:
- Prev:
Relational Database Poll Mike Forster
- Next:
Re: weird behaviour of SNL test program running on Soft IOC on LINUX Oleg Makarov
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Help building EPICS 3.14.9 for RTEMS Till Straumann
- Next:
RE: Help building EPICS 3.14.9 for RTEMS Sue Witherspoon
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|