Hi Charlie:

I have installed httpd-2.2.9 and static mod_perl2.0.5-dev, i had the same 
problem, well, i had many problems, but when this problem appeared, you just 
have to comment the lines where appear these headers of functions that are 
never used in the file modperl_exports.c

1164 #ifndef modperl_threads_started
1165 const void *modperl_hack_threads_started = (const void 
*)modperl_threads_started;
1166 #endif
1167 
1168 /*#ifndef modperl_thx_interp_get
1169 const void *modperl_hack_thx_interp_get = (const void 
*)modperl_thx_interp_get;
1170 #endif
1171 
1172 #ifndef modperl_thx_interp_set
1173 const void *modperl_hack_thx_interp_set = (const void 
*)modperl_thx_interp_set;
1174 #endif*/
1175 
1176 #ifndef modperl_tls_create
1177 const void *modperl_hack_tls_create = (const void *)modperl_tls_create;
1178 #endif

then try to do make again.

so I installed it and I have not had any problems.



Atte:
ISC Mario Ignacio Rodríguez Cortés.

----------------------------------------
> From: [EMAIL PROTECTED]
> To: modperl@perl.apache.org
> Subject: [mp2] make fails - `modperl_thx_interp_get' undeclared here (not in 
> a function) 
> Date: Thu, 28 Aug 2008 15:46:54 -0500
> 
> 
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
> 
>    I am trying to statically build mod_perl into apache. I start it  
> off by running the command.....
> 
> perl Makefile.PL MP_USE_STATIC=1 \ MP_AP_PREFIX=/home/charlier/ 
> httpd-2.0.63 \ MP_AP_CONFIGURE="--prefix=/usr/local/apache-2.0.63 -- 
> enable-ssl --enable-rewrite --enable-so --with-included-apr --enable- 
> cgi"
> 
> This seems to go well and doesn't throw any red flags. From here I run  
> 'make'. It goes and fails with the following lines. Throughout the  
> make process everything else seems fine.
> 
> cc -I/home/charlier/mod_perl-2.0.4/src/modules/perl -I/home/charlier/ 
> mod_perl-2.0.4/xs -I/home/charlier/httpd-2.0.63/include -I/home/ 
> charlier/httpd-2.0.63/srclib/apr/include -I/home/charlier/httpd-2.0.63/ 
> srclib/apr-util/include -I/home/charlier/httpd-2.0.63/os/unix -fno- 
> strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/ 
> include -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.8/x86_64-linux/ 
> CORE -DMOD_PERL -DMP_COMPAT_1X -O2 -c modperl_exports.c
> modperl_exports.c:1169: error: `modperl_thx_interp_get' undeclared  
> here (not in a function)
> modperl_exports.c:1173: error: `modperl_thx_interp_set' undeclared  
> here (not in a function)
> make[1]: *** [modperl_exports.o] Error 1
> make[1]: Leaving directory `/home/charlier/mod_perl-2.0.4/src/modules/ 
> perl'
> make: *** [modperl_lib] Error 2
> 
> I have tried with the current version of mod-perl and the latest. I  
> get the same result every time.
> 
> I have also tried the following versions of apache - 2.0.63, 2.2.6,  
> 2.2.9 all fail with the similar message.
> 
> The only other thing to note is that perl was built with  
> ccflags='fPIC' but the rest is pretty much the accepted defaults in  
> regards to an x86_64 system.
> 
> 2. Used Components and their Configuration:
> 
> *** mod_perl version 2.000004
> 
> *** using /home/charlier/mod_perl-2.0.4/lib/Apache2/BuildConfig.pm
> 
> *** Makefile.PL options:
>    MP_APR_LIB      => aprext
>    MP_AP_CONFIGURE => --prefix=/usr/local/apache-2.0.63 --enable-ssl -- 
> enable-rewrite --enable-so --with-included-apr --enable-cgi
>    MP_AP_PREFIX    => /home/charlier/httpd-2.0.63
>    MP_COMPAT_1X    => 1
>    MP_GENERATE_XS  => 1
>    MP_LIBNAME      => mod_perl
>    MP_USE_STATIC   => 1
> 
> 
> *** The httpd binary was not found
> 
> 
> *** (apr|apu)-config linking info
> 
> -L/home/charlier/httpd-2.0.63/srclib/apr-util/.libs
>   -L/home/charlier/httpd-2.0.63/srclib/apr-util -laprutil-0 -lexpat
> -L/home/charlier/httpd-2.0.63/srclib/apr/.libs
>   -L/home/charlier/httpd-2.0.63/srclib/apr -lapr-0 -lrt -lm -lcrypt - 
> lnsl  -lpthread -ldl
> 
> 
> 
> *** /usr/local/bin/perl5.8.8 -V
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
>    Platform:
>      osname=linux, osvers=2.6.9-67.0.1.elsmp, archname=x86_64-linux
>      uname='linux serv45.services.cymru.com 2.6.9-67.0.1.elsmp #1 smp  
> fri nov 30 11:57:43 est 2007 x86_64 x86_64 x86_64 gnulinux '
>      config_args=''
>      hint=recommended, useposix=true, d_sigaction=define
>      usethreads=undef use5005threads=undef useithreads=undef  
> usemultiplicity=undef
>      useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
>      use64bitint=define use64bitall=define uselongdouble=undef
>      usemymalloc=n, bincompat5005=undef
>    Compiler:
>      cc='cc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after- 
> statement -I/usr/local/include -D_LARGEFILE_SOURCE - 
> D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
>      optimize='-O2',
>      cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after- 
> statement -I/usr/local/include -I/usr/include/gdbm'
>      ccversion='', gccversion='3.4.6 20060404 (Red Hat 3.4.6-9)',  
> gccosandvers=''
>      intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
>      d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
>      ivtype='long', ivsize=8, nvtype='double', nvsize=8,  
> Off_t='off_t', lseeksize=8
>      alignbytes=8, prototype=define
>    Linker and Libraries:
>      ld='cc', ldflags =' -L/usr/local/lib'
>      libpth=/usr/local/lib /lib /usr/lib
>      libs=-lnsl -ldl -lm -lcrypt -lutil -lc
>      perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
>      libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a
>      gnulibc_version='2.3.4'
>    Dynamic Linking:
>      dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
>      cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
> 
> 
> Characteristics of this binary (from libperl):
>    Compile-time options: PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT
>                          USE_LARGE_FILES USE_PERLIO
>    Built under linux
>    Compiled at Aug 28 2008 16:56:21
>    %ENV:
>      PERL_LWP_USE_HTTP_10="1"
>    @INC:
>      /usr/local/lib/perl5/5.8.8/x86_64-linux
>      /usr/local/lib/perl5/5.8.8
>      /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux
>      /usr/local/lib/perl5/site_perl/5.8.8
>      /usr/local/lib/perl5/site_perl
>      .
> 
> *** Packages of interest status:
> 
> Apache2            : -
> Apache2::Request   : -
> CGI                : 3.15
> ExtUtils::MakeMaker: 6.30
> LWP                : -
> mod_perl           : -
> mod_perl2          : -
> 
> 
> 3. This is the core dump trace: (if you get a core dump):
> 
>    [CORE TRACE COMES HERE]
> 
> This report was generated by ./REPORT on Thu Aug 28 20:34:21 2008 GMT.
> 
> -------------8<---------- End Bug Report --------------8<----------
> 
> Note: Complete the rest of the details and post this bug report to
> modperl  perl.apache.org. To subscribe to the list send an empty
> email to [EMAIL PROTECTED]
> 
> 
> 
> 

_________________________________________________________________
Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia 
Contest
http://www.gowindowslive.com/summergames?ocid=TXT_TAGHM

Reply via email to