failure to compile 4.8.0 for erc32 using Mingw tools
SERONIE VIVIEN, Jacques
jacques.seronievivien at astrium.eads.net
Wed Feb 27 14:00:09 UTC 2008
I have a compilation error when I try to compile RTEMS 4.8.0.
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/src/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/src/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/src/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
More information about the users
mailing list