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

Josh J <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <CAN4Gn12RxsLEgkZAWOnr5UKfWpfe_88FqaBY8J0+5GqOWNBEqw@mail.gmail.com>
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 <[email protected]> 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<[email protected]>  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<[email protected]>  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<[email protected]>   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
>>>>> [email protected]
>>>>> 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
>> [email protected]
>> https://amsterdam.lcs.mit.edu/**mailman/listinfo/click<https://amsterdam.lcs.mit.edu/mailman/listinfo/click>
>>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.