tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kill() not found
On Sat, Feb 27, 2016 at 11:56:35PM +0100, Joerg Sonnenberger wrote:
> On Sat, Feb 27, 2016 at 11:47:27PM +0100, Thomas Klausner wrote:
> > signal.h has
> > #if defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) || \
> > defined(_NETBSD_SOURCE)
> > int kill(pid_t, int);
> >
> > and as you can see above, I've already manually added _NETBSD_SOURCE
> > to the command line in the hope it would fix this, but it didn't.
> >
> > Does anyone have an idea why I get that error or how to fix it?
>
> Most obvious question first, have you checked that signal.h is actually
> included?
Yes, it is. The file starts with comments and then
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <signal.h>
...
Thomas
Home |
Main Index |
Thread Index |
Old Index