Article View: news.software.nntp
Article #62723Re: error building inn 2.3.4
From: Russ Allbery
Date: Fri, 03 Jan 2003 18:22
Date: Fri, 03 Jan 2003 18:22
27 lines
1997 bytes
1997 bytes
Steffie <steffie@luidemotorfiets.nl> writes:
> I am trying to build inn 2.3.4 but at make the following error
> appears:
> waitnb.c: In function `waitnb':
> waitnb.c:34: `WNOHANG' undeclared (first use in this function)
> waitnb.c:34: (Each undeclared identifier is reported only once
> waitnb.c:34: for each function it appears in.)
> make[1]: *** [waitnb.o] Error 1
> make[1]: Leaving directory `/usr/local/src/inn-2.3.4/lib'
> make: *** [all-lib] Error 2
You said you were using Slackware. On my glibc 2.2 system, WNOHANG is
defined in /usr/include/sys/waitflags.h, which is included by
/usr/include/sys/wait.h. In include/config.h in your INN tree, is
HAVE_SYS_WAIT_H set to 1?
If not, could you find the excerpt in config.log that talks about
sys/wait.h?
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<ylptregkkc.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<jhp61vs7nssbhde7ds8sc5maj55fl3v86l@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <ylptregkkc.fsf@windlord.stanford.edu> Subject: Re: error building inn 2.3.4 Date: Fri, 03 Jan 2003 10:22:27 -0800 From: Russ Allbery <rra@stanford.edu> References: <jhp61vs7nssbhde7ds8sc5maj55fl3v86l@4ax.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 26 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1041618147 23769 171.64.13.23 (3 Jan 2003 18:22:27 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter, sparc-sun-solaris2.6) Cancel-Lock: sha1:ginN99+WwF983xJ/bx1OhE6c+TE=