Subject: Re: Apache2 & cygwin
From: "Gerrit P. Haase" <[email-masked]>
To: Paul-Kenji Cahier <[email-masked]>
Cc: "Cygwin List" <[email-masked]>
Date: Wed, 7 Jul 2004 16:43:47 +0200

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
-- 
=^..^=                                     http://nyckelpiga.de/donate.html

--
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/