public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Umut Aymakoglu <umuta@us.ibm.com>
To: linux-ia64@vger.kernel.org
Subject: shared library creation using -Bsymbolic
Date: Fri, 12 Sep 2003 22:45:57 +0000	[thread overview]
Message-ID: <marc-linux-ia64-106340698329016@msgid-missing> (raw)





Hi -
   I have gcc3(3.0.4) installed on my machine with the ld(2.11.90.0.8). The
following compile fails. Has anybody seen a similar thing?

thanks,
Umut

a.c:

a()
{
call_func();
}

void call_func()
{
b();
}

%gcc3 -fPIC -c a.c
%gcc3 -shared -o a.sl a.o   ---> works
%gcc3 -Wl,-Bsymbolic -shared -o a.sl a.o   ----> fails
a.o: In function 'call_func':
a.c:8 undefined reference to 'b'
collect2: ld returned 1 exit status


             reply	other threads:[~2003-09-12 22:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-12 22:45 Umut Aymakoglu [this message]
2003-09-13  1:39 ` shared library creation using -Bsymbolic Jim Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-106340698329016@msgid-missing \
    --to=umuta@us.ibm.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox