Compilation issues under i386 for i386.

Jean Gabriel Gonzalez jeangabriel at ou.edu
Thu May 24 21:51:14 UTC 2007


Hello everybody,
 
I am working on a i386 computer in order to compile RTEMS 4.7.99.1 for a
i386 target, but i have some compilation problems. 

I work under Fedora core 6 distribution.
 
So, i created a directory "/rtems" to run the configure :
 
/root/Desktop/rtems-4.7.99.1/configure --target=i386-rtems
--enable-rtemsbsp=pc386
 
The configure works well, i have these messages :
 
target architecture: i386.
available BSPs: pc386.
'gmake all' will build the following BSPs: pc386.
other BSPs can be built with 'gmake RTEMS_BSP="bsp1 bsp2 ..."'
 
config.status: creating Makefile
config.status: creating make/Makefile
 
 
 
Then, like it's indicated in the documentation started.pdf ( export 
PATH=<INSTALL_POINT>/bin:${PATH} ), i made this command :
 
export PATH=/rtems/bin:${PATH}
Then I specify the CC variable like that :
 
# CC=gcc ;export CC
After, i make the following command : gmake all
 
The compilation starts but i have a problem at this point :
 
gmake[7]: Entering directory 
`/rtems/i386-rtems/c/pc386/cpukit/score/cpu/i386'
gcc --pipe -DHAVE_CONFIG_H -I../../.. 
-I../../../../cpukit/../../../pc386/lib/include -Wall -fasm -O2 -g -MT 
libscorecpu_a-cpu.o -MD -MP -MF .deps/libscorecpu_a-cpu.Tpo -c -o 
libscorecpu_a-cpu.o `test -f 'cpu.c' || echo 
'/root/Desktop/rtems-4.7.99.1/c/src/../../cpukit/score/cpu/i386/'`cpu.c
In file included from /usr/include/sys/types.h:220,
from ../../../../cpukit/../../../pc386/lib/include/rtems/rtems/cache.h:39,
from ../../../../cpukit/../../../pc386/lib/include/rtems.h:50,
from 
/root/Desktop/rtems-4.7.99.1/c/src/../../cpukit/score/cpu/i386/cpu.c:15:
../../../../cpukit/../../../pc386/lib/include/sys/select.h:66: error: 
expected declaration specifiers or '...' before 'fd_set'
../../../../cpukit/../../../pc386/lib/include/sys/select.h:67: error: 
expected declaration specifiers or '...' before 'fd_set'
../../../../cpukit/../../../pc386/lib/include/sys/select.h:68: error: 
expected declaration specifiers or '...' before 'fd_set'
gmake[7]: *** [libscorecpu_a-cpu.o] Error 1
gmake[7]: Leaving directory 
`/rtems/i386-rtems/c/pc386/cpukit/score/cpu/i386'
gmake[6]: *** [all-recursive] Error 1
gmake[6]: Leaving directory `/rtems/i386-rtems/c/pc386/cpukit/score/cpu'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/rtems/i386-rtems/c/pc386/cpukit/score'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/rtems/i386-rtems/c/pc386/cpukit'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/rtems/i386-rtems/c/pc386/cpukit'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/rtems/i386-rtems/c/pc386'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/rtems/i386-rtems/c'
make: *** [all-recursive] Error 1
 
What could be the problem ? Does someone have any ideas?
If you need more information, let me know.
 
 
Matthieu Desarmeaux & Jean-Gabriel Gonzalez
Interns in the University of Oklahoma
School of Computer Science

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20070524/f9814eb0/attachment.html>


More information about the users mailing list