URN Logo
UNIX Resources » Linux » Linux Forum » Linux Programming » Page.46 » What Does 'make *** Error 1' Mean?
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
What Does 'make *** Error 1' Mean?
Subject: What Does 'make *** Error 1' Mean?
Author: doctordoom    Posted: 2004-09-21 21:18:15    Length: 300 byte(s)
[Original] [Print] [Top]
Could anyone tell me what does 'make *** error 1‘ mean? I just got this error when I tried to compile my sources. It told me 'make *** error 1: filename.o' but I got that filename.c in its place correctly. So could anyone explain the exact meaning of 'error 1'? Thanks very much.
[Original] [Print] [Top]
Subject: What Does 'make *** Error 1' Mean?
Author: the_unforgiven    Posted: 2004-09-22 00:26:42    Length: 137 byte(s)
[Original] [Print] [Top]
AFAIK, it's the level of recursion of make.
"error 1" signifies that the problem was at the first level of recursion.
----
[span style='font-size:12pt;line-height:100%']The Unforgiven
-------------------------------
So I dub thee unforgiven[/span]
Linux User #358564
[Original] [Print] [Top]
Subject: What Does 'make *** Error 1' Mean?
Author: Blue_TomCat    Posted: 2004-09-22 06:52:49    Length: 2,916 byte(s)
[Original] [Print] [Top]
Hello DoctorDoom,

Well…..

All the errors are coming form the linux/include/errno.h  (#include  <asm/errno.h> ) file , if you will browse You will find all the errors and its corresponding  error Significance/description ( in comments )

http://lxr.linux.no/source/include/asm-i386/errno.h

ErrNo.h
CODE

#ifndef _I386_ERRNO_H
#define _I386_ERRNO_H
 
#define EPERM            1      /* Operation not permitted */
#define ENOENT           2      /* No such file or directory */
#define ESRCH            3      /* No such process */
#define EINTR            4      /* Interrupted system call */
#define EIO              5      /* I/O error */
#define ENXIO            6      /* No such device or address */
#define E2BIG            7      /* Argument list too long */
#define ENOEXEC          8      /* Exec format error */
   .
   .
   .
   .
#define ENOMEDIUM       123     /* No medium found */
#define EMEDIUMTYPE     124     /* Wrong medium type */

#endif


Accordingly you can do the correction in your project source code , hope it Helps.

the_unforgiven .Pleae Correct me if I am wrong  wink.gif  tongue.gif



Regards,
TomCat

 tongue.gif  tongue.gif  tongue.gif
 
----
[span style='color:blue'][span style='font-size:9pt;line-height:100%'] I have no special gift.I am only passionately curious.
         

                                          Albert Einstein
[/span][/span]
[Original] [Print] [Top]
Subject: What Does 'make *** Error 1' Mean?
Author: Vinio    Posted: 2004-09-22 07:22:24    Length: 435 byte(s)
[Original] [Print] [Top]
DoctorDoom,

I think your log is a bit too few to tell what exactly happenned wrong.
Something happened wrong but we have not enough information to tell what.

Looks like filename.o could not be found in the object file dependencies of your Makefile anyway. May be your *.o files are located in another directory as the one of your sources.

Could you post more of your error log ?

Vinio
----
[!--QuoteBegin--][/div][table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'][tr][td]QUOTE [/td][/tr][tr][td id='QUOTE'][!--QuoteEBegin--]                                                                 [Embedded Linux] [/quote]
[Original] [Print] [Top]
Subject: What Does 'make *** Error 1' Mean?
Author: the_unforgiven    Posted: 2004-09-22 07:38:57    Length: 905 byte(s)
[Original] [Print] [Top]
QUOTE (Blue_TomCat @ Sep 22 2004, 05:22 PM)
the_unforgiven .Pleae Correct me if I am wrong  wink.gif  tongue.gif
 

 Well, the error doctordoom has specified is not an error coming while running the code but while trying to compile the code using make.

Yeah, I agree with vinio, need more information.
Could you post the output of make?
----
[span style='font-size:12pt;line-height:100%']The Unforgiven
-------------------------------
So I dub thee unforgiven[/span]
Linux User #358564
[Original] [Print] [Top]
Subject: What Does 'make *** Error 1' Mean?
Author: doctordoom    Posted: 2004-09-22 22:13:53    Length: 1,772 byte(s)
[Original] [Print] [Top]
Thank you all very much smile.gif

Like I said, I'm a very beginner with linux so I asked that somehow stupid question sleep.gif; I though 'error 1' meant 'no file found' or what, like a 'http 404' or 'c1010'. But thanks to your figures, I now know that it just means a level, not actual error type or what. Hope I made myself clear...

I now got it that the error 1 (level 1 error smile.gif is from a function call, which needs 3 parameters but someone - who moved my source - deleted one. So of course it cannot be compiled and gimme an error 1... So after I got the idea, it became quite simple to fix. I just thank you all again, for your kind replies.

And does someone know that how to mount a usb device - mass storage device, exactly - to a linux, which is running at VMWare? I plugged the msd when vitual machine is running (in full screen mode) and winxp (host os) pop device-plugin-notice, but I don't know how to mount it in linux, even don't know if it is recongized by linux. the device should be sda1 i think but in hardware browser, all sda? devices seemed not to be my msd. Could someone help me?

If the question is not proper to post here, please tell me and I'll remove it to other place. thx very much.
[Original] [Print] [Top]
Subject: What Does 'make *** Error 1' Mean?
Author: x86processor    Posted: 2004-09-26 01:26:22    Length: 105 byte(s)
[Original] [Print] [Top]
doctordoom
Post your USB question in the Data Storage Support section,

x86
----
Linux is the kernel. The entire system is called GNU/Linux.
http://www.gnu.org/gnu/linux-and-gnu.html

My domain: shakthimaan.com (Offline)
orkut ID: shakthimaan
IRC nick: mbuf
[Original] [Print] [Top]
« Previous thread
Send Excel Email Attachment
Linux Programming
Page. 46
Next thread »
C++ Ide
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 11:45:14, cost 0.028933048248291 ms.