Subject: Re[2]: Apache2 & cygwin
From: Paul-Kenji Cahier <[email-masked]>
To: "Max Bowsher" <[email-masked]>, "Cygwin List" <[email-masked]>
Date: Wed, 7 Jul 2004 16:29:43 +0200

Thanks for the info, apache2 starts well now
the new prob i'm experiencing is about modperl 2 now
it almost succeeds until the linking at the end:
ld2 -s -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 modperl_filter.lo modperl_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_constants.lo modperl_apache_compat.lo modperl_error.lo modperl_hooks.lo modperl_directives.lo modperl_flags.lo modperl_xsinit.lo  -s  -s -L/usr/local/lib /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/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 \
-s -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 modperl_filter.lo modperl_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_constants.lo modperl_apache_compat.lo modperl_error.lo modperl_hooks.lo modperl_directives.lo modperl_flags.lo modperl_xsinit.lo -s -s -L/usr/local/lib /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE -lperl -lcrypt -lgdbm_compat 
Creating library file: libmod_perl.dll.a
mod_perl.lo(.text+0x3af):mod_perl.c: undefined reference to `_ap_server_root_relative'
mod_perl.lo(.text+0x3f7):mod_perl.c: undefined reference to `_ap_server_root_relative'
mod_perl.lo(.text+0x74b):mod_perl.c: undefined reference to `_ap_mpm_query'
mod_perl.lo(.text+0x816):mod_perl.c: undefined reference to `_apr_pool_create_ex'
mod_perl.lo(.text+0x823):mod_perl.c: undefined reference to `_apr_pool_cleanup_null'
[many more undef. refs]
collect2: ld returned 1 exit status
perlld: *** system() failed to execute

i've tried a few other versions of ld(in case it was ld) but it seems
not to be any dif.
anyone succeeded compiling modperl2+apache2?

> Paul-Kenji Cahier wrote:
>> Has anyone ever been able to compile it properly and have it run?
>> 
>> a good ol' ./configure && make && make install will run almost
>> flawlessly(just gotta copy a few exe manually in make install) but
>> then trying to start httpd it exists almost instantly after a
>> sigill(with nothing in the error logs):

> You need cygserver running and the word "server" present in the CYGWIN environment variable.

> Max.

> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/