Re: mod_perl.c:61: `my_perl' undeclared under Cygwin

[prev] [thread] [next] [Date index for 2004/12/13]

From: sdfgsd sergserg
Subject: Re: mod_perl.c:61: `my_perl' undeclared under Cygwin
Date: 15:00 on 13 Dec 2004
I compiled perl 5.8.5 succesfuly and tried to build RC1 against 5.8.5. This time there is no such error, but there is another problem:

rm -f mod_perl.so
ld2 -L/usr/local/lib \
 \
mod_perl.lo modperl_interp.lo modperl_tipool.lo modperl_log.lo modperl_config.lo
 modperl_cmd.lo modperl_options.lo modperl_callback.lo modperl_handler.lo modper
l_gtop.lo modperl_util.lo modperl_io.lo modperl_io_apache.lo modperl_filter.lo m
odperl_bucket.lo modperl_mgv.lo modperl_pcw.lo modperl_global.lo modperl_env.lo
modperl_cgi.lo modperl_perl.lo modperl_perl_global.lo modperl_perl_pp.lo modperl
_sys.lo modperl_module.lo modperl_svptr_table.lo modperl_const.lo modperl_consta
nts.lo modperl_apache_compat.lo modperl_error.lo modperl_debug.lo modperl_common
_util.lo modperl_common_log.lo modperl_hooks.lo modperl_directives.lo modperl_fl
ags.lo modperl_xsinit.lo modperl_exports.lo  -L/usr/local/lib /usr/local/lib/per
l5/5.8.5/cygwin/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.5/cygwin
/CORE -lperl -lcrypt -lgdbm_compat \
-o mod_perl.so
gcc -shared -o  mod_perl.dll -Wl,--out-implib=libmod_perl.dll.a -Wl,--export-all
-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-L/usr/local/lib mod_perl.lo modperl_interp.lo modperl_tipool.lo modperl_log.lo
modperl_config.lo modperl_cmd.lo modperl_options.lo modperl_callback.lo modperl_
handler.lo modperl_gtop.lo modperl_util.lo modperl_io.lo modperl_io_apache.lo mo
dperl_filter.lo modperl_bucket.lo modperl_mgv.lo modperl_pcw.lo modperl_global.l
o modperl_env.lo modperl_cgi.lo modperl_perl.lo modperl_perl_global.lo modperl_p
erl_pp.lo modperl_sys.lo modperl_module.lo modperl_svptr_table.lo modperl_const.
lo modperl_constants.lo modperl_apache_compat.lo modperl_error.lo modperl_debug.
lo modperl_common_util.lo modperl_common_log.lo modperl_hooks.lo modperl_directi
ves.lo modperl_flags.lo modperl_xsinit.lo modperl_exports.lo -L/usr/local/lib /u
sr/local/lib/perl5/5.8.5/cygwin/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/pe
rl5/5.8.5/cygwin/CORE -lperl -lcrypt -lgdbm_compat


after this is executed I get many many errors like these:
modperl_debug.lo(.text+0x6e):modperl_debug.c: undefined reference to `_apr_psprintf'
modperl_common_util.lo(.text+0x33b):modperl_common_util.c: undefined reference to `_apr_palloc'
modperl_common_log.lo(.text+0x68):modperl_common_log.c: undefined reference to `_apr_file_printf'
modperl_hooks.lo(.text+0x316):modperl_hooks.c: undefined reference to `_ap_hook_process_connection'


... and so on until I get to:


collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o  mod_perl.dll -Wl,--out-implib=libmod_perl.dll.a -Wl,--export-all
-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-L/usr/local/lib mod_perl.lo modperl_interp.lo modperl_tipool.lo modperl_log.lo
modperl_config.lo modperl_cmd.lo modperl_options.lo modperl_callback.lo modperl_
handler.lo modperl_gtop.lo modperl_util.lo modperl_io.lo modperl_io_apache.lo mo
dperl_filter.lo modperl_bucket.lo modperl_mgv.lo modperl_pcw.lo modperl_global.l
o modperl_env.lo modperl_cgi.lo modperl_perl.lo modperl_perl_global.lo modperl_p
erl_pp.lo modperl_sys.lo modperl_module.lo modperl_svptr_table.lo modperl_const.
lo modperl_constants.lo modperl_apache_compat.lo modperl_error.lo modperl_debug.
lo modperl_common_util.lo modperl_common_log.lo modperl_hooks.lo modperl_directi
ves.lo modperl_flags.lo modperl_xsinit.lo modperl_exports.lo -L/usr/local/lib /u
sr/local/lib/perl5/5.8.5/cygwin/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/pe
rl5/5.8.5/cygwin/CORE -lperl -lcrypt -lgdbm_compat

make[1]: *** [mod_perl.so] Error 1
make[1]: Leaving directory `/usr/src/mp2/src/modules/perl'
make: *** [modperl_lib] Error 2


-----------------------------------------------------------------
Известяване за получено писмо - http://promo.abv.bg/

        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

mod_perl.c:61: `my_perl' undeclared under Cygwin
sdfgsd sergserg 11:44 on 13 Dec 2004

Re: mod_perl.c:61: `my_perl' undeclared under Cygwin
sdfgsd sergserg 15:00 on 13 Dec 2004

Re: mod_perl.c:61: `my_perl' undeclared under Cygwin
sdfgsd sergserg 17:32 on 14 Dec 2004

Re: mod_perl.c:61: `my_perl' undeclared under Cygwin
Philippe M. Chiasson 04:31 on 31 Jan 2005

Generated at 14:43 on 11 Apr 2005 by mariachi v0.52