perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans C. Poo" <h...@welinux.cl>
Subject Re: Problem compiling 1.0 on linux
Date Mon, 03 Dec 2012 14:26:56 GMT
Hi,

I've continued looking with more atention, and the format messages were just warnings, the
error appears with an lvalue assignement in mod_perl.c:

mod_perl.c:790:15: error: lvalue required as left operand of assignment

And the aforementioned line is:

  GvCV(exitgp) = perl_get_cv("Apache::exit", TRUE);


¿ Not sure but it's a gcc thing ?

Hans

Hans Poo, Welinux S.A.
Bombero Ossa #1010, oficina 800, 
+56-2-3729770, Movil: +56-9-3199305
Santiago, Chile


----- Mensaje original -----
> De: "Hans C. Poo" <hans@welinux.cl>
> Para: modperl@perl.apache.org
> Enviados: Lunes, 3 de Diciembre 2012 11:02:56
> Asunto: Problem compiling 1.0 on linux
> 
> Hi.
> 
> I have a legacy mod_perl project, and need to create a development
> environment.
> 
> mod_perl-1.31 y apache_1.3.41 on Ubuntu Linux 12.04
> 
> The makefile is created fine:
> hans@tierra:~/desarrollo/mod_perl-1.31$ perl Makefile.PL DO_HTTPD=1
> USE_APACI=1 EVERYTHING=1
> 
> Then, when issuing make:
> 
> cc -O2 -g -I/usr/lib/perl/5.14/CORE -D_REENTRANT  -DDEBIAN
> -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -DMOD_PERL_VERSION=\"1.31\"
> -DMOD_PERL_STRING_VERSION=\"mod_perl/1.31\" -I../..
> -I/usr/lib/perl/5.14/CORE -I../../os/unix -I../../include
>    -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_PERL -DUSE_PERL_SSI
> -D_REENTRANT  -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT  -DDEBIAN
> -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `../../apaci` -c
> mod_perl.c
> mod_perl.c: En la función ‘mp_check_version’:
> mod_perl.c:538:2: aviso: se desconoce el carácter de tipo de
> conversión ‘_’ en el formato [-Wformat]
> mod_perl.c: En la función ‘perl_module_init’:
> mod_perl.c:564:2: aviso: se desconoce el carácter de tipo de
> conversión ‘v’ en el formato [-Wformat]
> mod_perl.c: En la función ‘perl_startup’:
> mod_perl.c:790:15: error: se requiere un l-valor como operando
> izquierdo de la asignación
> make[5]: *** [mod_perl.o] Error 1
> make[4]: *** [all] Error 1
> make[3]: *** [subdirs] Error 1
> 
> Looking at the code, there are some formats en the form %_ until i
> can see it is complaining for the underscore.
> 
> Thanks
> Hans
> 

Mime
View raw message