[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] yet another new GNU Smalltalk (2.0.10) failure on NetBS
From: |
Greg A. Woods |
Subject: |
[Help-smalltalk] yet another new GNU Smalltalk (2.0.10) failure on NetBSD |
Date: |
Sun, 15 Dec 2002 13:44:12 -0500 (EST) |
Here's a new one for you:
cc -shared -nodefaultlibs regex.lo re.lo -Wl,--whole-archive
../../lib-src/.libs/library.al ../../snprintfv/snprintfv/.libs/libsnprintfvc.al
-Wl,--no-whole-archive -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath
-Wl,/usr/pkg/lib -L/usr/pkg/lib ../../lib-src/.libs/library.al -lm
../../snprintfv/snprintfv/.libs/libsnprintfvc.al -R/usr/pkg/lib -lm -lm -lc -lm
/usr/pkg/lib/libintl.so /usr/pkg/lib/libiconv.so -Wl,-R/usr/pkg/lib
-Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,regex-2.0.10.so -o
.libs/regex-2.0.10.so
../../snprintfv/snprintfv/.libs/libsnprintfvc.al(ldexpl.lo): In function
`ldexpl':
/var/obj/package/lang/smalltalk/work/smalltalk-2.0.10/snprintfv/snprintfv/ldexpl.c:41:
multiple definition of `ldexpl'
../../lib-src/.libs/library.al(ldexpl.lo):/var/obj/package/lang/smalltalk/work/smalltalk-2.0.10/lib-src/ldexpl.c:38:
first defined here
../../snprintfv/snprintfv/.libs/libsnprintfvc.al(frexpl.lo): In function
`frexpl':
/var/obj/package/lang/smalltalk/work/smalltalk-2.0.10/snprintfv/snprintfv/frexpl.c:43:
multiple definition of `frexpl'
../../lib-src/.libs/library.al(frexpl.lo):/var/obj/package/lang/smalltalk/work/smalltalk-2.0.10/lib-src/frexpl.c:39:
first defined here
/usr/bin/ld: Warning: size of symbol `frexpl' changed from 503 to 479 in
frexpl.lo
collect2: ld returned 1 exit status
gmake[3]: *** [regex.la] Error 1
gmake[3]: Leaving directory
`/var/obj/package/lang/smalltalk/work/smalltalk-2.0.10/examples/modules'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/var/obj/package/lang/smalltalk/work/smalltalk-2.0.10/examples'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/var/obj/package/lang/smalltalk/work/smalltalk-2.0.10'
gmake: *** [all] Error 2
BTW, I also have to disable use of readline in order to get the build to
succeed past the libgst.la target. This is because @LIBREADLINE@ is
used in the value of libgst_la_DEPENDENCIES in libgst/Makefile.am:
gmake[3]: *** No rule to make target `-L/usr/pkg/lib', needed by `libgst.la'.
Stop.
gmake[3]: Leaving directory
`/var/obj/package/lang/smalltalk/work/smalltalk-2.0.10/libgst'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/var/obj/package/lang/smalltalk/work/smalltalk-2.0.10/libgst'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/var/obj/package/lang/smalltalk/work/smalltalk-2.0.10'
gmake: *** [all] Error 2
However when "--with-readline=/usr/pkg/lib" is used with configure then
the result is that "LIBREADLINE=-L/usr/pkg/lib", which of course is
invalid as a dependency since it cannot possibly be built as a target.
External libraries must not be listed in Automake "*_DEPENDENCIES"
values. Only list libraries for which source is included in the package
distribution and which can be (re)built normally during the default
process of building the whole package.
--
Greg A. Woods
+1 416 218-0098; <address@hidden>; <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>