On Friday, November 29, 2002, at 03:25 PM, Brian H. Marston wrote:

OS:    Red Hat Linux 7.3
gcc:   version 2.96 20000731
g++:   version 2.96 20000731
htdig: version 3.1.6
...
checking for dirent.h that defines DIR... (cached) no
checking for sys/ndir.h that defines DIR... (cached) no
checking for sys/dir.h that defines DIR... (cached) no
checking for ndir.h that defines DIR... (cached) no
I think that this is the root of the problem. Do you have any of these files in /usr/include ? If so, are the permissions ok?

Result of running make:

bash-2.05a$ make
make[1]: Entering directory `/home/brian/htdig-3.1.6/db/dist'
gcc -c -O2 -I. -I./../include ../os/os_dir.c
In file included from db_int.h:13,
from ../os/os_dir.c:37:
db.h:68: warning: redefinition of `u_char'
/usr/include/sys/types.h:34: warning: `u_char' previously declared here
db.h:69: warning: redefinition of `u_short'
/usr/include/sys/types.h:35: warning: `u_short' previously declared here
db.h:70: warning: redefinition of `u_int'
/usr/include/sys/types.h:36: warning: `u_int' previously declared here
db.h:71: warning: redefinition of `u_long'
/usr/include/sys/types.h:37: warning: `u_long' previously declared here
../os/os_dir.c: In function `__os_dirlist':
../os/os_dir.c:53: `DIR' undeclared (first use in this function)
../os/os_dir.c:53: (Each undeclared identifier is reported only once
../os/os_dir.c:53: for each function it appears in.)
../os/os_dir.c:53: `dirp' undeclared (first use in this function)
../os/os_dir.c:54: parse error before `int'
../os/os_dir.c:62: `names' undeclared (first use in this function)
../os/os_dir.c:63: `arraysz' undeclared (first use in this function)
../os/os_dir.c:63: `cnt' undeclared (first use in this function)
../os/os_dir.c:63: warning: assignment makes pointer from integer without a
cast
../os/os_dir.c:66: `ret' undeclared (first use in this function)
../os/os_dir.c:70: dereferencing pointer to incomplete type
make[1]: *** [os_dir.o] Error 1
make[1]: Leaving directory `/home/brian/htdig-3.1.6/db/dist'
make: *** [all] Error 1


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html


Reply via email to