UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 34061

11 EDK - "error: 'DestPtr' undeclared (first use in this function)"

Description

When I use the XIo_EndianNoop function, an error similar to the following occurs:

"error: 'DestPtr' undeclared (first use in this function)"

Solution

To work around this issue, open the following file and modify line 213:

C:\Xilinx\11.1\EDK\sw\XilinxProcessorIPLib\drivers\cpu_v1_12_b\src\xio.h

From:

 #define XIo_EndianNoop(Source, Destination) (*DestPtr = Source)


To:

 #define XIo_EndianNoop(Source, DestPtr) (*DestPtr = Source)

This problem is scheduled to be fixed in version 12.1 of the software.

AR# 34061
Date Created 01/04/2010
Last Updated 05/23/2014
Status Archive
Type General Article
Tools
  • EDK - 10.1 sp2
  • EDK - 10.1
  • EDK - 10.1 sp1
  • More
  • EDK - 10.1 sp3
  • EDK - 11.1
  • EDK - 11.2
  • Less
IP
  • Microblaze
  • PowerPC 405 (Virtex-4)
  • PowerPC 405 (Virtex-II Pro)
  • PowerPC 440