first, i'm new to linux.
i would to like to build some network tools for a recently acquired wrt54gs
i started with ngrep, so i set up a linux distro, build a uClibc toolchains (i guess mipsel was the right choice)
i played a bit with the toolchains then i compiled libpcap 0.7.2 without any problem (dynamic lib first). And then i compiled ngrep.
I send the 2 binaries to the router, but when i run ngrep i have a segmentation fault
i relinked ngrep and libpcap a static, but same problem.
i wrote a (very simple) test.c file using some of the pcap functions, compiled it, sent it, and it run normally
can anyone tell me what am i doing wrong ?
regards.