[rtems-4-6-branch] i386/pc386 BSP compilation failure

Karel Gardas kgardas at objectsecurity.com
Tue Jan 11 18:41:59 UTC 2005


On Tue, 11 Jan 2005, Joel Sherrill <joel at OARcorp.com> wrote:

> Karel Gardas wrote:
> > Hello,
> >
> > I'm trying to compile yesterday sources from rtems-4-6-branch for pc386
> > BSP, but build fails with:
> >
> > i386-rtems-gcc --pipe -B../../../../../../../lib/
> > -B../../../../../../../pc386/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H
> > -isystem ../../../../../../../pc386/lib/include       -O4 -g -Wall -ansi
> > -fasm  -o o-optimize/tod.o -c
> > ../../../../../../../../../rtems/c/src/lib/libbsp/i386/pc386/clock/../../../shared/tod.c
> > ../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c:13:17:
> > tod.h: No such file or directory
> > ../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c: In
> > function `rtc_initialize':
> > ../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c:102:
> > warning: implicit declaration of function `setRealTimeToRTEMS'
> > ../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c: At top
> > level:
> > ../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c:119:
> > warning: type mismatch with previous implicit declaration
> > ../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c:102:
> > warning: previous implicit declaration of `setRealTimeToRTEMS'
> > ../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c:119:
> > warning: `setRealTimeToRTEMS' was previously implicitly declared to return
> > `int'
> > make[6]: *** [o-optimize/tod.o] Error 1
> > make[6]: Leaving directory
> > `/mnt/karel/downloads/RTEMS/build/tools/obj-rtems/i386-rtems/c/pc386/lib/libbsp/i386/pc386/clock'
> > make[5]: *** [all-recursive] Error 1
> > make[5]: Leaving directory
> > `/mnt/karel/downloads/RTEMS/build/tools/obj-rtems/i386-rtems/c/pc386/lib/libbsp/i386/pc386'
> > make[4]: *** [all-recursive] Error 1
> > make[4]: Leaving directory
> > `/mnt/karel/downloads/RTEMS/build/tools/obj-rtems/i386-rtems/c/pc386/lib/libbsp/i386'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory
> > `/mnt/karel/downloads/RTEMS/build/tools/obj-rtems/i386-rtems/c/pc386/lib/libbsp'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory
> > `/mnt/karel/downloads/RTEMS/build/tools/obj-rtems/i386-rtems/c/pc386'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/mnt/karel/downloads/RTEMS/build/tools/obj-rtems/i386-rtems/c'
> > make: *** [all-recursive] Error 1
> >
> >
> > gcc is configured as:
> >
> > thinkpad:/mnt/karel/downloads/RTEMS/build/tools/obj-rtems$ i386-rtems-gcc
> > -v
> > Reading specs from
> > /mnt/karel/rtems-x86-toolchain/lib/gcc-lib/i386-rtems/3.2.3/specs
> > Configured with: ../gcc-3.2.3/configure
> > --prefix=/mnt/karel/rtems-x86-toolchain --target=i386-rtems --with-gnu-as
> > --with-gnu-ld --with-newlib --verbose --enable-threads
> > --enable-languages=c,c++
> > Thread model: rtems
> > gcc version 3.2.3
> >
> >
> > Should I report this error to your bugtracking system?
>
> Probably but before you do that.. how exactly did you configure?

I've configured it with:

../rtems/configure --target=i386-rtems --enable-cxx
--enable-rtemsbsp=pc386 --prefix=/mnt/karel/rtems-x86

and i386-rtems tool-chain is installed in:
/mnt/karel/rtems-x86-toolchain/


Thanks,
Karel
--
Karel Gardas                  kgardas at objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com




More information about the users mailing list