nios2 build failure on RTEMS

Chris Johns chrisj at rtems.org
Wed Jul 16 22:27:06 UTC 2014


On 17/07/2014 6:25 am, Joel Sherrill wrote:
> Hi
>
> <sys/cdefs.h> in the nios2 tools is too old to build the current RTEMS.
> Newer versions provide __DEVOLATILE

Support is in 4.9.x but it is lacking the RTEMS specifics to allow us to 
built it.

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

Can this code provide the macro is not present as a work around ?

Chris



More information about the devel mailing list