Next cygwin/powerpc Problem (Was RE: Getting reacquainted -- Cygw in/powerpc-rtems Build Error)
Mills, John M.
Mills.J at ems-t.com
Tue Jan 4 20:28:07 UTC 2005
All -
Looking more closely, I notice in my PC-cygwin/powerpc-rtems setup, those
RTEMS_BSP targets that build successfully for me each have a target-specific
'bsp.h' in their respective
'/usr/src/rtems-4.6.2/c/src/lib/libbsp/powerpc/<target>/include/' directory,
and those that get in trouble with 'tmtests/tm27' [presumably] make do with
what is found in
'/usr/src/rtems-4.6.2/c/src/lib/libbsp/powerpc/shared/include/'. I also note
that a number of these same targets' other tests (besides 'tm27') do
#include <bsp.h>, but that is the only one which gets in trouble.
<!!!???/>
Anyone know if these results are coincidental or significant?
TIA.
- Mills
John M. Mills
Staff Engineer
EMS Technologies
660 Engineering Drive
Norcross, GA 30092
770.263.9200 ext4882
-----Original Message-----
From: Mills, John M. [mailto:Mills.J at ems-t.com]
Sent: Tuesday, January 04, 2005 1:03 PM
To: RTEMS Users (E-mail)
Cc: Mark Dean
Subject: Next cygwin/powerpc Problem (Was RE: Getting reacquainted --
Cygw in/powerpc-rtems Build Error)
JMM- NEXT PROBLEM:
JMM- All PPC BSP targets now build and install successfully _except_
MVMV2307,
JMM- mcp750, and mtx603e. These targets all fail to build
'tests/tmtests/tm27',
JMM- but they all build OK if this subdirectory is removed from the build
list!
JMM- The problems all seem to arise from one included file: <bsp.h>, giving
JMM- errors such as:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
powerpc-rtems-gcc --pipe -B../../../../../lib/
-B../../../../../mvme2307/lib/ -specs bsp_specs -qrtems -mcpu=604 -mmultiple
-mstring -mstrict-align -meabi -msdata=eabi -O4 -g -Wall -ansi -fasm
-o o-optimize/tm27.nxe o-optimize/task1.o
../../../../../mvme2307/lib/no-dpmem.rel
../../../../../mvme2307/lib/no-event.rel
../../../../../mvme2307/lib/no-msg.rel ../../../../../mvme2307/lib/no-mp.rel
../../../../../mvme2307/lib/no-part.rel
../../../../../mvme2307/lib/no-signal.rel
../../../../../mvme2307/lib/no-timer.rel
../../../../../mvme2307/lib/no-rtmon.rel
o-optimize/task1.o(.text+0x29c): In function `Task_1':
/usr/src/rtems-4.6.2/c/src/tests/tmtests/tm27/task1.c:92: undefined
reference to `Install_tm27_vector'
o-optimize/task1.o(.text+0x2b0):/usr/src/rtems-4.6.2/c/src/tests/tmtests/tm2
7/task1.c:105: undefined reference to `Cause_tm27_intr'
[... similar errors elided ...]
o-optimize/task1.o(.text+0x430): In function `Isr_handler':
/usr/src/rtems-4.6.2/c/src/tests/tmtests/tm27/task1.c:257: undefined
reference to `Clear_tm27_intr'
[... elided ...]
o-optimize/task1.o(.text+0x524):/usr/src/rtems-4.6.2/c/src/tests/tmtests/tm2
7/task1.c:268: undefined reference to `Cause_tm27_intr'
collect2: ld returned 1 exit status
make[5]: *** [o-optimize/tm27.exe] Error 1
make[5]: Leaving directory
`/tmp/build/rtems/powerpc-rtems/c/mvme2307/tests/tmtests/tm27'
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
More information about the users
mailing list