build RTEMS TIc4x
liu danil
danilliu at hotmail.com
Wed Nov 8 05:03:58 UTC 2006
>From: Ralf Corsepius <ralf.corsepius at rtems.org>
> > I checked configure.log, it had an error item told that there's no
gmp.h
> > file.
>Error or warning?
>
I don't know if it's a error or warning. The message is as below:
------------------------------------------------------------------
configure:2330: gcc -c -g -O2 conftest.c 1>&5
configure:2320:17: gmp.h: No such file or directory
configure: In function `main':
configure:2324: `choke' undeclared (first use in this function)
configure:2324: (Each undeclared identifier is reported only once
configure:2324: for each function it appears in.)
configure:2324: parse error before "me"
configure: failed program was:
#line 2319 "configure"
#include "confdefs.h"
#include "gmp.h"
int main() {
#if __GNU_MP_VERSION < 3
choke me
#endif
; return 0; }
configure:3407: checking for bison
----------------------------------------------------------------
today, I checkout RTEMS from
CVSROOT=:pserver:anoncvs at www.rtems.com:/usr1/CVS
and run bootstrap then run configure with command:
--target=tic4x-rtems --quiet --disable-networking --disable-tests
--enable-posix --enable-itron --disable-cxx --enable-rtemsbsp="c3xsim"
--prefix=/opt/rtems
while run make, these's an error message:
../../../../cpukit/../../../c3xsim/lib/include/rtems/score/types.h:36:
error: sy
ntax error before "Priority_Bit_map_control"
../../../../cpukit/../../../c3xsim/lib/include/rtems/score/types.h:36:
warning:
type defaults to `int' in declaration of `Priority_Bit_map_control'
../../../../cpukit/../../../c3xsim/lib/include/rtems/score/types.h:36:
warning:
data definition has no type or storage class
I realized that's because there's no unsigned16 and several other
typedefines for tic4x BSP. Should I add these typedefines in the type.h
file ? defines all these types to uint32_t?
Danil Liu
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn
More information about the users
mailing list