Thread View: news.software.nntp
8 messages
8 total messages
Started by Steffie
Wed, 01 Jan 2003 22:10
error building inn 2.3.4
Author: Steffie
Date: Wed, 01 Jan 2003 22:10
Date: Wed, 01 Jan 2003 22:10
20 lines
1676 bytes
1676 bytes
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 What is it that i am missing, or doing wrong ? maybe i need some other packages? i want to upgrade inn 2.3.3 on a slackware7 install. Steffie
Re: error building inn 2.3.4
Author: Dustin Hoff
Date: Fri, 03 Jan 2003 13:53
Date: Fri, 03 Jan 2003 13:53
27 lines
2046 bytes
2046 bytes
In article <jhp61vs7nssbhde7ds8sc5maj55fl3v86l@4ax.com>, Steffie wrote:
> 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
>
>
> What is it that i am missing, or doing wrong ?
> maybe i need some other packages? i want to upgrade inn 2.3.3 on a
> slackware7 install.
>
Maybe you need to install yacc? I don't know if it comes with slackware, but
i think the requirement is new for 2.3.4.. from INSTALL:
* Currently, in order to build INN, you will need an implementation of
yacc. GNU bison (from <ftp://ftp.gnu.org/gnu/bison/> or its mirrors)
will work fine. We hope to remove this requirement in the future.
Dustin
Re: error building inn 2.3.4
Author: Jeffrey M. Vinocur
Date: Fri, 03 Jan 2003 17:59
Date: Fri, 03 Jan 2003 17:59
35 lines
2120 bytes
2120 bytes
In article <av44l3$n8l$1@dcgate.bls.gov>, Dustin Hoff <hoff_d@bls.gov> wrote: >In article <jhp61vs7nssbhde7ds8sc5maj55fl3v86l@4ax.com>, Steffie wrote: >> I am trying to build inn 2.3.4 but at make the following error >> appears: >> >> waitnb.c: In function `waitnb': Huh. That file hasn't changed in three years. And 2.3.3 built on this machine? Or did you install from a package of some sort? >> 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' >> >> What is it that i am missing, or doing wrong ? I have no idea. What does `man waitpid` list in SYNOPSIS as the necessary #include lines? Russ, could autoconf be misdetecting something? >Maybe you need to install yacc? Umm, I can't imagine what would make you think that. The error doesn't appear to be remotely related to yacc. -- Jeffrey M. Vinocur jeff@litech.org
Re: error building inn 2.3.4
Author: 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.
Re: error building inn 2.3.4
Author: Steffie
Date: Fri, 03 Jan 2003 18:35
Date: Fri, 03 Jan 2003 18:35
42 lines
2712 bytes
2712 bytes
On Fri, 3 Jan 2003 17:59:17 +0000 (UTC), jeff@litech.org (Jeffrey M. Vinocur) wrote: >In article <av44l3$n8l$1@dcgate.bls.gov>, Dustin Hoff <hoff_d@bls.gov> wrote: >>In article <jhp61vs7nssbhde7ds8sc5maj55fl3v86l@4ax.com>, Steffie wrote: >>> I am trying to build inn 2.3.4 but at make the following error >>> appears: >>> >>> waitnb.c: In function `waitnb': > >Huh. That file hasn't changed in three years. And 2.3.3 built >on this machine? Or did you install from a package of some sort? Nop. 2.3.2 built fine downloaded from www.isc.org , than i upgraded to 2.3.3 and i wanted to upgrade again to 2.3.4, but now i got this strange error. > >>> 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' >>> >>> What is it that i am missing, or doing wrong ? > >I have no idea. What does `man waitpid` list in SYNOPSIS as the >necessary #include lines? > >Russ, could autoconf be misdetecting something? > > >>Maybe you need to install yacc? > >Umm, I can't imagine what would make you think that. The error >doesn't appear to be remotely related to yacc. cursor address, n: "Hello, cursor!" -- Stan Kelly-Bootle, "The Devil's DP Dictionary"
Re: error building inn 2.3.4
Author: Steffie
Date: Fri, 03 Jan 2003 23:39
Date: Fri, 03 Jan 2003 23:39
39 lines
2548 bytes
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
Re: error building inn 2.3.4
Author: Steffie
Date: Sat, 04 Jan 2003 00:07
Date: Sat, 04 Jan 2003 00:07
27 lines
2306 bytes
2306 bytes
On Sat, 04 Jan 2003 00:39:07 +0100, Steffie <steffie@luidemotorfiets.nl> wrote: >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. We also had to install diff.tgz (slackware7) Steffie Frobnitz, pl. Frobnitzem (frob'nitsm) n.: An unspecified physical object, a widget. Also refers to electronic black boxes. This rare form is usually abbreviated to FROTZ, or more commonly to FROB. Also used are FROBNULE, FROBULE, and FROBNODULE. Starting perhaps in 1979, FROBBOZ (fruh-bahz'), pl. FROBBOTZIM, has also become very popular, largely due to its exposure via the Adventure spin-off called Zork (Dungeon). These can also be applied to non-physical objects, such as data structures.
Re: error building inn 2.3.4
Author: Russ Allbery
Date: Sat, 04 Jan 2003 00:07
Date: Sat, 04 Jan 2003 00:07
23 lines
1800 bytes
1800 bytes
Steffie <steffie@luidemotorfiets.nl> writes:
> 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.
configure isn't detecting that your system has sys/wait.h. config.log
should tell you why.
--
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads