delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/10/07:15:10

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4875EF18.2020002@frydenbo-bruvoll.com>
Date: Thu, 10 Jul 2008 12:14:32 +0100
From: =?ISO-8859-1?Q?Jan-Aage_Frydenb=F8-Bruvoll?= <jan AT frydenbo-bruvoll DOT com>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: mod_perl2 build problems
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019