Multiple SPARC BSP Build Failures
Joel Sherrill
joel.sherrill at oarcorp.com
Tue Feb 3 16:20:51 UTC 2015
Hi
Looking over the build logs, I saw this failure which needs to be fixed.
sparc-rtems4.11-gcc --pipe -B../../../../../.././lib/
-B../../../../../.././leon3/lib/ -specs bsp_specs -qrtems
-DHAVE_CONFIG_H
-I../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon3/include
-mcpu=cypress -msoft-float -O2 -g -ffunction-sections -fdata-sections
-Wall -Wmissing-prototypes -Wimplicit-function-declaration
-Wstrict-prototypes -Wnested-externs -MT libbsp_a-grspw.o -MD -MP -MF
.deps/libbsp_a-grspw.Tpo -c -o libbsp_a-grspw.o `test -f
'../../sparc/shared/spw/grspw.c' || echo
'../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon3/'`../../sparc/shared/spw/grspw.c
../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon3/../../sparc/shared/spw/grspw.c:
In function 'grspw_hw_init':
../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon3/../../sparc/shared/spw/grspw.c:1382:9:
warning: implicit declaration of function
'rtems_heap_allocate_aligned_with_boundry' [-Wimplicit-function-declaration]
pDev->rx = (SPACEWIRE_RXBD *)
rtems_heap_allocate_aligned_with_boundry( SPACEWIRE_BDTABLE_SIZE, 1024, 0 );
^
../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon3/../../sparc/shared/spw/grspw.c:1382:9:
warning: nested extern declaration of
'rtems_heap_allocate_aligned_with_boundry' [-Wnested-externs]
../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon3/../../sparc/shared/spw/grspw.c:
In function 'grspw_hw_reset':
../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon3/../../sparc/shared/spw/grspw.c:1426:22:
error: 'pDec' undeclared (first use in this function)
free(pDec->tx);
^
../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon3/../../sparc/shared/spw/grspw.c:1426:22:
note: each undeclared identifier is reported only once for each function
it appears in
7905
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill 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 devel
mailing list