- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
When I build a project in EDK, some problems !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-29-2008 07:28 PM
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!
Re: When I build a project in EDK, some problems !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-30-2008 10:42 AM
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.
Re: When I build a project in EDK, some problems !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-01-2008 07:08 AM
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!
Re: When I build a project in EDK, some problems !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-01-2008 06:16 PM
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.
Re: When I build a project in EDK, some problems !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-01-2008 07:01 PM
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?
Re: When I build a project in EDK, some problems !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-01-2008 07:21 PM
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:/cygd
EDK/gnu/powerpc-eabi/nt/bin:/cygdrive/c/EDK/gnu/mi
K/bin/nt:/cygdrive/c/Perl/bin/:/cygdrive/c/WINDOWS
/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Xili
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:/cyg
n32pe:/cygdrive/c/WinVi/:.:/cygdrive/c/zipTmp/vim-
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;.
thanks,
Re: When I build a project in EDK, some problems !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-02-2008 07:24 AM
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.
Re: When I build a project in EDK, some problems !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-02-2008 07:40 AM
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.
Re: When I build a project in EDK, some problems !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-02-2008 12:35 PM
Re: When I build a project in EDK, some problems !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-03-2008 08:38 PM
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/microbla
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/microbla
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











