This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
gdb5.0 on i586-pc-linux-gnulibc1: no <poll.h>, but <sys/poll.h>
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: gdb5.0 on i586-pc-linux-gnulibc1: no <poll.h>, but <sys/poll.h>
- From: Hans-Bernhard Broeker <broeker at physik dot rwth-aachen dot de>
- Date: Thu, 25 May 2000 18:52:32 +0200 (MET DST)
Hello, everyone.
System: i586-cp-linux-gnulibc1 (libc5 5.4.33, linux 2.0.32)
gdb version: gdb-5.0 (final release)
I just found a minor glitch in building gdb5.0: it did (correctly)
determine that this machine I build on does have the poll() function. But
there's no check as to where the appropriate header file might be: it's
hardwired to #include <poll.h> whenever HAVE_POLL is set. On the
admittedly outdated system Linux mentioned, it should #include
<sys/poll.h>. Changing that the brute-force way gave me a working
gdb...
Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.