[Date Prev][Date Next] [Chronological] [Thread] [Top]

compiling back-perl with perl-5.8.0 (ITS#2946)

Full_Name: Philippe Depouilly
Version: 2.2.5
OS: linux redhat 8.0, 9.0 or AS-3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

Compiling back-perl (openldap 2.2.5) on a redhat (8.0, 9.0 and AS-3) with
perl-5.8.0 gives this error for each source file in back-perl directory :

init.c: In function `perl_back_db_open':
init.c:152: `my_perl' undeclared (first use in this function)

But, in each source file :

changing this :

#include <EXTERN.h>
#include <perl.h>


#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>

compiles fine.

or just adding #include <XSUB.h> at the end of perl_back.h (not very nice)

(should be duplicate to unresolved ITS#2554 ?)