Forum Discussion
Altera_Forum
Honored Contributor
15 years agoCrosscompiling PCAP Application for uClinux
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 t...
Altera_Forum
Honored Contributor
15 years agoThank 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?