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
pgpAi6IRhvTX7.pgp
Description: PGP signature
|