* Building shared objects
@ 2003-11-13 8:56 Stephane ALBIN
0 siblings, 0 replies; only message in thread
From: Stephane ALBIN @ 2003-11-13 8:56 UTC (permalink / raw)
To: cygwin
Hi all,
I currently use cygwin 1.3.4.
I'm trying to build a shared object which uses another lib.
My object is named : mf.o
It uses the lib name : libHt.so
And for my test, they are in the same directory.
libHt.so has been generated by :
gcc -shared -o libHt.so Ht.o
If I do :
gcc -shared libHt.so mf.o -o libmf.so
I get this message :
libHt.so: fake: multiple definition of '___do_frame_init'
libHt.so: fake: multiple definition of '___do_frame_fini'
libHt.so: fake: multiple definition of '___EH_FRAME_BEGIN__'
I don't think it is a gcc problem because it works correctly on Linux with gcc 3.3.1.
If I link objects directly, it works :
gcc -shared -o libmf.so mf.o Ht.o
But I don't want this feature.
Any help is welcome.
TIA.
Stéphane Albin.
--
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-11-13 8:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-13 8:56 Building shared objects Stephane ALBIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).