Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
shily0532
Posts: 11
Registered: ‎05-06-2008
0

When I build a project in EDK, some problems !

Hello, 

I build a project named TestApp_Memory , wanting to generate a " *.elf " file. But some problems come out:

 

/usr/bin/bash: cd: /cygdrive/d/FPGA: No such file or directory
make: *** No rule to make target `/cygdrive/d/FPGA', needed by `TestApp_Memory/executable.elf'.  Stop.
Done!

 

I don't what this means. So, anyone can help me?  Thanks very much! 

Expert Contributor
bassman59
Posts: 4,668
Registered: ‎02-25-2008
0

Re: When I build a project in EDK, some problems !


shily0532 wrote:

Hello, 

I build a project named TestApp_Memory , wanting to generate a " *.elf " file. But some problems come out:

 

/usr/bin/bash: cd: /cygdrive/d/FPGA: No such file or directory
make: *** No rule to make target `/cygdrive/d/FPGA', needed by `TestApp_Memory/executable.elf'.  Stop.
Done!

 

I don't what this means. So, anyone can help me?  Thanks very much! 


It means that there's no directory called /cygdrive/d/FPGA !

 

Now, the tools run within a cygwin bash shell, and in the cygwin world, /cygdrive/d is actually your D: drive. So either you don't have a D: drive, or there's no directory called D:\FPGA.

 

-a 


----------------------------------------------------------------
Yes, I do this for a living.
Visitor
shily0532
Posts: 11
Registered: ‎05-06-2008
0

Re: When I build a project in EDK, some problems !

Hello,

Thanks for your answer. I build a folder "D:\FPGA" , but in the console window it says "system.make: No such file or directory.". In face , it generated this file already in the directory which was the same as my project!

Now i wonder why it need a folder "D:\FPGA" ,and what's in it?

 

Thanks again!

Visitor
omegahar
Posts: 5
Registered: ‎06-01-2008
0

Re: When I build a project in EDK, some problems !

I have a similar problem when I try to build a project I get this error

 

"mb-ld.exe - Unable To locate Component

  This application has failed to start because xygwin1.dll was not found. Re-installing the the application may fix this problem"

 

I am running XPS 9.2.02i on WinXP SP2

 

Not sure how to fix this problem. Any help would be appreciated. 

 

Xilinx Employee
centaur19
Posts: 297
Registered: ‎08-01-2007
0

Re: When I build a project in EDK, some problems !

This probably means that the tools are not setup correctly. Here are a couple of things to check:

 

1. Does your install folder have spaces in the name?

2. Can you launch the Cygwin shell? (Xilinx Platform Studio --> Accessories --> launch EDK shell)

3. Is this the only version of Cygwin on your machine?

4. Can you type 'set' in this shell and see if you have any PATH entries with mb or powerpc-eabi?

 

Visitor
omegahar
Posts: 5
Registered: ‎06-01-2008
0

Re: When I build a project in EDK, some problems !

1. No,  i dont think there is any space in the install folder. Did you mean by c:\EDK or c:\Xilinx92i

 

2.  Yes I was able to launch EDK shell as you mentioned

 

3.   This is what I got when EDK shell was launched

EDK Shell
Xilinx EDK 9.2.02 Build EDK_Jm_SP2.3
Copyright (c) 1995-2007 Xilinx, Inc.  All rights reserved.

Analyzing Cygwin versions...
Xilinx EDK detected Cygwin installation v1.5.17(0.129/4/2) on your machine.
This Cygwin (C:\\EDK\\cygwin\\bin) will be used to run Xilinx EDK tools.

Owner@MADHAV ~
$

 

4. After SET was typed I saw the following PATH declarations 

 

PATH=$'/usr/local/bin:/usr/bin:/bin:/usr/bin:/cygdrive/c/EDK/bin/nt:/cygdrive/c/
EDK/gnu/powerpc-eabi/nt/bin:/cygdrive/c/EDK/gnu/microblaze/nt/bin:/cygdrive/c/ED
K/bin/nt:/cygdrive/c/Perl/bin/:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:
/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Xilinx92i/bin/nt:/cygdrive/c/Progr
am Files/Microsoft Visual Studio/Common/Tools/WinNT:/cygdrive/c/Program Files/Mi
crosoft Visual Studio/Common/MSDev98/Bin:/cygdrive/c/Program Files/Microsoft Vis
ual Studio/Common/Tools:/cygdrive/c/Program Files/Microsoft Visual Studio/VC98/b
in:/cygdrive/c/Modeltech_xe_starter/win32xoem:/cygdrive/c/Modeltech_eval_6.1f/wi
n32pe:/cygdrive/c/WinVi/:.:/cygdrive/c/zipTmp/vim-5.3:/cygdrive/c/vim-5.3:/cygdr
ive/c/Program Files/Pinnacle/Shared Files:/cygdrive/c/Program Files/Pinnacle/Sha
red Files/Filter'
PATHEXT=$'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'

 

thanks, 

Xilinx Employee
centaur19
Posts: 297
Registered: ‎08-01-2007
0

Re: When I build a project in EDK, some problems !

Do you have a D: on your machine? If not, you can try to change the executable file to be saved in the location where your project currently resides.

 

 

Visitor
omegahar
Posts: 5
Registered: ‎06-01-2008
0

Re: When I build a project in EDK, some problems !

No I think I wasnt clear on my first point, I meant no I dont have any spaces in the name of the install folder. I wasnt talking about storage space in that folder.

 

 

Xilinx Employee
centaur19
Posts: 297
Registered: ‎08-01-2007
0

Re: When I build a project in EDK, some problems !

Let me clarify. Since you indicated in one of the first posts that you created this structure D:\FPGA, I was wondering if you have a D drive in your machine.
Visitor
omegahar
Posts: 5
Registered: ‎06-01-2008
0

Re: When I build a project in EDK, some problems !

I keep getting this error when I run LIBGen, has anyone see this too?

 

Running generate for OS'es, Drivers and Libraries ...
Copying Library Files ...
ERROR:MDT - cpu () - Couldn't make xmdstub: make[1]: Entering directory
   `/cygdrive/c/MyFPGA/ML505_Projs/FirstTest/microblaze_0/code'
   mb-as -o xmdstub.o xmdstubaddr.s xmdstub.s
   mb-ld -relax -N -defsym _STACK_SIZE=0 -o xmdstub.elf xmdstub.o
   make[1]: Leaving directory
   `/cygdrive/c/MyFPGA/ML505_Projs/FirstTest/microblaze_0/code'
   c:\EDK\gnu\microblaze\nt\bin\mb-ld.exe: *** proc version mismatch detected -
   0xD079E02/0x8E0899FA.
   You have multiple copies of cygwin1.dll on your system.
   Search for cygwin1.dll using the Windows Start->Find/Search facility
   and delete all but the most recent version.  The most recent version *should*
   reside in x:\cygwin\bin, where 'x' is the drive on which you have
   installed the cygwin distribution.
   make[1]: *** [xmdstub] Error 1
       while executing
   "error "Couldn't make xmdstub: $err" "" "libgen_error""
       invoked from within
   "if [catch {exec make -f make.xmdstub xmdstub} err] {
           error "Couldn't make xmdstub: $err" "" "libgen_error"
           return
       }"
       (procedure "::sw_cpu_v1_11_a::generate" line 178)
       invoked from within
   "::sw_cpu_v1_11_a::generate 47560080"
ERROR:MDT - Error while running "generate" for processor microblaze_0...
make: *** [microblaze_0/lib/libxil.a] Error 2
Done!

 

its complaining that I have multiple copies of  cygwin1.dll, which is not true. I have checked that I have only one copy of the dll and that is in the C:\EDK\cygwin\bin. 

 

I am running EDK  9.2.02i . Is this an EDK problem or am I doing something wrong?

 

Any help would be appreciated.

 thanks