powerpc/mpc5668g does not compile

Joel Sherrill joel.sherrill at oarcorp.com
Fri Aug 22 15:16:58 UTC 2014


Hi

Another from the build. Could someone please fix this?

powerpc-rtems4.11-gcc --pipe -B../../../../../.././lib/
-B../../../../../.././mpc5668g/lib/ -specs bsp_specs -qrtems
-DHAVE_CONFIG_H   -isystem ../../../../../.././mpc5668g/lib/include  
-mcpu=8540 -meabi -msdata=sysv -fno-common -msoft-float -D__ppc_generic
-mstrict-align -O2 -g -fno-keep-inline-functions -Wall
-Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes
-Wnested-externs -MT smsc9218i.o -MD -MP -MF .deps/smsc9218i.Tpo -c -o
smsc9218i.o `test -f 'network/smsc9218i.c' || echo
'../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/'`network/smsc9218i.c
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c:
In function 'smsc9218i_interrupt_init':
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c:1662:9:
error: variable 'direr' has initializer but incomplete type
   union SIU_DIRER_tag direr = MPC55XX_ZERO_FLAGS;
         ^
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c:1662:9:
error: unknown field 'R' specified in initializer
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c:1662:9:
warning: excess elements in union initializer [enabled by default]
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c:1662:9:
warning: (near initialization for 'direr') [enabled by default]
../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c:1662:23:
error: storage size of 'direr' isn't known
   union SIU_DIRER_tag direr = MPC55XX_ZERO_FLAGS;
                       ^

-- 
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