unable to build debug version of 451

Jerry Needell jerry.needell at unh.edu
Fri Oct 19 15:11:42 UTC 2001


I am using the bit_rtems script to build version 4.5.1 for the sparc
erc32, it works fine for the non-debug version.  When I try to build the
"debug" version, it fails as the attaced log snippet shows. I have never
tried building the debug version, so I was wondering if anyone else has
used it. Should I expect it to work? 

- Jerry


-- 
_______________________________________________________________________
Jerry Needell                     | Internet: jerry.needell at unh.edu
Space Science Center/Morse Hall   | Voice: (603) 862 2732
University Of New Hampshire       | FAX:   (603) 862 0311
Durham, NH 03824                  |
-------------- next part --------------
/home/needell/rtems/451/sparc-rtems/bin/nm -g -n o-debug/cpuuse.exe > o-debug/cpuuse.num
/home/needell/rtems/451/bin/sparc-rtems-size o-debug/cpuuse.exe
   text	   data	    bss	    dec	    hex	filename
 175776	   2512	  53608	 231896	  389d8	o-debug/cpuuse.exe
/usr/bin/install -c  o-debug/cpuuse.exe ../../../../../../erc32/tests/cpuuse_g.exe
gmake[5]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/cpuuse'
Making all in malloctest
gmake[5]: Entering directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/malloctest'
mkdir o-debug
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c  -Wno-unused -qrtems_debug -o o-debug/init.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/malloctest/init.c
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c  -Wno-unused -qrtems_debug -o o-debug/task1.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/malloctest/task1.c
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress      -L ../../../../../../erc32/lib  -Wno-unused -qrtems_debug  -o o-debug/malloctest.exe  o-debug/init.o o-debug/task1.o   ../../../../../../erc32/lib/no-dpmem_g.rel ../../../../../../erc32/lib/no-event_g.rel ../../../../../../erc32/lib/no-msg_g.rel ../../../../../../erc32/lib/no-mp_g.rel ../../../../../../erc32/lib/no-part_g.rel ../../../../../../erc32/lib/no-signal_g.rel ../../../../../../erc32/lib/no-timer_g.rel ../../../../../../erc32/lib/no-rtmon_g.rel     
/home/needell/rtems/451/sparc-rtems/bin/nm -g -n o-debug/malloctest.exe > o-debug/malloctest.num
/home/needell/rtems/451/bin/sparc-rtems-size o-debug/malloctest.exe
   text	   data	    bss	    dec	    hex	filename
 169680	   2480	  21560	 193720	  2f4b8	o-debug/malloctest.exe
/usr/bin/install -c  o-debug/malloctest.exe ../../../../../../erc32/tests/malloctest_g.exe
gmake[5]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/malloctest'
Making all in putenvtest
gmake[5]: Entering directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/putenvtest'
mkdir o-debug
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c  -Wno-unused -qrtems_debug -o o-debug/init.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/putenvtest/init.c
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress      -L ../../../../../../erc32/lib  -Wno-unused -qrtems_debug  -o o-debug/putenvtest.exe  o-debug/init.o   ../../../../../../erc32/lib/no-dpmem_g.rel ../../../../../../erc32/lib/no-event_g.rel ../../../../../../erc32/lib/no-msg_g.rel ../../../../../../erc32/lib/no-mp_g.rel ../../../../../../erc32/lib/no-part_g.rel ../../../../../../erc32/lib/no-signal_g.rel ../../../../../../erc32/lib/no-timer_g.rel ../../../../../../erc32/lib/no-rtmon_g.rel     
/home/needell/rtems/451/sparc-rtems/bin/nm -g -n o-debug/putenvtest.exe > o-debug/putenvtest.num
/home/needell/rtems/451/bin/sparc-rtems-size o-debug/putenvtest.exe
   text	   data	    bss	    dec	    hex	filename
 154416	   2128	  21528	 178072	  2b798	o-debug/putenvtest.exe
/usr/bin/install -c  o-debug/putenvtest.exe ../../../../../../erc32/tests/putenvtest_g.exe
gmake[5]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/putenvtest'
Making all in monitor
gmake[5]: Entering directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/monitor'
mkdir o-debug
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c  -Wno-unused -qrtems_debug -o o-debug/init.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/monitor/init.c
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress      -L ../../../../../../erc32/lib  -Wno-unused -qrtems_debug  -o o-debug/monitor.exe  o-debug/init.o      
/home/needell/rtems/451/sparc-rtems/bin/nm -g -n o-debug/monitor.exe > o-debug/monitor.num
/home/needell/rtems/451/bin/sparc-rtems-size o-debug/monitor.exe
   text	   data	    bss	    dec	    hex	filename
 198560	   3808	  21624	 223992	  36af8	o-debug/monitor.exe
/usr/bin/install -c  o-debug/monitor.exe ../../../../../../erc32/tests/monitor_g.exe
gmake[5]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/monitor'
Making all in rtmonuse
gmake[5]: Entering directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/rtmonuse'
mkdir o-debug
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c  -Wno-unused -qrtems_debug -o o-debug/init.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/rtmonuse/init.c
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c  -Wno-unused -qrtems_debug -o o-debug/getall.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/rtmonuse/getall.c
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c  -Wno-unused -qrtems_debug -o o-debug/task1.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/rtmonuse/task1.c
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress      -L ../../../../../../erc32/lib  -Wno-unused -qrtems_debug  -o o-debug/rtmonuse.exe  o-debug/init.o o-debug/getall.o o-debug/task1.o ../../../../../../erc32/lib/no-dpmem_g.rel ../../../../../../erc32/lib/no-event_g.rel ../../../../../../erc32/lib/no-msg_g.rel ../../../../../../erc32/lib/no-mp_g.rel ../../../../../../erc32/lib/no-part_g.rel ../../../../../../erc32/lib/no-signal_g.rel ../../../../../../erc32/lib/no-timer_g.rel     
/home/needell/rtems/451/sparc-rtems/bin/nm -g -n o-debug/rtmonuse.exe > o-debug/rtmonuse.num
/home/needell/rtems/451/bin/sparc-rtems-size o-debug/rtmonuse.exe
   text	   data	    bss	    dec	    hex	filename
 178320	   2560	  21612	 202492	  316fc	o-debug/rtmonuse.exe
/usr/bin/install -c  o-debug/rtmonuse.exe ../../../../../../erc32/tests/rtmonuse_g.exe
gmake[5]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/rtmonuse'
Making all in stackchk
gmake[5]: Entering directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/stackchk'
mkdir o-debug
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c  -Wno-unused -qrtems_debug -o o-debug/blow.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/stackchk/blow.c
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c  -Wno-unused -qrtems_debug -o o-debug/init.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/stackchk/init.c
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c  -Wno-unused -qrtems_debug -o o-debug/task1.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/stackchk/task1.c
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress      -L ../../../../../../erc32/lib  -Wno-unused -qrtems_debug  -o o-debug/stackchk.exe  o-debug/blow.o o-debug/init.o o-debug/task1.o ../../../../../../erc32/lib/no-dpmem_g.rel ../../../../../../erc32/lib/no-event_g.rel ../../../../../../erc32/lib/no-msg_g.rel ../../../../../../erc32/lib/no-mp_g.rel ../../../../../../erc32/lib/no-part_g.rel ../../../../../../erc32/lib/no-signal_g.rel ../../../../../../erc32/lib/no-timer_g.rel ../../../../../../erc32/lib/no-rtmon_g.rel     
/home/needell/rtems/451/sparc-rtems/bin/nm -g -n o-debug/stackchk.exe > o-debug/stackchk.num
/home/needell/rtems/451/bin/sparc-rtems-size o-debug/stackchk.exe
   text	   data	    bss	    dec	    hex	filename
 170816	   2544	  21576	 194936	  2f978	o-debug/stackchk.exe
/usr/bin/install -c  o-debug/stackchk.exe ../../../../../../erc32/tests/stackchk_g.exe
gmake[5]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/stackchk'
Making all in termios
gmake[5]: Entering directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/termios'
mkdir o-debug
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c  -Wno-unused -qrtems_debug -o o-debug/init.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/termios/init.c
/home/needell/rtems/451/bin/sparc-rtems-gcc --pipe -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress      -L ../../../../../../erc32/lib  -Wno-unused -qrtems_debug  -o o-debug/termios.exe  o-debug/init.o   ../../../../../../erc32/lib/no-dpmem_g.rel ../../../../../../erc32/lib/no-event_g.rel ../../../../../../erc32/lib/no-msg_g.rel ../../../../../../erc32/lib/no-mp_g.rel ../../../../../../erc32/lib/no-part_g.rel ../../../../../../erc32/lib/no-signal_g.rel ../../../../../../erc32/lib/no-timer_g.rel ../../../../../../erc32/lib/no-rtmon_g.rel     
/home/needell/rtems/451/sparc-rtems/bin/nm -g -n o-debug/termios.exe > o-debug/termios.num
/home/needell/rtems/451/bin/sparc-rtems-size o-debug/termios.exe
   text	   data	    bss	    dec	    hex	filename
 181088	   2112	  21512	 204712	  31fa8	o-debug/termios.exe
/usr/bin/install -c  o-debug/termios.exe ../../../../../../erc32/tests/termios_g.exe
gmake[5]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/termios'
Making all in rtems++
gmake[5]: Entering directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/rtems++'
mkdir o-debug
/home/needell/rtems/451/bin/sparc-rtems-g++ -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c   -o o-debug/Init.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/rtems++/Init.cc
/home/needell/rtems/451/bin/sparc-rtems-g++ -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c   -o o-debug/Task1.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/rtems++/Task1.cc
/home/needell/rtems/451/bin/sparc-rtems-g++ -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c   -o o-debug/Task2.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/rtems++/Task2.cc
/home/needell/rtems/451/bin/sparc-rtems-g++ -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress     -c   -o o-debug/Task3.o ../../../../../../../rtems-4.5.1-pre2/c/src/tests/libtests/rtems++/Task3.cc
/home/needell/rtems/451/bin/sparc-rtems-g++ -B../../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu=cypress      -L ../../../../../../erc32/lib  -Wno-unused -qrtems_debug   -o o-debug/rtems++.exe  o-debug/Init.o o-debug/Task1.o o-debug/Task2.o o-debug/Task3.o ../../../../../../erc32/lib/no-dpmem_g.rel ../../../../../../erc32/lib/no-mp_g.rel ../../../../../../erc32/lib/no-part_g.rel -lrtems++    
/home/needell/rtems/451/sparc-rtems/bin/ld: cannot find -lrtems++
collect2: ld returned 1 exit status
gmake[5]: *** [o-debug/rtems++.exe] Error 1
gmake[5]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests/rtems++'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests/libtests'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/tests'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c'
gmake: *** [all-recursive] Error 1
ERROR: failed gmake VARIANT=DEBUG.
./bit_rtems: exit: bad non-numeric arg `./bit_rtems'


More information about the users mailing list