Re: htdig: Problem compiling on FreeBSD

Gilles Detillieux (
Wed, 25 Nov 1998 10:23:55 -0600 (CST)

According to Thomas Meinders:
> The compiler running on the FreeBSD machine of our provider is:
> gcc, g++ - GNU project C and C++ Compiler (v2.7)
> To give you all a little bit more insite in my problem I piped the output
> of ./configure and the standard error of make in two files which you can
> see under:

The configure seems clean enough. The make results suggest that when
sys/stat.h is included, and tries to define the struct stat fields,
the types it's using aren't defined. Could you post your sys/stat.h
file on your web site, or e-mail it to me? I suspect that it's not
including sys/types.h (although the sys/stat.h on my Linux box, with
gcc, does). If it is, maybe your sys/types.h isn't defining
the types that sys/stat.h needs, but that would really be odd!

I know that on some older UNIX systems, sys/stat.h didn't include
sys/types.h, though it needed it, so you had to include both explicitly,
i.e. include sys/types.h before sys/stat.h. You may need to do so
yourself in htdig/ and htdig/ If that doesn't work,
I'd need to look at your stat.h to get a better grasp of the problem.

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
To unsubscribe from the htdig mailing list, send a message to 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:28:53 PST