INN make fails with perl 5.8.0

Jeffrey M. Vinocur jeff at litech.org
Sun Nov 10 20:43:25 UTC 2002


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.


> perl.c:100: warning: passing arg 2 of `perl_parse' from incompatible pointer type
> perl.c:338: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type

These are the normal warnings from compiling embedded Perl.


-- 
Jeffrey M. Vinocur
jeff at litech.org



More information about the inn-workers mailing list