mod_perl2 build problems

Jan-Aage Frydenbø-Bruvoll jan@frydenbo-bruvoll.com
Thu Jul 10 11:15:00 GMT 2008


Dear list,

I am trying to build mod_perl2 in my Cygwin environment, and the build 
stops at the following:

make[3]: Entering directory 
`/usr/src/.cpan/build/mod_perl-2.0.4-Y5Qjqi/WrapXS/APR/ThreadRWLock'
rm -f ../../../blib/arch/auto/APR/ThreadRWLock/ThreadRWLock.dll
g++  --shared  -Wl,--enable-auto-import -Wl,--export-all-symbols 
-Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib 
ThreadRWLock.o -Wl,--enable-auto-import -Wl,--export-all-symbols 
-Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib -o 
../../../blib/arch/auto/APR/ThreadRWLock/ThreadRWLock.dll      \
          /usr/lib/perl5/5.10/i686-cygwin/CORE/libperl.dll.a 
-L/usr/src/.cpan/build/mod_perl-2.0.4-Y5Qjqi/blib/arch/auto/libaprext 
-laprext -L/usr/lib/perl5/5.10/i686-cygwin/CORE -lperl 
-L/usr/src/.cpan/build/mod_perl-2.0.4-Y5Qjqi/src/modules/perl 
-lhttpd2core -L/usr/lib -laprutil-1 -lgdbm -ldb-4.2 -lexpat -liconv 
-L/usr/lib -L/usr/lib -lapr-1 -lcrypt       \
         
ThreadRWLock.o:ThreadRWLock.c:(.text+0xa0): undefined reference to 
`_apr_thread_rwlock_create'
ThreadRWLock.o:ThreadRWLock.c:(.text+0x297): undefined reference to 
`_apr_thread_rwlock_destroy'
ThreadRWLock.o:ThreadRWLock.c:(.text+0x3da): undefined reference to 
`_apr_thread_rwlock_pool_get'
ThreadRWLock.o:ThreadRWLock.c:(.text+0x57d): undefined reference to 
`_apr_thread_rwlock_rdlock'
ThreadRWLock.o:ThreadRWLock.c:(.text+0x77d): undefined reference to 
`_apr_thread_rwlock_tryrdlock'
ThreadRWLock.o:ThreadRWLock.c:(.text+0x97d): undefined reference to 
`_apr_thread_rwlock_trywrlock'
ThreadRWLock.o:ThreadRWLock.c:(.text+0xb7d): undefined reference to 
`_apr_thread_rwlock_unlock'
ThreadRWLock.o:ThreadRWLock.c:(.text+0xd7d): undefined reference to 
`_apr_thread_rwlock_wrlock'
collect2: ld returned 1 exit status
make[3]: *** [../../../blib/arch/auto/APR/ThreadRWLock/ThreadRWLock.dll] 
Error 1
make[3]: Leaving directory 
`/usr/src/.cpan/build/mod_perl-2.0.4-Y5Qjqi/WrapXS/APR/ThreadRWLock'

I have tried googling for this error, without finding a single hit, and 
I have tried finding out which lib should provide the references above. 
Would anybody on the list be able to point me in the right direction at all?

Best regards
Jan

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



More information about the Cygwin mailing list