compilation problem [was: segfault on rfc2047-like subject]

Clint Adams schizo at debian.org
Mon Oct 11 18:42:17 CEST 2004


> Eh?  Won't compile?  Works fine for me and everyone else I'm aware of.
> 
> What compiler (gcc?) version are you using?  What message(s) are you
> getting.
> 
> The only change I know of between 0.92.7 and cvs (until the last hour)
> was a fix made to bogotune.c several days ago, i.e.

gcc version 3.3.4 (Debian 1:3.3.4-13)
flex 2.5.31
GNU sed version 4.1.2

flex   /home/clint/tmp/bogofilter/src/lexer_v3.l
sed '/^#/ s|lex.yy\.c|lexer_v3.c|' lex.yy.c >lexer_v3.c
rm -f lex.yy.c
if gcc -DHAVE_CONFIG_H -I. -I/home/clint/tmp/bogofilter/src -I.
-I/home/clint/tmp/bogofilter/gnugetopt -I/home/clint/tmp/bogofilter/trio
-I- -I. -I/home/clint/tmp/bogofilter/src
-I/home/clint/tmp/bogofilter/gsl/specfunc -I/home/clint/tmp/bogofilter
-DBOGOFILTER  -g -O2  -Wpointer-arith -ggdb -Wall -W -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual
-Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations
-Wmissing-format-attribute -Wnested-externs -fno-common
-Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type
-Wno-system-headers -Wformat -MT lexer_v3.o -MD -MP -MF
".deps/lexer_v3.Tpo" -c -o lexer_v3.o lexer_v3.c; \
then mv -f ".deps/lexer_v3.Tpo" ".deps/lexer_v3.Po"; else rm -f
".deps/lexer_v3.Tpo"; exit 1; fi
lexer_v3.c:3286: warning: no previous prototype for `yyget_lineno'
lexer_v3.c:3295: warning: no previous prototype for `yyget_in'
lexer_v3.c:3303: warning: no previous prototype for `yyget_out'
lexer_v3.c:3311: warning: no previous prototype for `yyget_leng'
lexer_v3.c:3320: warning: no previous prototype for `yyget_text'
lexer_v3.c:3332: warning: no previous prototype for `yyset_lineno'
lexer_v3.c:3344: warning: no previous prototype for `yyset_in'
lexer_v3.c:3349: warning: no previous prototype for `yyset_out'
lexer_v3.c:3354: warning: no previous prototype for `yyget_debug'
lexer_v3.c:3359: warning: no previous prototype for `yyset_debug'
lexer_v3.c:3373: warning: no previous prototype for `yylex_destroy'
/home/clint/tmp/bogofilter/src/lexer_v3.l: In function `yy_unput':
/home/clint/tmp/bogofilter/src/lexer_v3.l:413: error: `yytext_ptr'
undeclared (first use in this function)
/home/clint/tmp/bogofilter/src/lexer_v3.l:413: error: (Each undeclared
identifier is reported only once
/home/clint/tmp/bogofilter/src/lexer_v3.l:413: error: for each function
it appears in.)
make[3]: *** [lexer_v3.o] Error 1
make[3]: Leaving directory `/tmp/objb/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/objb/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/objb/src'
make: *** [all-recursive] Error 1




More information about the bogofilter-dev mailing list