make error building i960-rtems under cygwin-b20
Hargenrader, Louis A.
LHargenrader at logicon.com
Mon May 7 21:59:38 UTC 2001
You are experiencing on of the previlent problems with following the RTEMS
build instructions vebatum. I have had this same experience with the #*^
and POWERPC builds. What is going on is that the build tree expects an
environment variable "LIB" to be defined in the highest level make file so
that the make file statement in the lower level makefiles .PRECIOUS ($LIB)
would save all the contents of the LIB directory if an error occurs and make
exits. LIB is never defined and therefore contains "" and therefore make
cannot match the File pattern to any thing, this is your error message. % is
the character used to represent a defined pattern to match file names
against. This is one of about 14 errors of this type that you would get.
There are two solutions to this problem:
First get a unix type file editor. Go to the directory where the make error
is and open the makefile in that directory,
find .PRECIOUS ($LIB) and comment it out using # and save the file. run
make again. the make will then stop when you hit the next make file
containing this command and you will have to do the same thing.
Second, (this I have not tryed yet) in the top level build directory make
file add a line to define LIB such as LIB= /user/bin/%.a.
The exact directory and file pattern match is not important as long as the
directory does exist. You don't care if make saves the contents if there is
an error since you want to make with out errors.
Just be forewarned that this is not the only error you are likely to have to
deal with. I found that in 4.5.0 many referrences to header files were not
right and that these also had to be fixed. A lot of this is because some
header files use the "include <x.h>" reference and some use the " include
(x.h)" reference. Also, there are a few references to " include </ "DIR"/x.
h>" and the files were not moved from the RTEMS4.5 source directory to the
build/BSP/include directory. You will also probably have to deal with some
of this too. Let us know how you make out.
Louis Hargenrader, PhD
IMS 200 Rolling Road
From: Sanford Liao [mailto:sliao at runtop.com.tw]
Sent: Wednesday, May 02, 2001 9:34 AM
To: rtems-users at oarcorp.com
Subject: make error building i960-rtems under cygwin-b20
I try to build an i960 version of rtems, but now I got this error. The
following is my configuration:
../rtems-4.5.0/configure --target=i960-rtems --disable-posix
--disable-tcpip --disable-cxx --enable-rtemsbsp=rxgen960 --prefix=/opt/rtems
and the following is the error messages:
make: Entering directory
Making all in i960
make: Entering directory
Makefile:406: *** target pattern contains no `%'. Stop.
make: Leaving directory
Does anyone have an idea?
At the moment I use rtems 4.5.0, cygwin-b20 and Window 2000 server.
E-Mail: sliao at runtop.com.tw < mailto:sliao at runtop.com.tw
<mailto:sliao at runtop.com.tw> >
More information about the users