This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]