AR# 37617: 12.1 EDK - undefined reference to 'xil_io_out32'
AR# 37617
|
12.1 EDK - undefined reference to 'xil_io_out32'
描述
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
解决方案
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.