Opened on 02/10/15 at 18:16:48
Closed on 02/12/15 at 08:09:12
#2259 closed defect (fixed)
SPARC BSPs (leon2, leon3, and ngmp) fail to build
Reported by: | Joel Sherrill | Owned by: | Daniel Hellstrom |
---|---|---|---|
Priority: | normal | Milestone: | 4.11 |
Component: | bsps | Version: | 4.11 |
Severity: | blocker | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
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
Change History (3)
comment:1 Changed on 02/10/15 at 18:17:05 by Joel Sherrill
Severity: | normal → blocker |
---|
comment:2 Changed on 02/10/15 at 18:19:01 by Joel Sherrill
Component: | General → bsps |
---|
comment:3 Changed on 02/12/15 at 08:09:12 by Daniel Hellstrom
Resolution: | → fixed |
---|---|
Status: | new → closed |
DanielC's fix has now been pushed to master.