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

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Tue Jan 11 14:01:45 UTC 2005


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 want to see if I can reproduce it before we file a PR.


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


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the users mailing list