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

3.1/3.2 EDK - mb-ld or powerpc-eabi-ld: "Cannot open output file <processor>/code/executable.elf: Permission denied"

Description

Keywords: mb-ld, permission, denied, executable.elf, GDB, powerpc-eabi-ld

Urgency: Standard

General Description:
If the GDB-GUI is open and the executable.elf is loaded, I cannot re-compile the "C" code because GDB blocks the executable.elf file. The following is an example of error messages that are reported:

"-----------------------------
mb-ld: cannot open output file mb/code/executable.elf: Permission denied

make: *** [mb/code/executable.elf] Error 1
Done."

Solution

To work around this problem, close GDB first before re-compiling the source file.
AR# 17459
Date Created 06/18/2003
Last Updated 04/06/2007
Status Archive
Type General Article