[RTEMS Project] #2259: SPARC BSPs (leon2, leon3, and ngmp) fail to build

RTEMS trac trac at rtems.org
Tue Feb 10 18:16:48 UTC 2015


#2259: SPARC BSPs (leon2, leon3, and ngmp) fail to build
---------------------------+--------------------
 Reporter:  joel.sherrill  |      Owner:  daniel
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.11
Component:  General        |    Version:  4.11
 Severity:  normal         |   Keywords:
---------------------------+--------------------
 sparc-rtems4.11-gcc --pipe -B../../../../../.././lib/
 -B../../../../../.././leon2/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H
 -isystem ../../../../../.././leon2/lib/include   -mcpu=cypress -msoft-
 float -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-
 prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-
 externs -MT grspw_pci.o -MD -MP -MF .deps/grspw_pci.Tpo -c -o grspw_pci.o
 `test -f '../../sparc/shared/spw/grspw_pci.c' || echo
 '../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon2/'`../../sparc/shared/spw/grspw_pci.c
 ../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon2/../../sparc/shared/spw/grspw.c:
 In function 'grspw_hw_init':
 ../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon2/../../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/leon2/../../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/leon2/../../sparc/shared/spw/grspw.c:
 In function 'grspw_hw_reset':
 ../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon2/../../sparc/shared/spw/grspw.c:1426:22:
 error: 'pDec' undeclared (first use in this function)
                  free(pDec->tx);
                       ^
 ../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon2/../../sparc/shared/spw/grspw.c:1426:22:
 note: each undeclared identifier is reported only once for each function
 it appears in
 gmake[6]: *** [grspw.o] Error 1

--
Ticket URL: <http://devel.rtems.org/ticket/2259>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list