[Click] compiling a new element {resend for archive}
Lesedi
lesedi.kgosietsile at gmail.com
Wed Mar 8 12:32:50 EST 2006
Hello,
I am using click,in userlevel mode.I wrote a click code to make my own
element called Loss which losses packets randomly.I followed
instruction in
FAQ on how to compile my own element.I have put
- .ccp & .hh files in element/local
- run ./configure enable-local
- make elemlist (when checking userlevel/elements.conf )
- make install (when checking still not there)
My .ccp file has the following headers:
#ifdef HAVE_CONFIG_H
#include <click/config.h>
#endif
#include "Loss.hh"
#include <click/confparse.hh>
#include <click/error.hh>
CLICK_DECLS
and at the end I have:
CLICK_ENDDECLS
EXPORT_ELEMENT(Loss)
I dont know what is it im doing wrong.Could you please help me on this?
thanking you in advance,
sedi
_______________________________________________
click mailing list
click at amsterdam.lcs.mit.edu
https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list