pc386 build error

Dennis Ehlin (ECS) Dennis.Ehlin at ecs.ericsson.se
Thu Aug 23 13:36:38 UTC 2001


I just realised that I was using too old tools.

I will install the the same tools as you have, and try again.

//Dennis

-----Original Message-----
From: Mike Siers [mailto:mikes at poliac.com]
Sent: den 23 augusti 2001 15:31
To: Dennis Ehlin (ECS)
Cc: rtems-users at oarcorp.com
Subject: RE: pc386 build error



Hi,
What versions of the tools are you using?  I just built the
i386/pc586 BSP without a problem.  I am using the following
tool versions:

  binutils 2.10
  gcc 2.95.3
  newlib 1.9.0

Good Luck
Mike Siers


-----Original Message-----
From: Dennis Ehlin (ECS) [mailto:Dennis.Ehlin at ecs.ericsson.se]
Sent: Thursday, August 23, 2001 3:53 AM
To: 'rtems-users at oarcorp.com'
Subject: pc386 build error


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/sta
rtup/../../../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/sta
rtup/../../../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/sta
rtup/../../../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