I receive the following error when building. Any suggestions.

Linux 2.4.22 - GCC 3.3.2 - Glibc 2.3.2 - Flex 2.5.31

Making all in htcommon
make[1]: Entering directory `/usr/src/htdig-3.2.0b5-20031123/htcommon'
/bin/sh ../libtool --mode=compile
g++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/etc/htdig/
htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I
../db -I../db -DBIN_DIR=\"/usr/bin\" -DCOMMON_DIR=\"/var/www/htdocs/search/h
tdig\" -DCONFIG_DIR=\"/etc/htdig\" -DDATABASE_DIR=\"/var/www/htdocs/search/h
tdig/db\" -DIMAGE_URL_PREFIX=\"/images\"    -I/usr/include/openssl -DHAVE_SS
L -I/usr/include  -march=pentium2 -mmmx -O2 -pipe -Wall -fno-rtti -fno-excep
tions -c -o conf_lexer.lo `test -f 'conf_lexer.cxx' || echo
'./'`conf_lexer.cxx

g++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/etc/htdig/
htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I
../db -I../db -DBIN_DIR=\"/usr/bin\" -DCOMMON_DIR=\"/var/www/htdocs/search/h
tdig\" -DCONFIG_DIR=\"/etc/htdig\" -DDATABASE_DIR=\"/var/www/htdocs/search/h
tdig/db\" -DIMAGE_URL_PREFIX=\"/images\" -I/usr/include/openssl -DHAVE_SSL -
I/usr/include -march=pentium2 -mmmx -O2 -pipe -Wall -fno-rtti -fno-exception
s -c conf_lexer.cxx  -fPIC -DPIC -o .libs/conf_lexer.o
conf_lexer.cxx: In function `int yylex()':
conf_lexer.cxx:918: warning: unused variable `int forceEOL'
conf_lexer.cxx:919: error: `forceEOL' undeclared (first use this function)
conf_lexer.cxx:919: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
conf_lexer.cxx:923: error: parse error before `else'
conf_lexer.cxx:932: error: case label `18' not within a switch statement
conf_lexer.cxx:939: error: case label `19' not within a switch statement
conf_lexer.cxx:943: error: case label `20' not within a switch statement
conf_lexer.cxx:947: error: case label `21' not within a switch statement
conf_lexer.cxx:954: error: case label `22' not within a switch statement
conf_lexer.cxx:959: error: case label `23' not within a switch statement
conf_lexer.cxx:1081: error: `default' label not within a switch statement
conf_lexer.cxx:722: warning: label `find_rule' defined but not used
conf_lexer.cxx: At global scope:
conf_lexer.cxx:1086: error: parse error before `}' token
conf_lexer.cxx:1817: warning: `void* yy_flex_realloc(void*, unsigned int)'
   defined but not used
make[1]: *** [conf_lexer.lo] Error 1

----
Jim Gifford
[EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to