From mboxrd@z Thu Jan 1 00:00:00 1970 From: Craig Davison Subject: Re: Link time problems with libipq example code Date: Mon, 23 Dec 2002 11:07:51 -0700 Sender: netfilter-admin@lists.netfilter.org Message-ID: <20021223180751.GA16194@securityfocus.com> References: <20021220224405.GB28191@securityfocus.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Narendra Prabhu. B" Cc: "netfilter@lists.netfilter.org" That did it - thanks! -- Craig Davison Symantec Corporation +1 (403) 213-3939 ext. 228 On Sat, Dec 21, 2002 at 10:59:43AM +0530, Narendra Prabhu. B wrote: > Hi, > > Yes, even I have come across such problems.... I just complied it using > the following command. > > $gcc -I/usr/local/include -L/usr/local/lib -o ipqtst ipqtst.c -lipq > > Just notice that I have put "-lipq" in the end... Well, I have not been > able to reason, why it works this way. Its probably the gcc issue.