lkml.org 
[lkml]   [2000]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectimplicit declaration of execve()
Date
Hi,

I am trying to call execve() from within fs/binfmt_elf.c. I am fairly
certain I am giving it the right arguments (ie. path,argv and envp). As an
example I am referring to the use of execve in kernel/kmod.c and
init/main.c. On kernel compilation I always get the error

"Warning: implicit declaration of execve()"

and at the end of the compilation:

fs/fs.o: undefined reference to execve.

which (AFAIK) means that it cannot find a declaration of execve. I am
including all the .h files that are included in kmod.c (ie
unistd,uaccess,smp_lock?, sched, etc) and yet I still get this error. Can
anyone shine a light on this for me?

I am not on the list, so a reply to this address would be appreciated.

Thanks in advance...

dan.

-= Daniel Walls - 4th Yr B. InfTech (Hon) UQ =-


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.028 / U:17.332 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site