[Click] click-devirtualize and kernel 2.6
Giovanni Di Stasi
gdistasi at gmail.com
Fri Feb 1 18:23:37 EST 2008
Il Tuesday 29 January 2008 20:41:25 hai scritto:
> Current git should work in both cases; I just verified user level (with a
> simple config).
>
> Eddie
I don't know why, but in my case it doesn't work. I get compile errors like
these:
+ make clickdv_mODuB8fcPyH3Psd1lP2E4b.uo
make CLICK_PACKAGE_MAKING=userlevel clickdv_mODuB8fcPyH3Psd1lP2E4b.uo
make[1]: Entering directory `/tmp/clicktmp4366'
CXX clickdv_mODuB8fcPyH3Psd1lP2E4b.u_.cc
clickdv_mODuB8fcPyH3Psd1lP2E4b.u_.cc:9:45: error:
clickdv_mODuB8fcPyH3Psd1lP2E4b.hh: Nessun file o directory
clickdv_mODuB8fcPyH3Psd1lP2E4b.u_.cc:110:20: error: utils.hh: no file or
directory
clickdv_mODuB8fcPyH3Psd1lP2E4b.u_.cc:289:25: error: fccapacket.hh: no file or
directory
clickdv_mODuB8fcPyH3Psd1lP2E4b.u_.cc:605:18: error: def.hh: no file or
directory
clickdv_mODuB8fcPyH3Psd1lP2E4b.u_.cc:1153:23: error: fakepcap.hh: no file or
directory
fccapacket.hh, def.hh are header file I include in some of my elements.
I launched click-devirtualize in this way:
click-devirtualize -u -f click.conf
Everything goes well when I launch click with that configuration.
Without devirtualization it's very difficult to achieve good performance.
I also tried this simple configuration: FromDevice(eth0) -> Discard -> Idle
and tried:
click-devirtualize -u -f file_conf | click,
I got compile errors in this case too.
Is this the right way to use click-devirtualize?
Thanks.
More information about the click
mailing list