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]
Other format: [Raw text]

Re: redboot build problem


it's the problem of file type, I guess you are running this from dos.
Make sure you mount the drive with the complied files in
text mode. (do mount command from cygwin then you will see).

Yin

Wang Anthony wrote:

> Hi,
> I used configtool 2.11 to build redboot for i386 Target.
> In the build->template I selected i386 PC target and redboot package.
> Then I import redboot_Floppy.ecm from
> ecos_base\packages\hal\i386\pc\current\misc
>
> And click build->library
>
> But I got the folllowing error message:
> ...
> make[1]: Leaving directory
> `/ecos-d/workdir/redboot/redboot_build/io/eth/current'
> headers finished
> make -r -C hal/i386/arch/current build
> make[1]: Entering directory
> `/ecos-d/workdir/redboot/redboot_build/hal/i386/arch/current'
> i386-elf-gcc -c -I/ecos-d/workdir/redboot/redboot_install/include
> -I/ecos-d/ecos/packages/hal/i386/arch/current
> -I/ecos-d/ecos/packages/hal/i386/arch/current/src
> -I/ecos-d/ecos/packages/hal/i386/arch/current/tests -I.
> -I/ecos-d/ecos/packages/hal/i386/arch/current/src/ -Wall
> -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
> -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
> -fno-rtti -fno-exceptions -fvtable-gc -finit-priority
> -Wp,-MD,src/hal_misc.tmp -o src/hal_i386_arch_hal_misc.o
> /ecos-d/ecos/packages/hal/i386/arch/current/src/hal_misc.c
> make[1]: Leaving directory
> `/ecos-d/workdir/redboot/redboot_build/hal/i386/arch/current'
> In file included from
> /ecos-d/ecos/packages/hal/i386/arch/current/src/hal_misc.c:56:
> make: Leaving directory `/ecos-d/workdir/redboot/redboot_build'
> /ecos-d/workdir/redboot/redboot_install/include/cyg/infra/cyg_type.h:257:
> Invalid token in expression
> make[1]: *** [src/hal_misc.o.d] Error 1
> make: *** [build] Error 2
>
> Can somebody help me with this problem?
>
> Thanks,
> Anthony
>
>
>
>
>
>
> _________________________________________________________________
> 在您的行動裝置上傳送接收 Hotmail 郵件,請移至:
> http://zh-asiasms.mobile.msn.com
>


-- 
Yin Bao
Senior Software Engineer
Biometric Solutions LLC
805 Third Avenue,  Suite 1500
New York,  NY  10022
Office:  212-317-8308
Fax:     212-317-8055
yin.bao@biometricsolutions.com




-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]