Just a guess.

It might be fixed in version libembperl-perl/2.5.0-5  ?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812617

On Tue, Apr 16, 2019 at 4:40 PM Neil Gunton <n...@nilspace.com> wrote:

> Just upgraded my workstation from Debian 8 (Jessie) to 9 (Stretch).
>
> Embperl was working on Debian Jessie, though with some bugs or different
> behavior which I mentioned in previous email to the list. Now I tried
> upgrading to Stretch to bring myself up to date with Debian stable
> finally, and Embperl no longer compiles.
>
> perl version: v5.24.1
> gcc version: 6.3.0
> apache version: 2.4.39 (built from src)
>
> perl Makefile.PL completes ok
>
> but then make fails on the following:
>
> "/usr/bin/perl" "/usr/share/perl/5.24/ExtUtils/xsubpp"  -typemap
> "/usr/share/perl/5.24/ExtUtils/typemap" -typemap "typemap"  Embperl.xs >
> Embperl.xsc && mv Embperl.xsc Embperl.c
> x86_64-linux-gnu-gcc -c  -I/usr/local/httpd_perl/include
> -I/usr/local/httpd_perl/regex -I/usr/local/httpd_perl/os/unix
> -I/usr/local/apr/include/apr-1 -I/usr/src/Embperl-2.5.0_3/xs
> -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE -DMOD_PERL -DMP_COMPAT_1X
> -fgnu89-inline -DLINUX  -O2 -g   -DVERSION=\"2.5.0_3\"
> -DXS_VERSION=\"2.5.0_3\" -fPIC
> "-I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE"  -DAPACHE -DAPACHE2 -DEP2
> -o Embperl.o Embperl.c
> In file included from ep.h:174:0,
>                  from Embperl.xs:16:
> ./Old.xs: In function ‘XS_Embperl__Req_log_svs’:
> epnames.h:329:21: error: ‘PL_sv_objcount’ undeclared (first use in this
> function)
>  #define sv_objcount PL_sv_objcount
>                      ^
> ./Old.xs:253:93: note: in expansion of macro ‘sv_objcount’
>      lprintf (r->pApp,"[%d]MEM:  %s: SVs: %d OBJs: %d\n",
> r->pThread->nPid, sText, sv_count, sv_objcount) ;
>
>                     ^~~~~~~~~~~
> epnames.h:329:21: note: each undeclared identifier is reported only once
> for each function it appears in
>  #define sv_objcount PL_sv_objcount
>                      ^
> ./Old.xs:253:93: note: in expansion of macro ‘sv_objcount’
>      lprintf (r->pApp,"[%d]MEM:  %s: SVs: %d OBJs: %d\n",
> r->pThread->nPid, sText, sv_count, sv_objcount) ;
>
>                     ^~~~~~~~~~~
> Makefile:775: recipe for target 'Embperl.o' failed
> make: *** [Embperl.o] Error 1
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org
> For additional commands, e-mail: embperl-h...@perl.apache.org
>
>

Reply via email to