public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Kolesar <asim.husanovic@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: Statically linked shared library
Date: Thu, 12 Mar 2009 15:39:00 -0000	[thread overview]
Message-ID: <22478672.post@talk.nabble.com> (raw)


Hi All

I try linked shared library, statically, but i get error. Where I made
mistake? Please help.

Exactly, I want dynamically linked -ldl -lrt -luuid -lm -ldl, and statically
linked -ldrmod (libdrmod.so)


g++ -static -ldl -lrt -luuid -lm -ldl -o
/home/asimh/my_program/src/.bin/sysnfop1s.so
-L/home/asimh/my_program/lib/.bin -ldrmod

/usr/bin/ld: cannot find -ldrmod





-- 
View this message in context: http://www.nabble.com/Statically-linked-shared-library-tp22478672p22478672.html
Sent from the gcc - Help mailing list archive at Nabble.com.

             reply	other threads:[~2009-03-12 15:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12 15:39 Kolesar [this message]
2009-03-13 17:21 ` Axel Freyn
2009-03-14 20:49 ` Michael Haubenwallner
2009-03-16 14:35   ` Kolesar
2009-03-16 15:20     ` Andrew Haley
2009-03-16 18:42       ` Kolesar
2009-03-16 18:48         ` Andrew Haley
2009-04-14 12:32           ` Kolesar
2009-04-14 13:05             ` Andrew Haley
  -- strict thread matches above, loose matches on Subject: below --
2009-03-12 15:39 Kolesar

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=22478672.post@talk.nabble.com \
    --to=asim.husanovic@gmail.com \
    --cc=gcc-help@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).