This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Apache2 & cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]