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: Shared libraries in Cygwin



This is another error message. I apparently cannot build .so files with cygwin for apache.  Error below

This is my configure script running under ksh

crth at lkvn108 in /downloads/apache/httpd-2.2.15
# cat conf_apache.ksh
#! /usr/bin/ksh

./configure --prefix=/usr/apache --exec-prefix=/usr/apache --enable-headers=shared --enable-rewrite=shared --enable-dav=shared --enable-vhost-alias=shared --enable-ssl --enable-dav-fs=shared --enable-authz_svn=shared --enable-so


I hope its something simple I am missing. Simple is easy to fix right? :O)


Warning message

/usr/share/apr/build-1/libtool --silent --mode=install cp mod_dav_fs.la /usr/apache/modules/
Warning!  dlname not found in /usr/apache/modules/mod_dav_fs.la.
Assuming installing a .so rather than a libtool archive.


----- Original Message ----
From: Refr Bruhl <refr_bruhl@yahoo.com>
To: Eric Blake <eblake@redhat.com>; cygwin@cygwin.com
Sent: Tue, June 29, 2010 4:58:01 PM
Subject: Re: Shared libraries in Cygwin


Thanks for the info.. It helps

I am building Apache with subversion. That is where I get the error message






----- Original Message ----
From: Eric Blake <eblake@redhat.com>
To: cygwin@cygwin.com
Sent: Tue, June 29, 2010 4:45:35 PM
Subject: Re: Shared libraries in Cygwin

On 06/29/2010 03:43 PM, Refr Bruhl wrote:
> 
> Question
> 
> Since I get the message below does this mean cygwin cannot compile shared libraries?

Quite the contrary - cygwin1.dll is a shared library, which means not
only can cygwin compile shared libraries, but it depends on them!

> Or if a shared library is defined special action needs to be taken for
cygwin?

The special action being that all symbols must be defined in advance.

> 
> 
> libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries

Look into the documentation of the -no-undefined flag of libtool, and
make sure you are using it.

-- 
Eric Blake  eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


      

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


      

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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