On Fri, 26 Jan 2001, Doug MacEachern wrote:
> On Fri, 26 Jan 2001, Mark A. Downing wrote:
>
> > and it appears that there is NO perlxsi.c in /apache_1.3.14/src/modules/perl
>
> hmm, i don't see how that's possible, mod_perl will not compile without
> it.
UM... I just recompiled mod_perl and behold....
#if defined(__cplusplus) && !defined(PERL_OBJECT)
#define is_cplusplus
#endif
#ifdef is_cplusplus
extern "C" {
#endif
#include <EXTERN.h>
#include <perl.h>
#ifdef PERL_OBJECT
#define NO_XSLOCKS
#include <XSUB.h>
#include "win32iop.h"
#include <fcntl.h>
#include <perlhost.h>
#endif
#ifdef is_cplusplus
}
# ifndef EXTERN_C
# define EXTERN_C extern "C"
# endif
#else
# ifndef EXTERN_C
# define EXTERN_C extern
# endif
#endif
EXTERN_C void xs_init _((void));
EXTERN_C void boot_DynaLoader _((CV* cv));
EXTERN_C void
xs_init(void)
{
char *file = __FILE__;
dXSUB_SYS;
/* DynaLoader is a special case */
newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
}
> what does this print:
>
> % nm /apache_1.3.14/src/httpd | grep boot_
0811d988 T Perl_boot_core_UNIVERSAL
080c4478 T boot_DynaLoader
08141614 d perl_sections_boot_module
> % nm /apache_1.3.14/src/httpd | grep xs_init
08079cb8 T xs_init
I still get the error about Apache::Constants when running make test. This
DOESN'T occur when I compile against apache_1.3.12.
I'm puzzled.
--Mark
Stratasource, Inc.
30 Executive Park, Suite 260
Irvine, CA 92714
Phone:(949)260-0418 x505