Re: Compilation failure in glib-1.1.12




Richard Polton <richard.polton@db.com> 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.)

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

Do you have poll(); is HAVE_POLL defined?
Do you have /usr/include/sys/poll.h;  is HAVE_SYS_POLL_H defined?

Thanks,
                                  Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]