Displaying 1 result from an estimated 1 matches for "__nochdir".
Did you mean:
__chdir
1999 Dec 14
0
1.2pre17 fails to compile on RedHat 4.2/i386 (libc5)
...sshd.c -o sshd.o
sshd.c:16: poll.h: No such file or directory
make: *** [sshd.o] Error 1
Bad exit status from /var/tmp/rpm-tmp.67018 (%build)
The following is me rambling on and trying quick fixes:
In later versions (glibc), daemon is defined in unistd.h as:
unistd.h:extern int daemon __P ((int __nochdir, int __noclose));
Notes, configure DOES check for daemon:
checking for daemon... yes
If I create this manually, it seems to compile.
And poll.h just includes sys/poll.h which defines struct pollfd, and
the functions:
extern int __poll __P ((struct pollfd *__fds, unsigned long int __nfds,...