Re: [htdig] Compiling on AIX 3.2

Alexander Bergolth (
Sat, 29 May 1999 18:31:38 +0200 (MES)

On Tue, 25 May 1999, Brian Salter-Duke wrote:

> I am trying to compile htdig on an old RS6000 running AIX 3.2.
> The db library compiles fine and then I get:-
> gmake[1]: Leaving directory `/home/b_duke/prog/htdig-3.1.2/db/dist'
> gmake[1]: Entering directory `/home/b_duke/prog/htdig-3.1.2/htlib'
> c++ -c -DDEFAULT_CONFIG_FILE=\"/home/web/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2
> In method `Connection::Connection(int)':
> warning: implicit declaration of function `int getpeername(...)'
> warning: implicit declaration of function `int socket(...)'
> [...]

Mhm - I don't think that these messages are the real problem.
They appear only because there are no prototypes for this function in the
header files.

> `fd_set' undeclared (first use this function)
This causes the compiler to abort.

To use this structure you have to include <sys/select.h>.
(FD_ZERO, FD_SET are also defined in this header.)

Hope that helps!


Alexander (Leo) Bergolth
WU-Wien - Zentrum fuer Informatikdienste
Info Center
Linux - because reboots are for hardware changes

To unsubscribe from the htdig mailing list, send a message to containing the single word "unsubscribe" in
the SUBJECT of the message.

This archive was generated by hypermail 2.0b3 on Sat May 29 1999 - 08:50:31 PDT