htdig: Problem compiling on FreeBSD 2.1.7.1


Thomas Meinders (mt@mechb.uni-stuttgart.de)
Tue, 24 Nov 1998 18:31:12 +0100 (MET)


Ok guys, that you such much for helping me so far. I got htdig up and
running on my test-server, SunOS 5.5.1. I really love this tool. I think
it's gonna have a promising future.

The only problem I do have now is that htdig doesn't quite compile on my
final server with FreeBSD 2.1.7.1-RELEASE (PAIRd). Sh..

./configure works fine

make gives me the following output:

-------------------------------------------------------------------------
In file included from PDF.cc:20:
/usr/include/sys/stat.h:55: warning: ANSI C++ forbids declaration `ino_t'
with no type or storage class
/usr/include/sys/stat.h:55: parse error before `;'
/usr/include/sys/stat.h:56: warning: ANSI C++ forbids declaration
`mode_t' with no type or storage class
/usr/include/sys/stat.h:57: warning: ANSI C++ forbids declaration
`nlink_t' with no type or storage class
/usr/include/sys/stat.h:73: warning: ANSI C++ forbids declaration `dev_t'
with no type or storage class
/usr/include/sys/stat.h:73: parse error before `;'
/usr/include/sys/stat.h:74: warning: ANSI C++ forbids declaration `ino_t'
with no type or storage class
/usr/include/sys/stat.h:75: warning: ANSI C++ forbids declaration
`mode_t' with no type or storage class
/usr/include/sys/stat.h:76: warning: ANSI C++ forbids declaration
`nlink_t' with no type or storage class
/usr/include/sys/stat.h:77: warning: ANSI C++ forbids declaration `uid_t'
with no type or storage class
/usr/include/sys/stat.h:78: warning: ANSI C++ forbids declaration `gid_t'
with no type or storage class
/usr/include/sys/stat.h:79: warning: ANSI C++ forbids declaration `dev_t'
with no type or storage class
/usr/include/sys/stat.h:83: warning: ANSI C++ forbids declaration `off_t'
with no type or storage class
/usr/include/sys/stat.h:83: parse error before `;'
/usr/include/sys/stat.h:84: warning: ANSI C++ forbids declaration
`quad_t' with no type or storage class
/usr/include/sys/stat.h:89: warning: ANSI C++ forbids declaration
`quad_t' with no type or storage class
/usr/include/sys/stat.h:89: parse error before `['
/usr/include/sys/stat.h:188: warning: type specifier omitted for parameter
/usr/include/sys/stat.h:188: warning: ANSI C++ forbids declaration
`mode_t' with no type or storage class
/usr/include/sys/stat.h:190: warning: type specifier omitted for parameter
/usr/include/sys/stat.h:190: warning: ANSI C++ forbids declaration
`mode_t' with no type or storage class
/usr/include/sys/stat.h:191: warning: type specifier omitted for parameter
/usr/include/sys/stat.h:191: warning: ANSI C++ forbids declaration
`mode_t' with no type or storage class
/usr/include/sys/stat.h:193: parse error before `('
/usr/include/sys/stat.h:193: `mode_t' was not declared in this scope
/usr/include/sys/stat.h:193: warning: ANSI C++ forbids declaration
`umask' with no type or storage class
/usr/include/sys/stat.h:195: warning: type specifier omitted for parameter
/usr/include/sys/stat.h:195: warning: ANSI C++ forbids declaration
`u_long' with no type or storage class
/usr/include/sys/stat.h:196: warning: type specifier omitted for parameter
/usr/include/sys/stat.h:196: warning: ANSI C++ forbids declaration
`u_long' with no type or storage class
/usr/include/sys/stat.h:197: warning: type specifier omitted for parameter
/usr/include/sys/stat.h:197: warning: ANSI C++ forbids declaration
`mode_t' with no type or storage class
PDF.cc: In method `void PDF::parse(class Retriever &, class URL &)':
PDF.cc:137: `struct stat' has no member named `st_mode'
*** Error code 1

Stop.
----------------------------------------------------------------------------

Does anybody has any ideas on how to work around this problem?

If that that could be a solution for me - I don't need to parse through
the pdf documents.

Thanks for your help!

        Thomas

--
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 htdig-request@sdsu.edu 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:52 PST