This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Statically linked shared library
- From: Kolesar <asim dot husanovic at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 12 Mar 2009 08:39:34 -0700 (PDT)
- Subject: Statically linked shared library
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.