FPGARelated.com
Forums

EDK Bug

Started by u_st...@yahoo.de October 10, 2006
hi

i hav a problem with edk. i created a poject a while ago and everything
worked fine. but today i changed some c code and wanted to compile it.
i got the following error message :

Console Log)
At Local date and time: Tue Oct 10 22:53:30 2006
 xbash -q -c "cd /cygdrive/c/CodeGeeks/test_edk8/; /usr/bin/make -f
system.make program; exit;" started...
system.make:173: *** target pattern contains no `%'.  Stop.

Done!


i tired to reinstall everything but it didn't help. any ideas somebody?

thanks
 urban

u_stadler@yahoo.de wrote:
> hi > > i hav a problem with edk. i created a poject a while ago and everything > worked fine. but today i changed some c code and wanted to compile it. > i got the following error message : > > Console Log) > At Local date and time: Tue Oct 10 22:53:30 2006 > xbash -q -c "cd /cygdrive/c/CodeGeeks/test_edk8/; /usr/bin/make -f > system.make program; exit;" started... > system.make:173: *** target pattern contains no `%'. Stop. > > Done! > > > i tired to reinstall everything but it didn't help. any ideas somebody? > > thanks > urban >
Find that system.make file and look at line 173, maybe it is a syntax error that never got exercised until you changed that 'c' program... -Dave -- David Ashley http://www.xdr.com/dash Embedded linux, device drivers, system architecture
hi

well this is the system.make file
from line 164 to 179:

TestApp_Peripheral_programclean:
	rm -f $(TESTAPP_PERIPHERAL_OUTPUT)

#################################################################
# BOOTLOOP ELF FILES
#################################################################



$(MICROBLAZE_0_BOOTLOOP): $(MICROBLAZE_BOOTLOOP)
	@mkdir -p $(BOOTLOOP_DIR)
	cp -f $(MICROBLAZE_BOOTLOOP) $(MICROBLAZE_0_BOOTLOOP)

#################################################################
# HARDWARE IMPLEMENTATION FLOW
#################################################################



the only thing i changed in the c file was i added a xil_prinf().
i actually get this error message with all things i try to do. ( same
when i try to generate a net list, a bitstream, libraries.......)
everytime the same...

urban

did you happen to update the cygwin installation? there were some
changes in the newer versions of make.

/siva

u_stadler@yahoo.de wrote:

> > the only thing i changed in the c file was i added a xil_prinf(). > i actually get this error message with all things i try to do. ( same > when i try to generate a net list, a bitstream, libraries.......) > everytime the same... > > urban
"u_stadler@yahoo.de" <u_stadler@yahoo.de> writes:

> hi > > i hav a problem with edk. i created a poject a while ago and everything > worked fine. but today i changed some c code and wanted to compile it. > i got the following error message : > > Console Log) > At Local date and time: Tue Oct 10 22:53:30 2006 > xbash -q -c "cd /cygdrive/c/CodeGeeks/test_edk8/; /usr/bin/make -f > system.make program; exit;" started... > system.make:173: *** target pattern contains no `%'. Stop. > > Done! > > > i tired to reinstall everything but it didn't help. any ideas somebody? >
EDK is incompatible with the new version of cygwin make. I got around this by deleting the make.exe from the cygwin install - EDK puts it's version back in after that. It was Antti that I got this solution from up another thread somewhere - thanks Antti! Cheers, Martin -- martin.j.thompson@trw.com TRW Conekt - Consultancy in Engineering, Knowledge and Technology http://www.conekt.net/electronics.html
Martin Thompson schrieb:

> "u_stadler@yahoo.de" <u_stadler@yahoo.de> writes: > > > hi > > > > i hav a problem with edk. i created a poject a while ago and everything > > worked fine. but today i changed some c code and wanted to compile it. > > i got the following error message : > > > > Console Log) > > At Local date and time: Tue Oct 10 22:53:30 2006 > > xbash -q -c "cd /cygdrive/c/CodeGeeks/test_edk8/; /usr/bin/make -f > > system.make program; exit;" started... > > system.make:173: *** target pattern contains no `%'. Stop. > > > > Done! > > > > > > i tired to reinstall everything but it didn't help. any ideas somebody? > > > > EDK is incompatible with the new version of cygwin make. I got around > this by deleting the make.exe from the cygwin install - EDK puts it's > version back in after that. > > It was Antti that I got this solution from up another thread somewhere > - thanks Antti! > > Cheers, > Martin > > -- > martin.j.thompson@trw.com > TRW Conekt - Consultancy in Engineering, Knowledge and Technology > http://www.conekt.net/electronics.html
hi Martin, ROTFL I was just looking at "what it is about here" in this thread and browsed the thread until "... thanks Antti" :) great. Antti still LOL
that worked!!

thanks a lot guys!!!

well that was a bit early.
thanks again for the tip that solved the firs problem. but now i have
another

Running synthesis...
bash -c "cd synthesis; ./synthesis.sh"

./synthesis.sh: line 2:
: command not found

Release 8.1.02i - xst I.27
Copyright (c) 1995-2005 Xilinx, Inc.  All rights reserved.

ERROR:Xst:427 - Entry File system_xst.scr
 not found
./synthesis.sh: line 9: syntax error: unexpected end of file
make: *** [implementation/system.ngc] Error 2

Done!

can anybody help me out here?
i already replaced the "bash" file but that didn't help. also the
system_xst.src fiel is there and in the synthesis.sh line 2 is
blank.?!?

any ideas?
thanks urban

Hi Urban,

u_stadler@yahoo.de wrote:

> well that was a bit early. > thanks again for the tip that solved the firs problem. but now i have > another
If this is just the auto-generated Makefile created by EDK, then your best bet is just to force EDk to re-write it. From the Cygwin command line, in your project directory do $ xps -nw system.xmp (or whatever you XMP project file is called) % save make % exit Then do $ make -f system.make clean to clean everything up before trying again. If the design was created with an older version of EDK, xps will first run the revup process. Hope this helps, John
Martin Thompson schrieb:
> "u_stadler@yahoo.de" <u_stadler@yahoo.de> writes: > >> hi >> >> i hav a problem with edk. i created a poject a while ago and everything >> worked fine. but today i changed some c code and wanted to compile it. >> i got the following error message : >> >> Console Log) >> At Local date and time: Tue Oct 10 22:53:30 2006 >> xbash -q -c "cd /cygdrive/c/CodeGeeks/test_edk8/; /usr/bin/make -f >> system.make program; exit;" started... >> system.make:173: *** target pattern contains no `%'. Stop. >> >> Done! >> >> >> i tired to reinstall everything but it didn't help. any ideas somebody? >> > > EDK is incompatible with the new version of cygwin make. I got around > this by deleting the make.exe from the cygwin install - EDK puts it's > version back in after that.
Hi, I'm facing that particular problem right now. Unfortunatley my (updated) cygwin installation resides in c:\Xilinx\EDK\cygwin, thus EDK can't put its version back in. Does anybody know, which version of cygwin/make comes with EDK 8.2i? I could possibly revert the update manually... to avoid reinstalling EDK :-/ Thanks in advance, cheers /Chris