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

6.2 EDK, XilFatFS - Linker error: "(writer.o): In function `_write_r' ... undefined reference to 'write'"

Description

Keywords: write, XilFatFS, read, close, reference, undefined, linker, FAT

Urgency: Standard

General Description:
This issue happens when printf is called out in a software system including the XilFatFS libraries. The problem is with XilFatFS being compiled into libxil.a.

XilFatFS has a file called "write.c" which is compiled into write.o.

libgloss has a file called write.c which is compiled into write.o.

Solution

This problem is fixed in the latest 6.2 EDK Service Pack, available at:
http://www.xilinx.com/ise/embedded/edk.htm.
The first service pack containing the fix is EDK 6.2 Service Pack 2.


AR# 19563
Date Created 06/16/2004
Last Updated 04/10/2007
Status Archive
Type General Article