bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Make Error


From: Ko Ken
Subject: Make Error
Date: Fri, 5 Sep 2008 17:54:23 -0700 (PDT)

Description
Keywords: GNU, 3.8, bash

After I upgraded my Cygwin install to the latest make (3.81), it caused 
problems with the XPS make. When I try to Export to Project Navigator, the 
following error occurs:

"ublaze_top.make:146: *** target pattern contains no `%'. Stop."


Solution
This error is probably due to an unsupported version of the "make" utility in 
the Cygwin installation. EDK provides the flexibility for users to use a 
pre-existing Cygwin environment (this is mostly a Cygwin installation that the 
user installed outside of the EDK installation). The latest version (v3.81) of 
the "make" utility is known to have problems related to path references. This 
version of the "make" utility is not supported by EDK. The "make" utility that 
ships with EDK is of version v3.79.1 and is a supported version.

To determine the version of the "make" utility being used, launch an EDK shell 
(from the Start Menu or from the XPS environment), and use the command, "make 
-v". See sample output below:

$ make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-pc-cygwin


If the above message occurs, this version of the "make" utility is not 
supported. The "make" utility that ships with EDK produces the following output:

$ make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <address@hidden>.


To fix the problem, you can perform one of the following:

- "Uninstall" the current Cygwin installation and then "install" the EDK Cygwin:
1. Backup the existing Cygwin registry branches if they will later be needed by 
Exporting them from Registry Editor:
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2
2. Delete both branches.
3. Launch the EDK shell. The Registry is automatically populated with entries 
from the Cygwin in the EDK installation area.

- Make a backup of the "make.exe" in the existing Cygwin installation (under 
the /bin directory). Copy the "make.exe" utility from EDK Cygwin installation 
(%Xilinx_EDK%\cygwin\bin) to the Cygwin installation's bin directory. 

NOTE: Refer to (Xilinx Answer 24134) for more options. 



      





reply via email to

[Prev in Thread] Current Thread [Next in Thread]