Thomas Meinders (email@example.com)
Wed, 25 Nov 1998 20:05:22 +0100 (MET)
On Wed, 25 Nov 1998, Gilles Detillieux wrote:
> 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:
> > http://www.uni-stuttgart.de/mechb/Leute/Meinders/configure
> > http://www.uni-stuttgart.de/mechb/Leute/Meinders/make
> 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 184.108.40.206, 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/PDF.cc and htdig/Document.cc. If that doesn't work,
> I'd need to look at your stat.h to get a better grasp of the problem.
Great! It worked! I can't tell you how happy I am. You were right: the
/sys/stat.h file didn't include the /sys/types.h. To resolve this I only
had to chande htdig/PDF.cc and add include /sys/types.h just before
It compiled, it installed... I am saying thank you to everybody who
helped me out.
-- Thomas Meinders, Institute B of Mechanics, University of Stuttgart Pfaffenwaldring 9, D-70550 Stuttgart, phone: (+49)-711-685-6821, fax -6400 privat: Friesenstr. 20, 71065 Sindelfingen, +49 (7031) 871831 http://www.uni-stuttgart.de/mechb/Leute/Meinders
---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to firstname.lastname@example.org 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