List Info

Thread: Regd : error 24




Regd : error 24
country flaguser name
United Kingdom
2007-09-17 01:10:33
Hi all,
 ; I'm invoking a tool using gmake. The tool does get invoked and everything goes fine till the exit. On exiting, i get this error.

make : *** [log/a.log] Error 24

Can somebody tell me what this error is ? I don't get any other message along with this error. I tried searching for the error number and the corresponding message, but, so far have not been successful.

Any help will be appreciated.

Cheers!!
sri

;


Need a vacation? Get great deals to amazing places on Yahoo! Travel.
RE: Regd : error 24
country flaguser name
United Kingdom
2007-09-17 15:28:35
On 17 September 2007 07:11, srikrishna wrote:

> Hi all,
>   I'm invoking a tool using gmake. The tool does get
invoked and everything
> goes fine till the exit. On exiting, i get this error.

> 
> make : *** [log/a.log] Error 24
> 
> Can somebody tell me what this error is ? I don't get
any other message
> along with this error. I tried searching for the error
number and the
> corresponding message, but, so far have not been
successful.  

~ $ grep 24 /usr/include/sys/errno.h
#define EMFILE 24       /* Too many open files */


  At any rate, that's what it means on cygwin and
linux/glibc.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



_______________________________________________
Help-make mailing list
Help-makegnu.org
http:
//lists.gnu.org/mailman/listinfo/help-make

RE: Regd : error 24
user name
2007-09-17 18:29:37
On Mon, 2007-09-17 at 21:28 +0100, Dave Korn wrote:
> On 17 September 2007 07:11, srikrishna wrote:
> >   I'm invoking a tool using gmake. The tool does
get invoked and everything
> > goes fine till the exit. On exiting, i get this
error. 
> > 
> > make : *** [log/a.log] Error 24

> ~ $ grep 24 /usr/include/sys/errno.h
> #define EMFILE 24       /* Too many open files */

It might be this, but it might not be.

That error message from GNU make means this:

        "I was trying to build your target log/a.log,
and the program I
        invoked that you said would build that target exited
with a
        non-0 exit code.  I consider anything other than a 0
exit code
        to be an error, so I reported this and stopped
running, and the
        exit code I got back from whatever program it was
that I
        invoked, was 24".

So, you have to find the program that make invoked, then
look at the
documentation for THAT program to find out what it means if
it exited
with a code of 24.

It might be an errno value, as Dave suggests.

Or it might be something completely different (actually,
most UNIX
utilities and programs DO NOT use the errno value as their
exit code,
but you never know!)

-- 
------------------------------------------------------------
-------------------
 Paul D. Smith <psmithgnu.org>          Find
some GNU make tips at:
 http://www.gnu.org        
             http://make.mad-scientis
t.us
 "Please remain calm...I may be mad, but I am a
professional." --Mad Scientist


_______________________________________________
Help-make mailing list
Help-makegnu.org
http:
//lists.gnu.org/mailman/listinfo/help-make

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )