Hi,
fetchmail 6.2.4 fails to compile on FreeBSD 5.1 with GCC 3.2.2. The
compile fails on driver.c with the following error:
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -c -I. -I.
-I./intl -I./intl -DHESIOD -O driver.c
driver.c: In function `do_session':
driver.c:863: warning: assignment makes pointer from integer without a cast
driver.c:864: dereferencing pointer to incomplete type
driver.c:866: dereferencing pointer to incomplete type
driver.c:869: dereferencing pointer to incomplete type
gmake: *** [driver.o] Error 1
This is the only source file that fails to compile (and only in the
HESIOD code, removing "-DHESIOD" and "-lhesiod from the Makefile
worked around it).
Also, on FreeBSD 5.1 hesiod.h is available but -lhesiod is not (it's
in the standard C library on FreeBSD, according to the hesiod(3) man
page), but configure adds -lhesiod to LDFLAGS anyway. Perhaps
configure could be patched to see if it's in the standard library or
-lhesiod?
Hope I've been useful. :)
lewis
--
Lewis Collard <lewis(_at_)zquack(_dot_)net>
http://lewis.zquack.net