how can I call rtems_shell_main_mv

Xiangfu Liu xiangfu at sharism.cc
Sat Jan 14 15:09:43 UTC 2012


Hi

this commit[1] make the rtems_shell_main_mv static. what is the better way
that I try to use 'mv' in application?

BTW:
I got those eorrores[2] when I using the latest rtems git code.
any advice will be great.

thanks
xiangfu

[1]----
commit 3421e5201f845b479e4881e5468ecf8313728c5a
Author: Ralf Corsepius <ralf.corsepius at rtems.org>
Date:   Sun Dec 4 10:22:51 2011 +0000

[2]----
  CC  obj/compiler/parser.o
  GENERATE  compiler/fnp.inc
  CC  obj/compiler/symtab.o
  LD  bin/flickernoise
obj/main.o: In function `rtems_telnet_shell':
/home/xiangfu/milkymist-firmware/milkymist/flickernoise/src/main.c:235: undefined reference to `rtems_shell_init_env'
/home/xiangfu/milkymist-firmware/milkymist/flickernoise/src/main.c:235: relocation truncated to fit: R_LM32_CALL against undefined symbol `rtems_shell_init_env'
obj/gui/filemanager.o: In function `call_mv':
/home/xiangfu/milkymist-firmware/milkymist/flickernoise/src/gui/filemanager.c:67: undefined reference to `rtems_shell_main_mv'
/home/xiangfu/milkymist-firmware/milkymist/flickernoise/src/gui/filemanager.c:67: relocation truncated to fit: R_LM32_CALL against undefined symbol `rtems_shell_main_mv'
/home/xiangfu/milkymist-firmware/milkymist/flickernoise/src/gui/filemanager.c:67: undefined reference to `rtems_shell_main_mv'
/home/xiangfu/milkymist-firmware/milkymist/flickernoise/src/gui/filemanager.c:67: relocation truncated to fit: R_LM32_CALL against undefined symbol `rtems_shell_main_mv'
/opt/rtems-4.11/lm32-rtems4.11/milkymist/lib/librtemscpu.a(libnetworking_a-rtems_dhcp.o): In function `rtems_bsdnet_do_dhcp_refresh_only':
/home/xiangfu/milkymist-firmware/milkymist/rtems/c/src/../../cpukit/libnetworking/rtems/rtems_dhcp.c:1224: undefined reference to `bootp_strdup_realloc'
/home/xiangfu/milkymist-firmware/milkymist/rtems/c/src/../../cpukit/libnetworking/rtems/rtems_dhcp.c:1224: relocation truncated to fit: R_LM32_CALL against undefined symbol `bootp_strdup_realloc'
collect2: ld returned 1 exit status
make[1]: *** [bin/flickernoise] Error 1



More information about the devel mailing list