Build error on the latest repo

Deng Hengyi wei.a.yang at gmail.com
Sat Jul 6 15:25:02 UTC 2013


Hi all,

When i used the latest repo from git there is a error in the build for realview_pbx_a9_qemu_smp. 
My configure command is :
 ../../rtems-git/configure --target=arm-rtems4.11 --prefix=/home/weiy/project/gsoc/gsoc2013/rtems-install --enable-smp --enable-tests=yes --enable-rtemsbsp=realview_pbx_a9_qemu_smp
toolchains are built from RSB (newlib is 15-June-2013) with the last commit is Jun 6.

By the way whether there is a command to build only smptests test case? 

the error is like hollow:

arm-rtems4.11-gcc -B../../../../../realview_pbx_a9_qemu_smp/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../../rtems-git/c/src/../../testsuites/libtests/mouse01 -I..  -I../../../../../../../../rtems-git/c/src/../../testsuites/libtests/../support/include -I../../../../../../../../rtems-git/c/src/../../testsuites/libtests/termios04   -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o ../../../../../../../../rtems-git/c/src/../../testsuites/libtests/mouse01/init.c
mv -f .deps/init.Tpo .deps/init.Po
arm-rtems4.11-gcc -B../../../../../realview_pbx_a9_qemu_smp/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../../rtems-git/c/src/../../testsuites/libtests/mouse01 -I..  -I../../../../../../../../rtems-git/c/src/../../testsuites/libtests/../support/include -I../../../../../../../../rtems-git/c/src/../../testsuites/libtests/termios04   -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT serial_mouse_config.o -MD -MP -MF .deps/serial_mouse_config.Tpo -c -o serial_mouse_config.o ../../../../../../../../rtems-git/c/src/../../testsuites/libtests/mouse01/serial_mouse_config.c
mv -f .deps/serial_mouse_config.Tpo .deps/serial_mouse_config.Po
arm-rtems4.11-gcc -B../../../../../realview_pbx_a9_qemu_smp/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../../rtems-git/c/src/../../testsuites/libtests/mouse01 -I..  -I../../../../../../../../rtems-git/c/src/../../testsuites/libtests/../support/include -I../../../../../../../../rtems-git/c/src/../../testsuites/libtests/termios04   -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT msmouse.o -MD -MP -MF .deps/msmouse.Tpo -c -o msmouse.o ../../../../../../../../rtems-git/c/src/../../testsuites/libtests/mouse01/msmouse.c
mv -f .deps/msmouse.Tpo .deps/msmouse.Po
arm-rtems4.11-gcc -B../../../../../realview_pbx_a9_qemu_smp/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../../rtems-git/c/src/../../testsuites/libtests/mouse01 -I..  -I../../../../../../../../rtems-git/c/src/../../testsuites/libtests/../support/include -I../../../../../../../../rtems-git/c/src/../../testsuites/libtests/termios04   -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT termios_testdriver_intr.o -MD -MP -MF .deps/termios_testdriver_intr.Tpo -c -o termios_testdriver_intr.o `test -f '../termios04/termios_testdriver_intr.c' || echo '../../../../../../../../rtems-git/c/src/../../testsuites/libtests/mouse01/'`../termios04/termios_testdriver_intr.c
mv -f .deps/termios_testdriver_intr.Tpo .deps/termios_testdriver_intr.Po
arm-rtems4.11-gcc -B../../../../../realview_pbx_a9_qemu_smp/lib/ -specs bsp_specs -qrtems -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs    -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9   -o mouse01.exe init.o serial_mouse_config.o msmouse.o termios_testdriver_intr.o 
../../../../../realview_pbx_a9_qemu_smp/lib/librtemsbsp.a(libbsp_a-console-config.o): In function `bsp_get_serial_mouse_device':
/home/weiy/project/gsoc/gsoc2013/rtems-build/arm-build/arm-rtems4.11/c/realview_pbx_a9_qemu_smp/lib/libbsp/arm/realview-pbx-a9/../../../../../../../../../rtems-git/c/src/lib/libbsp/arm/realview-pbx-a9/console/console-config.c:104: multiple definition of `bsp_get_serial_mouse_device'
serial_mouse_config.o:/home/weiy/project/gsoc/gsoc2013/rtems-build/arm-build/arm-rtems4.11/c/realview_pbx_a9_qemu_smp/testsuites/libtests/mouse01/../../../../../../../../rtems-git/c/src/../../testsuites/libtests/mouse01/serial_mouse_config.c:28: first defined here
collect2: error: ld returned 1 exit status
make[6]: *** [mouse01.exe] Error 1
make[6]: Leaving directory `/home/weiy/project/gsoc/gsoc2013/rtems-build/arm-build/arm-rtems4.11/c/realview_pbx_a9_qemu_smp/testsuites/libtests/mouse01'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/weiy/project/gsoc/gsoc2013/rtems-build/arm-build/arm-rtems4.11/c/realview_pbx_a9_qemu_smp/testsuites/libtests'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/weiy/project/gsoc/gsoc2013/rtems-build/arm-build/arm-rtems4.11/c/realview_pbx_a9_qemu_smp/testsuites/libtests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/weiy/project/gsoc/gsoc2013/rtems-build/arm-build/arm-rtems4.11/c/realview_pbx_a9_qemu_smp/testsuites'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/weiy/project/gsoc/gsoc2013/rtems-build/arm-build/arm-rtems4.11/c/realview_pbx_a9_qemu_smp'
make[1]: *** [all-recursive] Error 1





More information about the devel mailing list