nios2 build failure on RTEMS

Joel Sherrill joel.sherrill at oarcorp.com
Wed Jul 16 20:25:35 UTC 2014


Hi

<sys/cdefs.h> in the nios2 tools is too old to build the current RTEMS.
Newer versions provide __DEVOLATILE

../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:814:
warning: implicit declaration of function '__DEVOLATILE'
../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:814:
warning: nested extern declaration of '__DEVOLATILE'
../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:814: error:
expected expression before 'void'
../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:814:
warning: initialization makes pointer from integer without a cast
../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c: In function
'dwmac_desc_enh_release_tx_bufs':
../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:850: error:
expected expression before 'void'
../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:851:
warning: passing argument 1 of 'memset' makes pointer from integer
without a cast

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