On Fri, 1 Sep 2000 09:59:46 -0500 (CDT), Michael Rapp wrote:
>pop_init.c:340: `MAXHOSTNAMELEN' undeclared (first use in this function)
A grep of /usr/include/*.h and /usr/include/*/*.h reveals that this is
defined in /usr/include/asm/param.h, which is part of the
kernel-headers package. It's also defined in /usr/include/rpc/types.h,
part of the glibc-devel package. Since you've installed kernel-headers,
you should have param.h.
The compiler isn't complaining about the absence of either of these
files, so it must not be including them for some reason. Perhaps
there's some odd combination of configure options that's preventing
this.
... Just did some more hunting around and now see that popper.h in
3.1b9 defines MAXHOSTNAMELEN if a system header hasn't done so. This
isn't done in 3.0.2. I recall being able to compile the earlier
version, so there must be some difference between your configuration
and mine. I suppose the next thing to do is to look at your configure
options and also look at what headers gcc is including for pop_init.c
with those options. (Anyone know offhand how to get gcc to report
header filenames as they're included?)
Ken
mailto:[EMAIL PROTECTED]
http://www.sewingwitch.com/ken/
http://www.harrybrowne2000.org/