htdig: htdig-3.0.8b1 on AIX4


Pontus Borg (borg@af.lu.se)
Thu, 23 Oct 1997 18:14:06 +0200 (DFT)


While compiling htdig on my AIX4.1.5 machine I encountered a small
compilation problem.

On the file htlib/Connection.cc on line 472 (the getpeername function call)
i get a compilation error:

c++ -c -g -O -DDEFAULT_CONFIG_FILE=\"/home/www/htdig/conf/htdig.conf\"
-I../htlib -I../htcommon -I../include -I../rx-1.5/rx Connection.cc
Connection.cc: In method `char * Connection::get_peerip()':
Connection.cc:472: passing `int *' as argument 3 of `getpeername(int,
sockaddr *, long unsigned int *)'

It seams like AIX4 want a long unsigned int insted af a plain int. A few
lines above is a #ifdef for _AIX. A small declaration change in this #ifdef
fill fix this error.

BTW. I use AIX4.1.5, gcc 2.7.2 and libg++ 2.7.2.

Thanks for a wonderful program.

// Pontus, webmaster www.af.lu.se

----------------------------------------------------------------------
Pontus Borg Studentkalendariet http://lopet.af.lu.se/
mail: Pontus.Borg@af.lu.se, dat93pbo@ludat.lth.se Tel: +46 46 393542
Smail: Tunavägen 39 D:652, 223 63 LUND, Sweden

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:25:11 PST