what version of re2c are you using? 0.12.3 seems to work fine...

--j.

Stefan Jakobs writes:
> Hello,
>
> I just tried the "sought" ruleset (see
> http://taint.org/2007/08/15/004348a.html). But I was not able to compile it.
> Is the ruleset not compilable or did I something wrong?
>
> I'm using SpamAssassin v3.2.3 and here's the output from sa-compile:
>
> # sudo /usr/bin/sa-compile
> [19022] info: generic: base extraction starting. this can take a while...
> [19022] info: generic: extracting from rules of type body_0
> 100% [===========================================] 126.51 rules/sec 00m16s
> DONE
> 100% [===========================================] 23.95 bases/sec 02m16s
> DONE
> [19022] info: body_0: 2767 base strings extracted in 153 seconds
> [19022] info: generic: extracting from rules of type body_500
> 100% [===========================================] 105.41 rules/sec 00m00s
> DONE
> 100% [===========================================] 4328.49 bases/sec 00m00s
> DONE
> [19022] info: body_500: 2 base strings extracted in 0 seconds
> cd /tmp/.spamassassin19022uDCJdatmp
> cd Mail-SpamAssassin-CompiledRegexps-body_0
> Wide character in print at /usr/bin/sa-compile line 379, <$fh> line 2112.
> Wide character in print at /usr/bin/sa-compile line 379, <$fh> line 2278.
> Wide character in print at /usr/bin/sa-compile line 379, <$fh> line 3087.
> Wide character in print at /usr/bin/sa-compile line 379, <$fh> line 3482.
> Wide character in print at /usr/bin/sa-compile line 379, <$fh> line 3529.
> Wide character in print at /usr/bin/sa-compile line 379, <$fh> line 3660.
> re2c -i -b -o scanner1.c scanner1.re
> re2c: error: line 133, column 19: can't find symbol
> command failed! at /usr/bin/sa-compile line 282, <$fh> line 4508.
>
> Thanks for help.
> Stefan
> part 2 application/pgp-signatur 189