Fred, Yea, i know the platform is outdated, it is a very legacy system and we are planning a complete rebuild... finally i installed a virtual machine with ubuntu 10.04 (a two year old release of linux) and it compiled without problems, in this way we'll be able to cope with maintenance until the new system is ready. It was a gcc or glibc related issue.
Thanks Hans Hans Poo, Welinux S.A. Bombero Ossa #1010, oficina 800, +56-2-3729770, Movil: +56-9-3199305 Santiago, Chile ----- Mensaje original ----- > De: "Fred Moyer" <f...@redhotpenguin.com> > Para: "Hans C. Poo" <h...@welinux.cl> > CC: "mod_perl list" <modperl@perl.apache.org> > Enviados: Viernes, 7 de Diciembre 2012 0:17:15 > Asunto: Re: Problem compiling 1.0 on linux > > On Mon, Dec 3, 2012 at 6:26 AM, Hans C. Poo <h...@welinux.cl> wrote: > > 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: > > Are you able to implement mod_perl2? Apache 1.x in particular has > reached end of life status. > > > > > 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" <h...@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 > >> >