public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Statically linked shared library
@ 2009-03-12 15:39 Kolesar
  2009-03-13 17:21 ` Axel Freyn
  2009-03-14 20:49 ` Michael Haubenwallner
  0 siblings, 2 replies; 10+ messages in thread
From: Kolesar @ 2009-03-12 15:39 UTC (permalink / raw)
  To: gcc-help


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.

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Statically linked shared library
@ 2009-03-12 15:39 Kolesar
  0 siblings, 0 replies; 10+ messages in thread
From: Kolesar @ 2009-03-12 15:39 UTC (permalink / raw)
  To: gcc-help


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-tp22478671p22478671.html
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-04-14 13:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-12 15:39 Statically linked shared library Kolesar
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

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).