Re: Compilation failure in glib-1.1.12
- From: Owen Taylor <otaylor redhat com>
- To: Richard Polton <richard polton db com>
- Cc: gtk-list redhat com
- Subject: Re: Compilation failure in glib-1.1.12
- Date: 07 Jan 1999 14:32:30 -0500
Richard Polton <firstname.lastname@example.org> writes:
> email@example.com wrote:
> > Richard Polton <firstname.lastname@example.org> writes:
> > > Machine: Linux-2.0.35 libc5 i486
> > ^^^^^
> > which version of libc5? I think poll() was added late
> > in libc5's life. (5.4.28 according to the man page
> > I have.)
> I use libc.so.5.4.33
> > > Compiler: egcs-1.0
> > > glib-1.1.12 fails to compile in gmain.c. It is necessary to change
> > > HAVE_POLL to HAVE_SYS_POLL_H
> > > Success follows.
> > Hmmm.
> > HAVE_POLL and HAVE_SYS_POLL_H are different things.
> > Your problem probably indicates that that one of
> > the configure tests is failing, but I'm not sure
> > from your description which one.
> configure results:
> checking for sys/poll.h .... no
> checking for poll .... yes
> checking system definitions for POLLIN POLLOUT etc. .... failed
> (I deduce from the config.log that this failure is due to sys/poll.h not
> being found.)
> > Do you have poll(); is HAVE_POLL defined?
> > Do you have /usr/include/sys/poll.h; is HAVE_SYS_POLL_H defined?
> poll is defined in my libc.so
> I do not have sys/poll.h
> config.h contents:
> #define HAVE_POLL 1
> /* #undef HAVE_SYS_POLL_H */
> > Thanks,
> > Owen
> Hope this is sufficient information, but please ask for more if
In which header files are POLLIN/POLLOUT defined?
] [Thread Prev