INN make fails with perl 5.8.0

Russ Allbery rra at stanford.edu
Sun Nov 10 20:55:13 UTC 2002


Jeffrey M Vinocur <jeff at litech.org> writes:
> On Sun, 10 Nov 2002, franconews wrote:

>> Make of inn 2.3.3 (2.3.2 also) fails since I have upgraded perl from
>> 5.6.1 to 5.8.0. (configure --with-perl)

>> gcc -g -O2 -I../include   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing 
>> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  
>> -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE    -c perl.c
>> In file included from perl.c:25:
>> ../include/libinn.h:78: parse error before numeric constant

> Huh.  That line is

>     typedef enum { LOCK_READ, LOCK_WRITE, LOCK_UNLOCK } LOCKTYPE;

> and I suppose that error means that one of these things has been defined
> previously.  I can't imagine how changing Perl versions would affect
> this, though -- since no Perl headers have even been included at that
> point in the file.

The -D_GNU_SOURCE is doing this.  Fixed already in the STABLE snapshots,
and will be in 2.3.4 as soon as I get a chance to put that together.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list