failure to compile 4.8.0 for erc32 using Mingw tools

SERONIE VIVIEN, Jacques jacques.seronievivien at astrium.eads.net
Thu Feb 28 10:24:57 UTC 2008



 

>-----Original Message-----
>From: Joel Sherrill [mailto:joel.sherrill at OARcorp.com] 
>Sent: Wednesday, February 27, 2008 3:17 PM
>To: SERONIE VIVIEN, Jacques
>Cc: rtems-users at rtems.com
>Subject: Re: failure to compile 4.8.0 for erc32 using Mingw tools
>
>SERONIE VIVIEN, Jacques wrote:
>> I have a compilation error when I try to compile RTEMS 4.8.0.
>>
>>   
>cd into rtems-4.8.0 and run this:
>
>./bootstrap -c
>./bootstrap
>
>Then try again.  Apparently the bootstrap on Fedora 8
>produces some files that mingw doesn't like.
>

I tried what you suggest but had no success. The same error occurs.

I also had problems when compiling samples (a lot of unresolved
addresses: free, malloc...) so I tried to generate again forcing
-DRTEMS_NEWLIB in the CFLAGS_FOR_TARGET variable.

This seems to indicate that there is something wrong somewhere.

>--joel
>> my configure command is:
>>
>> ../rtems-4.8.0/configure --target=sparc-rtems4.8 --disable-posix
>> --disable-itron --disable-networking --disable-cxx
>> --enable-rtemsbsp=erc32
>>
>> the encountered error is:
>>
>> sparc-rtems4.8-gcc --pipe -DHAVE_CONFIG_H   -I..
>> -I../../cpukit/../../../erc32/lib/include  -Wall -fasm 
>-mcpu=cypress -O2
>> -g -MT src/libcsupport_a-base_fs.o -MD -MP -MF
>> src/.deps/libcsupport_a-base_fs.Tpo -c -o src/libcsupport_a-base_fs.o
>> `test -f 'src/base_fs.c' || echo
>> 
>'../../../../../../rtems-4.8.0/c/src/../../cpukit/libcsupport/'
>`src/base
>> _fs.c
>> In file included from
>> 
>../../../../../../rtems-4.8.0/c/src/../../cpukit/libcsupport/sr
>c/base_fs
>> .c:19:
>> ../../cpukit/../../../erc32/lib/include/rtems/libio.h:29:23: error:
>> sys/ioctl.h: No such file or directory
>> In file included from
>> ../../cpukit/../../../erc32/lib/include/rtems/libio.h:546,
>>                  from
>> 
>../../../../../../rtems-4.8.0/c/src/../../cpukit/libcsupport/sr
>c/base_fs
>> .c:19:
>> 
>d:/opt/rtems-4.8/bin/../lib/gcc/sparc-rtems4.8/4.2.2/../../../.
./sparc-r
>> tems4.8/include/termios.h:4:25: error: sys/termios.h: No such file or
>> directory
>> In file included from
>> 
>../../../../../../rtems-4.8.0/c/src/../../cpukit/libcsupport/sr
>c/base_fs
>> .c:19:
>> ../../cpukit/../../../erc32/lib/include/rtems/libio.h:553: warning:
>> 'struct termios' declared inside parameter list
>> ../../cpukit/../../../erc32/lib/include/rtems/libio.h:553: 
>warning: its
>> scope is only this definition or declaration, which is 
>probably not what
>> you want
>>
>> I was able to complete rtems generation by copying
>> ../rtems-4.8.0/cpukit/libcsupport/include/sys to
>> sparc-rtems4.8/erc32/lib/include (in the build library) and launching
>> the make again.
>>
>> Is there something wrong with my installation/configure 
>command or is it
>> broken at RTEMS 4.8.0 level ?
>>
>> Ce courriel (incluant ses eventuelles pieces jointes) peut 
>contenir des informations confidentielles et/ou protegees ou 
>dont la diffusion est restreinte. Si vous avez recu ce 
>courriel par erreur, vous ne devez ni le copier, ni 
>l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en 
>avertir immediatement l'expediteur et d'effacer ce courriel de 
>votre systeme. Astrium decline toute responsabilite en cas de 
>corruption par virus, d'alteration ou de falsification de ce 
>courriel lors de sa transmission par voie electronique.
>>
>> This email (including any attachments) may contain 
>confidential and/or privileged information or information 
>otherwise protected from disclosure. If you are not the 
>intended recipient, please notify the sender immediately, do 
>not copy this message or any attachments and do not use it for 
>any purpose or disclose its content to any person, but delete 
>this message and any attachments from your system. Astrium 
>disclaims any and all liability if this email transmission was 
>virus corrupted, altered or falsified.
>> ---------------------------------------------------------------------
>> Astrium SAS (393 341 516 RCS Paris) - Siege social: 6 rue 
>Laurent Pichat, 75016 Paris, France
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.com
>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>   
>
>
>-- 
>Joel Sherrill, Ph.D.             Director of Research & Development
>joel.sherrill at OARcorp.com        On-Line Applications Research
>Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>   Support Available             (256) 722-9985
>
>
>

Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des informations confidentielles et/ou protegees ou dont la diffusion est restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le copier, ni l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en avertir immediatement l'expediteur et d'effacer ce courriel de votre systeme. Astrium decline toute responsabilite en cas de corruption par virus, d'alteration ou de falsification de ce courriel lors de sa transmission par voie electronique.

This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Astrium disclaims any and all liability if this email transmission was virus corrupted, altered or falsified.
---------------------------------------------------------------------
Astrium SAS (393 341 516 RCS Paris) - Siege social: 6 rue Laurent Pichat, 75016 Paris, France



More information about the users mailing list