08-15-2011 11:12 PM
Hello all,Has anybody succeeded (or tried) to cross-compile a basic pcap application for uClinux? AFAIK, it is not already included with uClinux, and needs to be compiled separately, is that also right? Thanks, Turhan
08-16-2011 06:31 PM
Thank you very much for your answer Yuri.How did you cross-compile your code then? Normally I would compile a pcap appliation# gcc main.c -lpcap In order to have it working in uclinux on nios2, I run# nios2-linux-gnu-gcc main.c -lpcap and quite reasonably, I get the error: pcap.h No such file or directory. Any suggestions?
08-18-2011 05:59 PM
Yuri, could you please describe how to compile my own software within the uClinux-dist tree? Everytime I start thinking I am getting literate in Linux, I realize I am far from it.Thanks.