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

6.3 EDK, LibGen, PPC - Can I use xil_malloc and xil_free functions with PPC?

Description

Keywords: malloc, free, lighter

Urgency: Standard

General Description:
Using a PPC, I receive the following error with the use of xil_malloc:

/xygdrive/h/Case/Case_563675/Vins_test/TestApp/src/TestApp.c:81: undefined reference to `xil_malloc'

However, I turn on the option "need xil_malloc" in the software settings and include the header xil_malloc.h.

Solution

This is not a bug; xil_malloc is not supported by PPC.

The EDK OS and Libraries reference guide will be updated in EDK 7.1.
AR# 20063
Date Created 09/29/2004
Last Updated 04/11/2007
Status Archive
Type General Article