From owner-freebsd-net Sun Mar 5 20:55:50 2000 Delivered-To: freebsd-net@freebsd.org Received: from mc-qout4.whowhere.com (mc-qout4.whowhere.com [209.185.123.18]) by hub.freebsd.org (Postfix) with SMTP id 20E9F37BB2D for ; Sun, 5 Mar 2000 20:55:43 -0800 (PST) (envelope-from gbnaidu@my-deja.com) Received: from Unknown/Local ([?.?.?.?]) by my-deja.com; Sun Mar 5 20:55:06 2000 To: freebsd-net@FreeBSD.ORG Date: Sun, 05 Mar 2000 20:55:06 -0800 From: "gbnaidu " Message-ID: Mime-Version: 1.0 X-Sent-Mail: off X-Mailer: MailCity Service Subject: How to link libraries.... X-Sender-Ip: 164.164.56.2 Organization: My Deja Email (http://www.my-deja.com:80) Content-Type: text/plain; charset=us-ascii Content-Language: en Content-Length: 598 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi I have a question. I have two API libraries. I have to link these libraries to the kernel depending whether it is LSR or LER. These terms are MPLS terms. You can assume them as #defined MACROs. How do I do this? Do I need to define two options like LSR and LER and depending on #ifdef LSR, link corresponding library? Where do I mentin this linking part? What file do i need to edit to link the corresponding library? Please reply to: gbnaidu@sasi.com thanks a lot for the help --gbnaidu. --== Sent via Deja.com http://www.deja.com/ ==-- Share what you know. Learn what you don't. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message