From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 921 invoked by alias); 12 Mar 2009 15:39:49 -0000 Received: (qmail 909 invoked by uid 22791); 12 Mar 2009 15:39:48 -0000 X-SWARE-Spam-Status: No, hits=1.7 required=5.0 tests=AWL,BAYES_20,DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Mar 2009 15:39:40 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Lhn0P-0007DH-An for gcc-help@gcc.gnu.org; Thu, 12 Mar 2009 08:39:33 -0700 Message-ID: <22478671.post@talk.nabble.com> Date: Thu, 12 Mar 2009 15:39:00 -0000 From: Kolesar To: gcc-help@gcc.gnu.org Subject: Statically linked shared library MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2009-03/txt/msg00139.txt.bz2 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.