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'"

描述

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.

解决方案

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
日期 04/10/2007
状态 Archive
Type 综合文章
的页面