On Tue, Aug 15, 2000, Thomas Anders wrote:

> The latest mod_ssl 2.6.6 fails to compile when using an old flex version
> (which used to work for 2.6.5). Here are the details:
> 
> OS: Solaris 7
> Compiler: gcc 2.95.2
> Apache: 1.3.12
> flex: 2.4.6
> 
> The error:
> 
> foo:/usr/local/src/apache_1.3.12# make
> [...]
> ===> src/modules/ssl
> flex -Pssl_expr_yy -s -B ssl_expr_scan.l
> "ssl_expr_scan.l", line 89: bad character: %
> "ssl_expr_scan.l", line 90: unknown error processing section 1
> "ssl_expr_scan.l", line 90: bad character: %
> "ssl_expr_scan.l", line 91: unknown error processing section 1
> *** Error code 1
> 
> With the latest flex 2.5.4a it compiles cleanly.
> For mod_ssl 2.6.5 the old flex 2.4.6 was sufficient.

Err... no, first there was no change between 2.6.5 and 2.6.6 related to the
ssl_expr_scan.l stuff, so it cannot be that Flex likes the one from 2.6.5 and
not the one from 2.6.6.  Second, independent whether flex likes or dislikes
the file, flex should never be called for end-users. If it is run by the
Makefile, your timestamps are garbled. Start from scratch and especially make
sure that the ssl_expr_scan.c file has a newer timestamp than the
ssl_expr_scan.l file (do a "touch ssl_expr_scan.c" if you want to make sure!).

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to