delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-pair-Authenticated: | 172.211.134.47 |
Date: | Wed, 7 Jul 2004 17:12:24 +0200 |
From: | Paul-Kenji Cahier <pkc AT F1-Photo DOT com> |
Reply-To: | Paul-Kenji Cahier <pkc AT F1-Photo DOT com> |
Organization: | DeathSofts |
Message-ID: | <17110384027.20040707171224@F1-Photo.com> |
To: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
CC: | Cygwin List <cygwin AT cygwin DOT com> |
Subject: | Re[2]: Apache2 & cygwin |
In-Reply-To: | <531242902359.20040707164347@familiehaase.de> |
References: | <26102221 DOT 20040707051805 AT F1-Photo DOT com> <00df01c46400$a79fecb0$5308a8c0 AT robinson DOT cam DOT ac DOT uk> <621526579 DOT 20040707162943 AT F1-Photo DOT com> <531242902359 DOT 20040707164347 AT familiehaase DOT de> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
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/apache2/lib -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 -lapr-0 -laprutil-0 \ -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/apache2/lib -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 -lapr-0 -laprutil-0 Just tried adding libapr-0 and libapr_util-0 (since these are their name in /usr/bin/apache2/lib), they are found since it doesnt complain but it's not any better still loads of undef refs (same ones) > Paul-Kenji wrote: >> 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 \ > [...] >> -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 > You probably also need to link the dll against libapr & libapr_util > here. >> 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? > Gerrit -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |