libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cygwin libtool breakage


From: Robert Collins
Subject: cygwin libtool breakage
Date: Sun, 3 Jun 2001 02:03:24 +1000

I think I've tracked down why libtool suddenly died.

The failures all seem to be shared library related.

The below output is from make on the autobook libhello example.

The address@hidden symbol, from what I've worked out is meant to be
transparently created by combining the library sources with ltdll.c -
_but I cannot see where that happens_.

Looking in the changelog, that seemed to be a task for ltconfig, which
is no more :[

Gary - am I on the right track, or truely lost?

Rob


===
$ make
make  all-am
make[1]: Entering directory `/usr/src/hellolib/build'
/bin/sh ./libtool --mode=link gcc  -g -O2   -o libhello.la -rpath
/usr/local/lib -no-undef
ined -version-info 0:0:0 hello.lo
rm -fr  .libs/libhello.exp
generating symbol list for `libhello.la'
 dlltool --export-all --exclude-symbols
address@hidden,address@hidden,_cygwin_noncygwin_
address@hidden,address@hidden,address@hidden --output-def
.libs/cyghello-0.dll-def
.libs/hello.o
 sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" <
.libs/cyghello-0.dll-def > .li
bs/libhello.exp
if test "x`head -1 .libs/libhello.exp`" = xEXPORTS; then cp
.libs/libhello.exp .libs/cyghe
llo-0.dll-def; else echo EXPORTS > .libs/cyghello-0.dll-def; _lt_hint=1;
cat .libs/libhell
o.exp | while read symbol; do set dummy $symbol; case $# in 2) echo " $2
@ $_lt_hint ; " >
> .libs/cyghello-0.dll-def;; *) echo " $2 @ $_lt_hint $3 ; " >>
.libs/cyghello-0.dll-def;;
 esac; _lt_hint=`expr 1 + $_lt_hint`; done; fi

gcc -Wl,--base-file,.libs/cyghello-0.dll-base -Wl,-e,__cygwin_dll_entry@
12 -o .libs/cyghe
llo-0.dll  .libs/hello.o
/usr/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined
reference to address@hidden
6'
collect2: ld returned 1 exit status
make[1]: *** [libhello.la] Error 1
make[1]: Leaving directory `/usr/src/hellolib/build'
make: *** [all] Error 2
===




reply via email to

[Prev in Thread] Current Thread [Next in Thread]