warning in hello building
Joel Sherrill
joel.sherrill at OARcorp.com
Mon Nov 18 12:59:29 UTC 2002
Poletti Francesco wrote:
>
> Hy, I'm developing the port of rtems on an arm simulator.
> I'm using arm_bare_bsp has a base to developing my code...
>
> When I build the hello examples I have this warning:
Effort has bene put into removing warnings. This one will be
resolved with the next snapshot. Basically it means <stdlib.h>
was not included.
> arm-rtems-gcc --pipe -B/home/tesi16/rtems/arm-rtems/arm_bare_bsp/lib/ -specs
> bsp_specs -qrtems -g -Wall -g -mcpu=arm7tdmi -c -o
> o-optimize/test.o test.c
> test.c: In function `Init':
> test.c:18: warning: implicit declaration of function `exit'
> arm-rtems-gcc --pipe -B/home/tesi16/rtems/arm-rtems/arm_bare_bsp/lib/ -specs
> bsp_specs -qrtems -g -Wall -g -mcpu=arm7tdmi -L
> /home/tesi16/rtems/arm-rtems/arm_bare_bsp/lib -o o-optimize/hello.obj
> o-optimize/test.o
> /home/tesi16/rtems/arm-rtems/arm_bare_bsp/lib/no-dpmem.rel
> /home/tesi16/rtems/arm-rtems/arm_bare_bsp/lib/no-event.rel
> /home/tesi16/rtems/arm-rtems/arm_bare_bsp/lib/no-msg.rel
> /home/tesi16/rtems/arm-rtems/arm_bare_bsp/lib/no-mp.rel
> /home/tesi16/rtems/arm-rtems/arm_bare_bsp/lib/no-part.rel
> /home/tesi16/rtems/arm-rtems/arm_bare_bsp/lib/no-signal.rel
> /home/tesi16/rtems/arm-rtems/arm_bare_bsp/lib/no-timer.rel
> /home/tesi16/rtems/arm-rtems/arm_bare_bsp/lib/no-rtmon.rel
> arm-rtems-nm -g -n o-optimize/hello.obj > o-optimize/hello.num
> arm-rtems-size o-optimize/hello.obj
> text data bss dec hex filename
> 170553 2792 11648 184993 2d2a1 o-optimize/hello.obj
> arm-rtems-objcopy -O binary o-optimize/hello.obj o-optimize/hello.bin
> arm-rtems-objdump -d o-optimize/hello.obj > o-optimize/hello.as
> arm-rtems-objdump -x o-optimize/hello.obj > o-optimize/hello.x
> cp o-optimize/hello.bin o-optimize/hello.exe
>
> Anyone may help me?
> Thanks all.
> Francesco
--
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