[Click] Unable to compile element for kernel level click

Roman Chertov rchertov at cs.ucsb.edu
Thu Jun 30 19:40:43 EDT 2011


On Thu, 30 Jun 2011 16:16:06 -0700 Kristin Stephens <ksteph at cs.berkeley.edu>
wrote

> Hi,
> 
> I'm trying to compile my click package for the kernel level click. The
> package uses list, map, and FILE, but kept getting compile errors.

You need to use the data structure that click provides.  Look in
click/include/click for what it has (list, vector, hashmap, etc).

However, you cannot have file access in the kernel mode.  To get around that,
you need to define a write handler via which you can send data to your element.

Roman

> When I removed the elements that use those libraries I finally was
> able to compile. However this obviously defeats the purpose.
> 
> Could someone point me towards resources on either how I can get
> around this or what I can and cannot do when I want to compile my
> package for kernel level click?
> 
> Thanks,
> Kristin
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click




More information about the click mailing list