bug-make
[Top][All Lists]
Advanced

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

RE: Errors while Recompiling lmbench: With Make


From: Martin Dorey
Subject: RE: Errors while Recompiling lmbench: With Make
Date: Wed, 13 Sep 2006 14:02:01 -0700

> My intention was to let you have the exact source which I am using

 

A laudable intention.

 

> (as I don't have the actual web link where the same copy of tar is available)

 

(Google found that link for me in seconds.)

 

> I will be more careful in my future correspondence.

 

Thanks.

 

>   a. change directory to lmbench/src

>  b. execute  $make results  

 

Good.  (You might think that was obvious but it's good to be sure.)

 

> It seems to me that Make utility is not interpreting it properly and thus giving the error:   command not found.  

 

No, when make says "command not found", it means that it's failed to find a command in a rule, not a target (a "label").  Make could probably do us a favor by reporting which line of which makefile caused it to produce the error.

 

I don't think the "get: command not found" errors are important.  The lmbench makefiles are trying to get the source code out of a revision control system.  All the source code should already be available in your unpacked tar file.  So lmbench shouldn't need to do this and it shouldn't matter that it fails.  Indeed, the makefiles seem to carefully ignore these errors.  This error, however, is the one that's stopped it:

 

make[1]: *** No rule to make target `bw_file_rd.c', needed by `../bin/i686-pc-linux-gnu/bw_file_rd'.  Stop.

 

Normally, concentrating on the first error is the right thing to do, so this is an exception.

 

> I am not sure whether the file src/bw_file_read.c is a part of linux core OR should be found within the lmbench source tree

 

It's in your tar file.  Is it still in the directory tree that you unpacked?  Please check carefully.  If that doesn't show you where the problem is, please send me the whole output of make.  Please don't copy bug-make - there's no indication of a make bug here (at least not yet) - but you were polite, so I'll try to help you anyway.

-------------------------------------
Martin's Outlook, BlueArc Engineering


From: irfan [mailto:address@hidden
Sent: Wednesday, September 13, 2006 13:57
To: Martin Dorey; address@hidden
Cc: Dr. K. Salah; Khalid A. El-Badawi
Subject: Re: Errors while Recompiling lmbench: With Make

 

Hello Mr. Dorey

 

Many thanks for your reply. I apologize for sending the big size attachment as I didn't realize that the address: address@hidden addresses a mailing list. I found it in the versioning message for make utility (using $make --version). My intention was to let you have the exact source which I am using (as I don't have the actual web link where the same copy of tar is available). Any how, I will be more careful in my future correspondence.

 

I am replying to your concerns in the text below:

 

1. I got the error while attempting the compilation of lambench.tar source as per the directions given in its README. These are as follows.

  a. change directory to lmbench/src

  b. execute  $make results  

 

2. I consider it as an error in Make utility because of the following error messages:

make[1]: get: Command not found
make[1]: *** [get] Error 127

 

get seems to be a label in the Make file (see the lines below copied from the Makefile - zipped inside the tar).

get:
for i in doc src results scripts; do \
   echo ===== $$i =====; \
   (cd $$i && bk get -q); \
 done
 @co -q

It seems to me that Make utility is not interpreting it properly and thus giving the error:   command not found.  

 

3. As a matter of fact, I am attempting this compilation as the first step after installing the operating system. Thus there is no chance that some file had been deleted unintentionally. In addition, the same source (tar file) can easily be compiled on another installation (Fedora Core 5) thus implying the existence of all the required code files inside the tar. [I am not sure whether the file src/bw_file_read.c is a part of linux core OR should be found within the lmbench source tree]

 

I hope the situation is now much clearer to you.

 

Regards,
Irfan

 

----- Original Message -----

From: Martin Dorey

Sent: Wednesday, September 13, 2006 10:07 PM

Subject: RE: Errors while Recompiling lmbench: With Make

 

What exactly did you type to provoke this error?  Why do you think it demonstrates a bug in make?  From the information you've given, it just looks like you've erroneously deleted src/bw_file_read.c.

 

(2MiB is a large attachment to send unsolicited to a mailing list.  Posting a link to, say, http://prdownloads.sourceforge.net/lmbench/lmbench-3.0-a7.tgz?download would have been nicer.)

-------------------------------------
Martin's Outlook, BlueArc Engineering


From: address@hidden [mailto:address@hidden On Behalf Of irfan
Sent: Wednesday, September 13, 2006 4:46
To: address@hidden
Cc: address@hidden; Dr. K. Salah; Khalid A. El-Badawi
Subject: Errors while Recompiling lmbench: With Make

 

Dear Tech Support

 

I am trying to compile the attached source with the following specs.

 

 

Hardware: Intel(R) Celeron(R) CPU 2.40GHz, 1.00GB of RAM (i386)

Kernel: 2.4.22.2115.nptl on i386 (Fedor Core Release 1)

 

Make version:

  GNU Make version 3.79.1

  Built for  i386-redhat-linux-gnu

 

Gcc version:

  gcc( GCC) 3.32 20031022

(RedHat Linux 3.3.2-1)

 

The errors and output messages I am getting are attached as text files with this email.

 

Your help and support regarding the concern will be highly appreciated.

 

Regards,

Irfan Ilyas,

Masters in CS,

King Fahd University, Dhahran, Saudi Arabia.

 


reply via email to

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