NetFilter
[Top] [All Lists]

Re: problems building conntrack w/ uclibc - no output

To: "Pablo Neira Ayuso" <pablo@netfilter.org>
Subject: Re: problems building conntrack w/ uclibc - no output
From: Alan Ezust <alan.ezust@presinet.com>
Date: Tue, 28 Nov 2006 09:38:19 -0800
Cc: netfilter@lists.netfilter.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: netfilter-list1@securepoint.com
In-reply-to: <456BA0B8.3050607@netfilter.org>
List-archive: </pipermail/netfilter>
List-help: <mailto:netfilter-request@lists.netfilter.org?subject=help>
List-id: General discussion and user questions <netfilter.lists.netfilter.org>
List-post: <mailto:netfilter@lists.netfilter.org>
List-subscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=subscribe>
List-unsubscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=unsubscribe>
Organization: Presinet, Inc
References: <200611221144.00766.alan.ezust@presinet.com> <456BA0B8.3050607@netfilter.org>
Sender: netfilter-bounces@lists.netfilter.org
User-agent: KMail/1.9.5
On Monday 27 November 2006 18:36, Pablo Neira Ayuso wrote:

>
> Strange. Unfortunately I don't have access to such environment so I
> would require a considerable amount of time to set it up and I'm
> currently totally burden in many things. Could you run conntrack inside
> gdb and try to figure out what it wrong?

I can run gdb with conntrack on my own box (debian unstable x86), but that's 
got glibc and all the other modern libraries/tools. When I try to run it 
there, I now get a segfault (posted about earlier). I wonder if this is 
caused by one of the patchlets I applied from the patch-o-matic archive. In 
any case, I already posted the stack trace and info about that attempt.

But anyway, to get conntrack running the embedded box, I build conntrack and 
its related libs in scratchbox, and then I send the binaries over to the 
embedded box. And that's when I run into this weird problem which up to now 
I've only been able to get strace running. 

I am not sure how to debug conntrack in scratchbox because when I try to run 
it, recalc_rebind_subscriptions: bind(netlink): Operation not permitted
conntrack v1.00beta2: Can't open handler

I'm also not sure yet how to build gdb for the embedded box - so far, every 
time I try, it seems I am missing glibc or something that depends on glibc 
(termcap). Are there instructions for configuring gdb for an embedded system 
on top of uclibc anywhere? Or is there another debugger I should build 
instead?






-- 
Alan Ezust            www.presinet.com
Presinet, inc         alan.ezust@presinet.com
           Victoria, BC, Canada

Attachment: pgpAi6IRhvTX7.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>