Hi there,
I know, 3.2.0b3 is some days old, but I'm trying now
to build ht://Dig at cygwin.
I need to include libregex during linking, but this is not an error
during linking, any suggests, what to do now?
I got this compilation error:
/usr/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -
DDEFAULT_CONFIG_FILE=\"/var/htdig/config/htdig.conf\" -I../include
-I../htlib -I../htnet -I../htcommon
-I../htword -I../db -I../db -DMV=\"/usr/bin/mv\"
-I/usr/include -g -O2 -Wall -fno-rtti -fno-
exceptions -c EndingsDB.cc
g++ -DHAVE_CONFIG_H -I. -I. -I../include
-DDEFAULT_CONFIG_FILE=\"/var/htdig/config/htdig.conf\" -I../include -I../htlib
-I../htnet -I../htcommon -I../htword -I../db -I../db -DMV=\"/usr/bin/mv\"
-I/usr/include -g -O2 -Wall -fno-rtti -fno-
exceptions -Wp,-MD,.deps/EndingsDB.pp -c EndingsDB.cc -o EndingsDB.o
In file included from regex.h:20,
from EndingsDB.cc:31:
../htlib/HtRegex.h:60: syntax error before `;'
EndingsDB.cc: In method `void Endings::expandWord(String &, List &, Dictionary &, char
*, char *)':
EndingsDB.cc:334: `regex_t' undeclared (first use this function)
EndingsDB.cc:334: (Each undeclared identifier is reported only once
EndingsDB.cc:334: for each function it appears in.)
EndingsDB.cc:334: parse error before `;'
EndingsDB.cc:340: `reg' undeclared (first use this function)
EndingsDB.cc:340: `REG_ICASE' undeclared (first use this function)
EndingsDB.cc:340: `REG_NOSUB' undeclared (first use this function)
EndingsDB.cc:340: `REG_EXTENDED' undeclared (first use this function)
EndingsDB.cc:340: implicit declaration of function `int regcomp(...)'
EndingsDB.cc:341: implicit declaration of function `int regexec(...)'
EndingsDB.cc:369: implicit declaration of function `int regfree(...)'
make[1]: *** [EndingsDB.lo] Error 1
make[1]: Leaving directory `/src/htdig/htdig-3.2.0b3/htfuzzy'
make: *** [all-recursive] Error 1
gph
--
=^..^=
_______________________________________________
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