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]

libtool bug



Hi,

I'm trying to compile guile-1.7.1 on cygwin, with a recently installed
libtool,

	ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42)

At some point, make issues the following command line, 

	/bin/bash ../libtool --mode=install /usr/bin/install -c
		libguile-srfi-srfi-1-v-2.la
		/usr/local/lib/libguile-srfi-srfi-1-v-2.la
	libtool: install: warning: relinking `libguile-srfi-srfi-1-v-2.la'
	(cd /home/Hanwen/src/guile-1.7.1/srfi; /bin/bash ../libtool
	--mode=relink gcc -g -O2 -Wall -Wmissing-prototypes -Werror -o
	libguile-srfi-srfi-1-v-2.la -rpath /usr/local/lib -no-undefined
	-export-dynamic -version-info 2:0:0 srfi-1.lo ../libguile/libguile.la
	-lpthread -lgmp -lcrypt -lm )
	libtool: link: warning: `/lib/libgmp.la' seems to be moved

which is translated to the following GCC command line

	gcc -shared .libs/srfi-1.o -L/lib -L/usr/lib
	-L/home/Hanwen/src/guile-1.7.1/libguile-ltdl/.libs -L/usr/local/lib
	-lguile -lpthread -lgmp -lcrypt -o
	.libs/cygguile-srfi-srfi-1-v-2-2.dll -Wl,--image-base=0x10000000
	-Wl,--out-implib,.libs/libguile-srfi-srfi-1-v-2.dll.a

this fails, because gcc cannot figure out that
/home/Hanwen/src/guile-1.7.1/libguile-ltdl/.libs/libguile.dll.a is the
actual library to be linked.  Manually adding libguile.dll.a to the
command line results in a succesful link.

I'm attaching libguile.la and libguile-srfi-srfi-1-v-2.la



Attachment: libguile-srfi-srfi-1-v-2.la
Description: Binary data

Attachment: libguile.la
Description: Binary data

-- 

 Han-Wen Nienhuys   |   hanwen@xs4all.nl   |   http://www.xs4all.nl/~hanwen 

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