This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi,I have finished building the
development tools for PowerPC under WindowsNT.
Now I want to cross compile a example
named hello.c.The order I do as followed:
1.Configuring and Building eCos from
Source
select the template
:Cogent CMA286/287 board
specify the tools
paths
I don't know what
the repository means,and how to configure it.
2.built libary
Up to now no error
occurs.
3.make the hello.c
edit the makefile,then do:make
hello
the out messages is:
powerpc-eabi-gcc -msoft-float
-mcpu=860 -c -o hello.o -g
-Wall -I/ecos_work2/ecos_install/include -ffunction-sections -fdata-sections
hello.c
In file included from /ecos_work2/ecos_install/include/stdio.h:56, from hello.c:1: /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:160: parse error before `__tmp1' /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:160: warning: type defaults to `int' in declaration of `__tmp1' /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:160: `_name_' undeclared here (not in a function) /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:160: warning: data definition has no type or storage class /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:160: stray '\' in program /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:161: parse error before `__tmp2' /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:161: warning: type defaults to `int' in declaration of `__tmp2' /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:161: initializer element is not constant /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:161: warning: data definition has no type or storage class /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:161: stray '\' in program /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:162: warning: type defaults to `int' in declaration of `__tmp1' /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:162: redefinition of `__tmp1' /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:160: `__tmp1' previously defined here /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:162: initializer element is not constant /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:162: warning: data definition has no type or storage class /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:162: stray '\' in program /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:163: parse error before `}' /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:171: stray '\' in program /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:172: stray '\' in program /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:173: stray '\' in program /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:223: parse error before `CYG_BYTE' /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:223: warning: type defaults to `int' in declaration of `CYG_BYTE' /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:223: warning: data definition has no type or storage class /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:282: parse error before `#' /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:317: stray '\' in program /ecos_work2/ecos_install/include/cyg/infra/cyg_type.h:341: warning: This file contains more `}'s than `{'s. In file included from /tools/H-i686-pc-cygwin/lib/gcc-lib/powerpc-eabi/2.95.2/include/stdarg.h:43, from /ecos_work2/ecos_install/include/stdio.h:58, from hello.c:1: /tools/H-i686-pc-cygwin/lib/gcc-lib/powerpc-eabi/2.95.2/include/va-ppc.h:29: parse error before `}' /tools/H-i686-pc-cygwin/lib/gcc-lib/powerpc-eabi/2.95.2/include/va-ppc.h:29: warning: data definition has no type or storage class In file included from /ecos_work2/ecos_install/include/stdio.h:58, from hello.c:1: /tools/H-i686-pc-cygwin/lib/gcc-lib/powerpc-eabi/2.95.2/include/stdarg.h:189: parse error before `va_list' /tools/H-i686-pc-cygwin/lib/gcc-lib/powerpc-eabi/2.95.2/include/stdarg.h:189: warning: data definition has no type or storage class In file included from hello.c:1: /ecos_work2/ecos_install/include/stdio.h:174: parse error before `va_list' /ecos_work2/ecos_install/include/stdio.h:177: parse error before `va_list' /ecos_work2/ecos_install/include/stdio.h:181: parse error before `va_list' /ecos_work2/ecos_install/include/stdio.h:270: parse error before `va_list' /ecos_work2/ecos_install/include/stdio.h:274: parse error before `va_list' /ecos_work2/ecos_install/include/stdio.h:277: parse error before `va_list' /ecos_work2/ecos_install/include/stdio.h:281: parse error before `va_list' /ecos_work2/ecos_install/include/stdio.h:285: parse error before `va_list' In file included from /ecos_work2/ecos_install/include/stdio.h:291, from hello.c:1: /ecos_work2/ecos_install/include/stdio.inl:88: parse error before `va_list' /ecos_work2/ecos_install/include/stdio.inl: In function `vfprintf': /ecos_work2/ecos_install/include/stdio.inl:90: `stream' undeclared (first use in this function) /ecos_work2/ecos_install/include/stdio.inl:90: (Each undeclared identifier is reported only once /ecos_work2/ecos_install/include/stdio.inl:90: for each function it appears in.) /ecos_work2/ecos_install/include/stdio.inl:90: `format' undeclared (first use in this function) /ecos_work2/ecos_install/include/stdio.inl:90: `arg' undeclared (first use in this function) /ecos_work2/ecos_install/include/stdio.inl: At top level: /ecos_work2/ecos_install/include/stdio.inl:95: parse error before `va_list' /ecos_work2/ecos_install/include/stdio.inl: In function `vprintf': /ecos_work2/ecos_install/include/stdio.inl:97: `format' undeclared (first use in this function) /ecos_work2/ecos_install/include/stdio.inl:97: `arg' undeclared (first use in this function) /ecos_work2/ecos_install/include/stdio.inl: At top level: /ecos_work2/ecos_install/include/stdio.inl:102: parse error before `va_list' /ecos_work2/ecos_install/include/stdio.inl: In function `vsprintf': /ecos_work2/ecos_install/include/stdio.inl:104: `s' undeclared (first use in this function) /ecos_work2/ecos_install/include/stdio.inl:104: `format' undeclared (first use in this function) /ecos_work2/ecos_install/include/stdio.inl:104: `arg' undeclared (first use in this function) /ecos_work2/ecos_install/include/stdio.inl: At top level: /ecos_work2/ecos_install/include/stdio.inl:145: parse error before `va_list' /ecos_work2/ecos_install/include/stdio.inl: In function `vscanf': /ecos_work2/ecos_install/include/stdio.inl:147: `format' undeclared (first use in this function) /ecos_work2/ecos_install/include/stdio.inl:147: `arg' undeclared (first use in this function) In file included from hello.c:1: hello.c: At top level: /ecos_work2/ecos_install/include/stdio.h:299: warning: This file contains more `}'s than `{'s. make: *** [hello.o] Error 1 Thanks!
|
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |