[htdig] Problems compiling on Solaris 2.4


Anthony Peacock (a.peacock@chime.ucl.ac.uk)
Thu, 11 Feb 1999 16:48:31 -0000


Hi,

I am trying to compile htdig-3.1.0 on a Sparc running Solaris 2.4.

Using egcs gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)

./configure runs without hitch, make gives the following error, while compiling
in the htdig directory.

c++ -c -
DDEFAULT_CONFIG_FILE=\"/usr/local/etc/httpd/htdig/conf/htdig.conf\" -I.
./htlib -I../htcommon -I../db/dist -I../rx/rx -I../include -g -O2 Retriever.cc
Retriever.cc: In function `void sig_handlers()':
Retriever.cc:211: assignment to `void (*)()' from `void (*)(int)'
make[1]: *** [Retriever.o] Error 1
make[1]: Leaving directory `/usr/local/etc/htdig-3.1.0/htdig'
make: *** [all] Error 1
$

I looked at the definition of sigexit, and changed it to the following, and this
solved this problem:

static void sigexit(void)

I will happily admit that I haven't looked at this solution in any depth. But the
compile now finishes without error.

   

Fare Thee Well
Anthony Peacock
CHIME, UCL Medical School
E-Mail: a.peacock@chime.ucl.ac.uk
WWW: http://www.chime.ucl.ac.uk/~rmhiajp/
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Wed Feb 17 1999 - 10:10:02 PST