On 06/04/2010 11:36 AM, Eric Norum wrote:
I think that this BSP, like many of the PowerPC family,
needs Tills 'Extended BSP support'.
I actually just cut 1.6 which is not much different (only relevant
change is for PPC BSPs
which do not implement a 'clear hostbridge errors' routine) but it uses
a new,
GNU configure based build system.
- T.
Hi,
When building epics base using a target architecture of RTEMS-mvme5500 I
get:
make -C O.RTEMS-mvme5500 -f ../Makefile TOP=../../.. T_A=RTEMS-mvme5500
install
make[3]: Entering directory
`/scratch/npr78/codeathon/base/src/libCom/O.RTEMS-mvme5500'
/scratch/npr78/codeathon/prod/tools/RHEL5/rtems/4.9.2/bin/powerpc-rtems4
.9.2-gcc --pipe
-B/scratch/npr78/codeathon/prod/tools/RHEL5/rtems/4.9.2/powerpc-rtems4.9
.2/mvme5500/lib/ -specs bsp_specs -qrtems -fasm -c
-fno-strict-aliasing -mcpu=7450 -Dmpc7455 -mno-altivec -mabi=altivec
-mvrsave=no -mmultiple -mstring -mstrict-align -DUNIX
-O2 -g -g -Wall -DMY_DO_BOOTP=NULL -DHAVE_MOTLOAD
-DBSP_NVRAM_BASE_ADDR=0xf1110000 -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/osi/os/RTEMS/devLibOSD.c
../../../src/libCom/osi/os/RTEMS/devLibOSD.c:27:24: error: bsp/bspExt.h:
No such file or directory
../../../src/libCom/osi/os/RTEMS/devLibOSD.c: In function 'rtmsDevInit':
../../../src/libCom/osi/os/RTEMS/devLibOSD.c:114: warning: implicit
declaration of function 'bspExtInit'
make[3]: *** [devLibOSD.o] Error 1
make[3]: Leaving directory
`/scratch/npr78/codeathon/base/src/libCom/O.RTEMS-mvme5500'
make[2]: *** [install.RTEMS-mvme5500] Error 2
make[2]: Leaving directory `/scratch/npr78/codeathon/base/src/libCom'
make[1]: *** [libCom.install] Error 2
make[1]: Leaving directory `/scratch/npr78/codeathon/base/src'
make: *** [src.install] Error 2
For RTEMS-mvme167 and and RTEMS-pc386 it works fine and the offending
include is couched in a number of #ifdef's which ensure it is only used
for powerPC's. If I comment out the include the build works fine. Is
this include only needed for some powerpc architectures, but not all? If
not, what do I need to fix it.
As you can see, it is RTEMS 4.9.2, built following Eric Norum's Getting
started instructions.
Cheers,
Nick Rees
Principal Software Engineer Phone: +44 (0)1235-778430
Diamond Light Source Fax: +44 (0)1235-446713
|