AR# 37617

|

12.1 EDK - undefined reference to 'xil_io_out32'

Description

I am using the "Create and Import Peripheral" function in XPS. I create a peripheral that contains one or more software addresses. I enable registers using the "User logic software register" tick-box. The following error occurs when the automatically created drivers compile:

./src/helloworld.o: In function 'main':
/cygdrive/c/Projects/MDB-3/Motorcontrol/Platform/SDK/Software_v1_0_a/hello_world_0/Debug/../src/helloworld.c:41: undefined reference
to 'xil_io_out32'
collect2: ld returned 1 exit status
make: *** [hello_world_0.elf] Error 1

Solution

You need to change the function call from xil_io_out32 to XIo_Out32. This problem is scheduled to be fixed in ISE 12.4 software.

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
34609 12.x EDK - Master Answer Record List N/A N/A
AR# 37617
Date 12/15/2012
Status Active
Type General Article
Tools
People Also Viewed