pc386 build error

Dennis Ehlin (ECS) Dennis.Ehlin at ecs.ericsson.se
Thu Aug 23 08:53:22 UTC 2001


Hi,

I'm trying to build the pc386 BSP with the latest snapshot (2001-08-16) and I get this error:


--------------------------------------------------------------------------------------------------------------------------------------------
gmake[6]: Entering directory
/home/dennis/rtems/build/i386-rtems/c/pc386/lib/libbsp/i386/pc386/startup'
i386-rtems-gcc --pipe -B../../../../../../../
-B../../../../../../../pc386/lib/ -specs bsp_specs -qrtems -g -Wall  -ansi
-fasm          -c -DHAVE_CONFIG_H   -DUSE_INIT_FINI  -O4 -o
o-optimize/sbrk.o
../../../../../../../../../rtems-ss-20010816/c/src/lib/libbsp/i386/pc386/startup/../../../shared/sbrk.c
In file included from
../../../../../../../pc386/lib/include/rtems/rtems/cache.h:36,
                 from ../../../../../../../pc386/lib/include/rtems.h:46,
                 from
../../../../../../../../../rtems-ss-20010816/c/src/lib/libbsp/i386/pc386/startup/../../../shared/sbrk.c:19:
/opt/rtems/lib/gcc-lib/i386-rtems/2.95.2/../../../../i386-rtems/include/sys/types.h:198:
warning: CLOCKID_T_' redefined
../../../../../../../pc386/lib/include/machine/types.h:29: warning: this is
the location of the previous definition
/opt/rtems/lib/gcc-lib/i386-rtems/2.95.2/../../../../i386-rtems/include/sys/types.h:199:
warning: TIMER_T_' redefined
../../../../../../../pc386/lib/include/machine/types.h:30: warning: this is
the location of the previous definition
../../../../../../../../../rtems-ss-20010816/c/src/lib/libbsp/i386/pc386/startup/../../../shared/sbrk.c:27:
conflicting types for brk'
/opt/rtems/lib/gcc-lib/i386-rtems/2.95.2/../../../../i386-rtems/include/sys/unistd.h:57:
previous declaration of brk'
gmake[6]: *** [o-optimize/sbrk.o] Error 1
gmake[6]: Leaving directory
/home/dennis/rtems/build/i386-rtems/c/pc386/lib/libbsp/i386/pc386/startup'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory
/home/dennis/rtems/build/i386-rtems/c/pc386/lib/libbsp/i386/pc386'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
/home/dennis/rtems/build/i386-rtems/c/pc386/lib/libbsp/i386'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
/home/dennis/rtems/build/i386-rtems/c/pc386/lib/libbsp'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory /home/dennis/rtems/build/i386-rtems/c/pc386'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory /home/dennis/rtems/build/i386-rtems/c'
make: *** [all-recursive] Error 1
--------------------------------------------------------------------------------------------------------------------------------------------

It seems to me that it has something to do with the sbrk function.
Does anyone have an idea of what I should do to fix this?

//Dennis



More information about the users mailing list