[Click] click router package - multicast. fatal error: linux/skbuff.h: No such file or directory

Eddie Kohler ekohler at gmail.com
Wed Jan 18 22:55:21 EST 2012


You need to explicitly request the multicast package with

require(multicast);

in multi.click

Eddie


On Wed, Jan 18, 2012 at 5:03 PM, Josh J <joshjdevl at gmail.com> wrote:
> Some reason I receive unknown element  when trying to use the multicast
> package. Though everything compiled and installed without error.
>
> File "multi.click"
> mct::IPMulticastTable("pimctl");
> mcc::IPClassifier(224.0.0.0/4 and ip proto udp, ip proto igmp, -);
> mcc[0] -> mct;
> mct[0] -> rt;
>
>
> Result of "click multi.click"
> multi.click:1: unknown element class ‘IPMulticastTable’
> multi.click:4: undeclared element ‘rt’
>
>
> Results of "sudo make install"
> usr/local/share/click/mkinstalldirs /usr/local/lib
> for i in multicast.uo multicast.ko; do /usr/bin/install -c -m 644 $i
> /usr/local/lib/$i; done
> r="userlevel linuxmodule multicast"; echo . |
> /usr/local/bin/click-buildtool -C /usr/local findelem -r "$r" -P |
> /usr/local/bin/click-mkelemmap -r "multicast" -t "userlevel linuxmodule" -s
> `cd . && pwd` > elementmap-multicast.xml
> /usr/local/share/click/mkinstalldirs /usr/local/share/man
> /usr/local/share/click/mkinstalldirs /usr/local/share/man/mann
> /usr/local/bin/click-elem2man -L -d /usr/local/share/man/mann -P multicast
> -e /usr/local/share/click/elementmap.xml elementmap-multicast.xml
> click-elem2man: warning: unknown category shorthand 'devices' in UMLSwitch
> click-elem2man: warning: unknown category shorthand 'smpclick' in CPUQueue,
> CPUSwitch, LookupIPRouteMP
> /usr/local/share/click/mkinstalldirs /usr/local/share/click
> /usr/bin/install -c -m 644 elementmap-multicast.xml
> /usr/local/share/click/elementmap-multicast.xml
>
>
> On Tue, Jan 17, 2012 at 11:05 AM, Eddie Kohler <ekohler at gmail.com> wrote:
>
>> Hi Josh,
>>
>> The documentation was included with the distribution, in the source header
>> files, but had not been generated for the web. This is now fixed.
>>
>> Eddie
>>
>>
>>
>> On 1/17/12 11:10 AM, Josh J wrote:
>>
>>> Sorry, meant reply to click mailing list
>>>
>>> On Tue, Jan 17, 2012 at 10:10 AM, Josh J<joshjdevl at gmail.com>  wrote:
>>>
>>>  Thanks. I updated click and multicast source, recompiled both fine now.
>>>>
>>>> Is there a place to get more documentation regarding the multicast
>>>> package? So far I found this though it is empty.
>>>> http://www.read.cs.ucla.edu/**click/packages/multicast<http://www.read.cs.ucla.edu/click/packages/multicast>
>>>>
>>>> Thanks,
>>>> Josh
>>>>
>>>>
>>>> On Mon, Jan 9, 2012 at 11:48 AM, Eddie Kohler<ekohler at gmail.com>  wrote:
>>>>
>>>>  Hi Josh,
>>>>>
>>>>> Sorry for not getting back to you earlier. This was a problem introduced
>>>>> recently in mainline Click. I just checked in what I think is a fix. Try
>>>>> updating your Click, re-installing it, and then building the multicast
>>>>> package.
>>>>>
>>>>> Best,
>>>>> Eddie
>>>>>
>>>>>
>>>>>
>>>>> On 1/7/12 3:25 PM, Josh J wrote:
>>>>>
>>>>>  Hi,
>>>>>>
>>>>>> Any suggestions on how to compile the mulicast click-package ?
>>>>>>
>>>>>> https://github.com/kohler/****click-packages<https://github.com/kohler/**click-packages>
>>>>>> <https://github.**com/kohler/click-packages<https://github.com/kohler/click-packages>
>>>>>> >
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> Josh
>>>>>>
>>>>>> On Wed, Dec 14, 2011 at 10:46 AM, Josh J<joshjdevl at gmail.com>   wrote:
>>>>>>
>>>>>>  Hi,
>>>>>>
>>>>>>>
>>>>>>> I have the latest click router code compiled and installed on ubuntu.
>>>>>>> I
>>>>>>> am
>>>>>>> trying to install the multicast package, though receive fatal error:
>>>>>>> linux/skbuff.h: No such file or directory
>>>>>>>
>>>>>>> If I search for skbuff.h I can find it in
>>>>>>> /usr/src/linux-headers-2.6.35-****30/include/linux/skbuff.h
>>>>>>> /usr/src/linux-headers-2.6.35-****30-generic/include/linux/****
>>>>>>> skbuff.h
>>>>>>> /usr/local/include/click-****linuxmodule/include1/linux/****skbuff.h
>>>>>>>
>>>>>>>
>>>>>>> Though click build is looking in
>>>>>>> make[2]: Entering directory `/usr/src/linux-headers-2.6.**
>>>>>>>
>>>>>>> 35-30-generic'
>>>>>>>
>>>>>>> Any ideas?
>>>>>>>
>>>>>>>
>>>>>>> make -R CLICK_PACKAGE_MAKING=userlevel multicast.uo
>>>>>>> make[1]: Entering directory
>>>>>>> `/home/josh/Downloads/click/****click-packages/multicast'
>>>>>>>
>>>>>>> make[1]: `multicast.uo' is up to date.
>>>>>>> make[1]: Leaving directory
>>>>>>> `/home/josh/Downloads/click/****click-packages/multicast'
>>>>>>> make -R CLICK_PACKAGE_MAKING=****linuxmodule multicast.ko
>>>>>>> make[1]: Entering directory
>>>>>>> `/home/josh/Downloads/click/****click-packages/multicast'
>>>>>>> { ( make -C /lib/modules/2.6.35-30-****generic/build
>>>>>>> M=/home/josh/Downloads/click/****click-packages/multicast
>>>>>>>  CLICK_PACKAGE_MAKING=****linuxmodule-26 modules 2>&1 1>&3; echo $?>
>>>>>>>
>>>>>>> .multicast.ko.status ) | grep -iv '^[\* ]*Warning:.*undefined' 1>&2; }
>>>>>>> 3>&1; v=`cat .multicast.ko.status`; rm .multicast.ko.status; exit $v
>>>>>>> make[2]: Entering directory `/usr/src/linux-headers-2.6.**
>>>>>>> 35-30-generic'
>>>>>>>   CXX [M] fixpimsource.ko
>>>>>>> In file included from /usr/local/include/click/****element.hh:4,
>>>>>>>                  from
>>>>>>> /home/josh/Downloads/click/****click-packages/multicast/**
>>>>>>> fixpimsource.hh:3,
>>>>>>>                  from
>>>>>>> /home/josh/Downloads/click/****click-packages/multicast/**
>>>>>>> fixpimsource.cc:19:
>>>>>>> /usr/local/include/click/glue.****hh:25: fatal error:
>>>>>>> linux/skbuff.h: No
>>>>>>>
>>>>>>> such
>>>>>>> file or directory
>>>>>>> compilation terminated.
>>>>>>> fixdep:
>>>>>>> /home/josh/Downloads/click/****click-packages/multicast/.****
>>>>>>> fixpimsource.ko.d:
>>>>>>>
>>>>>>> No
>>>>>>> such file or directory
>>>>>>> make[3]: ***
>>>>>>> [/home/josh/Downloads/click/****click-packages/multicast/****
>>>>>>> fixpimsource.ko]
>>>>>>> Error
>>>>>>> 2
>>>>>>> make[2]: Leaving directory `/usr/src/linux-headers-2.6.****
>>>>>>> 35-30-generic'
>>>>>>> make[2]: *** [_module_/home/josh/Downloads/**
>>>>>>> **click/click-packages/**
>>>>>>>
>>>>>>> multicast]
>>>>>>> Error 2
>>>>>>> make[1]: *** [multicast.ko] Error 2
>>>>>>> make[1]: Leaving directory
>>>>>>> `/home/josh/Downloads/click/****click-packages/multicast'
>>>>>>>
>>>>>>> make: *** [multicast.ko] Error 2
>>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Josh
>>>>>>>
>>>>>>>  ______________________________****_________________
>>>>>>>
>>>>>> click mailing list
>>>>>> click at amsterdam.lcs.mit.edu
>>>>>> https://amsterdam.lcs.mit.edu/****mailman/listinfo/click<https://amsterdam.lcs.mit.edu/**mailman/listinfo/click>
>>>>>> <https**://amsterdam.lcs.mit.edu/**mailman/listinfo/click<https://amsterdam.lcs.mit.edu/mailman/listinfo/click>
>>>>>> >
>>>>>>
>>>>>>
>>>>>
>>>>  ______________________________**_________________
>>> click mailing list
>>> click at amsterdam.lcs.mit.edu
>>> https://amsterdam.lcs.mit.edu/**mailman/listinfo/click<https://amsterdam.lcs.mit.edu/mailman/listinfo/click>
>>>
>>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list