> Just on a hunch, try changing the order of the includes in
> htword/WordDB.h so that the #include "db.h" is the last file
> included, i.e. after htString.h.
>
> If that doesn't help, this is a brute force trick but try
> adding a "#undef stat" either just before or just after the include
> of db.h.

Tried all of the above, but still no luck.

Thanks for the suggestions though.

- Darryl


make[1]: Entering directory `/work/source/htdig-3.2.0b4-120901/htword'
/bin/sh ../libtool --mode=compile
c++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/usr/local/
h
tdig/conf/htdig.conf\"          -I../include -I../htlib                 -I..
/htnet -I../htcommon              -
I../htword              -I../db -I../db                    -I/usr/local/incl
ude  -g -O2 -Wall -fno-rtti -fno-ex
ceptions -c WordList.cc
c++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/usr/local/
htdig/conf/htdig.conf\" -I../includ
e -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/usr/loc
al/include -g -O2 -Wall -fno-rtti -
fno-exceptions -c WordList.cc -o WordList.o
In file included from WordList.h:82,
                 from WordList.cc:29:
WordDB.h: In member function `int WordDB::Stat(void*, void*(*)(unsigned
int),
   int)':
WordDB.h:104: `struct __db' has no member named `stat'
make[1]: *** [WordList.lo] Error 1
make[1]: Leaving directory `/work/source/htdig-3.2.0b4-120901/htword'
make: *** [all-recursive] Error 1


 ----------------------------------------------------------------------
  Darryl Friesen, B.Sc., Programmer/Analyst    [EMAIL PROTECTED]
  Education & Research Technology Services,     http://gollum.usask.ca/
  Department of Computing Services,
  University of Saskatchewan
 ----------------------------------------------------------------------
  "Go not to the Elves for counsel, for they will say both no and yes"



_______________________________________________
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