🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62732

Re: error building inn 2.3.4

#62732
From: Steffie
Date: Fri, 03 Jan 2003 23:39
39 lines
2548 bytes
On Fri, 03 Jan 2003 10:22:27 -0800, Russ Allbery <rra@stanford.edu>
wrote:

>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?

ok, i changed in config.h to

* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
/* #undef HAVE_SYS_WAIT_H */
#define  HAVE_SYS_WAIT_H 1

and now it works, thanx !!!

i needed a little help from someone else to do help me.
What is the reason that this had to be changed manually ?
with previous versions it worked fine.

Steffie

Technical Details
Message-ID: <9j7c1vch05o2j2fjgu1ggbvrs8o6p9md2m@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!news.uchicago.edu!newsswitch.lcs.mit.edu!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!freenix!deine.net!skynet.be!skynet.be!213.51.129.3.MISMATCH!newshub1.home.nl!home.nl!news2.euro.net!postnews1.euro.net!news.wanadoo.nl!not-for-mail
References: <jhp61vs7nssbhde7ds8sc5maj55fl3v86l@4ax.com> <ylptregkkc.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <9j7c1vch05o2j2fjgu1ggbvrs8o6p9md2m@4ax.com>
Subject: Re: error building inn 2.3.4
Date: Sat, 04 Jan 2003 00:39:07 +0100
From: Steffie <steffie@luidemotorfiets.nl>
References: <jhp61vs7nssbhde7ds8sc5maj55fl3v86l@4ax.com> <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!news.uchicago.edu!newsswitch.lcs.mit.edu!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!freenix!deine.net!skynet.be!skynet.be!213.51.129.3.MISMATCH!newshub1.home.nl!home.nl!news2.euro.net!postnews1.euro.net!news.wanadoo.nl!not-for-mail
Newsgroups: news.software.nntp
Organization: LuieSteffie
Reply-To: steffie@luidemotorfiets.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Newsreader: Forte Agent 1.92/32.572
Lines: 38
NNTP-Posting-Date: 03 Jan 2003 23:38:39 GMT
NNTP-Posting-Host: x193052-2.shuis-s.tudelft.nl
X-Trace: DXC=?PNQne5TF3nBmlkf;H:Tbn1`\LnN2UYYa@8mH9?3A:GbcA[@3LD1__kPXgM9UOC?elonRJIRWJHFb78WhXhNS3VhR0E3e9ReDMn
X-Complaints-To: abuse@wanadoo.nl