object name conflicts in archive: .libs/libgst.lax/library.a...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

object name conflicts in archive: .libs/libgst.lax/library.a...

leledumbo
I don't know since when this happens, but I guess since I use gcc 4.5.0.
Using this command:
./configure --prefix=c:/gst --exec-prefix=c:/gst --disable-shared --enable-relocatable CFLAGS='-s -O4' LDFLAGS='-s -O4' && make all test install

I ended up with:
mv -f .deps/events.Tpo .deps/events.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc -fomit-frame-pointer -s -O4 -Wall
-Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing -Wno-switch -fno-gcse -fstrict-aliasing  -version-info 7:2:0 -no-undefined -export-symbols-regex "^gst_.*" -s -O4 -o libgst.la
-rpath c:/gst/lib gstpub.lo files.lo gst-parse.lo lex.lo str.lo tree.lo byte.lo
comp.lo sym.lo dict.lo oop.lo opt.lo save.lo cint.lo heap.lo input.lo sysdep.lo
callin.lo xlat.lo mpz.lo print.lo alloc.lo security.lo re.lo interp.lo real.lo sockets.lo events.lo ../lib-src/library.la -lws2_32  ../libffi/libffi.la ../snprintfv/snprintfv/libsnprintfvc.la -lreadline   -lgmp -lpthread -lm
libtool: link: (cd .libs/libgst.lax/library.a && ar x "/e/Sources/smalltalk-3.2/libgst/../lib-src/.libs/library.a")
<output file>
The pipe is being closed.
libtool: link: object name conflicts in archive: .libs/libgst.lax/library.a//e/Sources/smalltalk-3.2/libgst/../lib-src/.libs/library.a
make[3]: *** [libgst.la] Error 1
make[3]: Leaving directory `/e/Sources/smalltalk-3.2/libgst'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/e/Sources/smalltalk-3.2/libgst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/e/Sources/smalltalk-3.2'
make: *** [all] Error 2

Platform:
Windows XP SP 3
i386-win32
MSYS 1.0.11
MinGW GCC 4.5.0

I'd also like to know what make target is used for a thorough clean? make distclean always ends up in error (no distclean target in sigsegv directory).
Reply | Threaded
Open this post in threaded view
|

Re: object name conflicts in archive: .libs/libgst.lax/library.a...

Paolo Bonzini-2
On 07/26/2010 03:17 PM, leledumbo wrote:
>
> I don't know since when this happens, but I guess since I use gcc 4.5.0.
> Using this command:
> ./configure --prefix=c:/gst --exec-prefix=c:/gst --disable-shared
> --enable-relocatable CFLAGS='-s -O4' LDFLAGS='-s -O4'&&  make all test
> install

Unrelated: if you use --enable-relocatable, it's best to supply a prefix
like c:/dummy/gst

> I ended up with:
> mv -f .deps/events.Tpo .deps/events.Plo
> /bin/sh ../libtool --tag=CC   --mode=link gcc -fomit-frame-pointer -s -O4
> -Wall
> -Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign
> -Wwrite-strings -Wno-strict-aliasing -Wno-switch -fno-gcse -fstrict-aliasing
> -version-info 7:2:0 -no-undefined -export-symbols-regex "^gst_.*" -s -O4 -o
> libgst.la
> -rpath c:/gst/lib gstpub.lo files.lo gst-parse.lo lex.lo str.lo tree.lo
> byte.lo
> comp.lo sym.lo dict.lo oop.lo opt.lo save.lo cint.lo heap.lo input.lo
> sysdep.lo
> callin.lo xlat.lo mpz.lo print.lo alloc.lo security.lo re.lo interp.lo
> real.lo sockets.lo events.lo ../lib-src/library.la -lws2_32
> ../libffi/libffi.la ../snprintfv/snprintfv/libsnprintfvc.la -lreadline
> -lgmp -lpthread -lm
> libtool: link: (cd .libs/libgst.lax/library.a&&  ar x
> "/e/Sources/smalltalk-3.2/libgst/../lib-src/.libs/library.a")
> <output file>
> The pipe is being closed.
> libtool: link: object name conflicts in archive:
> .libs/libgst.lax/library.a//e/Sources/smalltalk-3.2/libgst/../lib-src/.libs/library.a
> make[3]: *** [libgst.la] Error 1
> make[3]: Leaving directory `/e/Sources/smalltalk-3.2/libgst'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/e/Sources/smalltalk-3.2/libgst'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/e/Sources/smalltalk-3.2'
> make: *** [all] Error 2
>
> Platform:
> Windows XP SP 3
> i386-win32
> MSYS 1.0.11
> MinGW GCC 4.5.0
>
> I'd also like to know what make target is used for a thorough clean? make
> distclean always ends up in error (no distclean target in sigsegv
> directory).

make -k distclean should work.  I'll submit a patch to Automake.

Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: object name conflicts in archive: .libs/libgst.lax/library.a...

Paolo Bonzini-2
In reply to this post by leledumbo
On 07/26/2010 03:17 PM, leledumbo wrote:
> libtool: link: object name conflicts in archive:
> .libs/libgst.lax/library.a//e/Sources/smalltalk-3.2/libgst/../lib-src/.libs/library.a

Please include the whole make log ("make >make.log 2>&1") and the two
files lib-src/Makefile and libgst/Makefile.

Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: object name conflicts in archive: .libs/libgst.lax/library.a...

leledumbo
Here you go:
gst.tar.gz