[Click] many compile errors on etc/samplepackage

Eddie Kohler ekohler at gmail.com
Sun Nov 10 22:54:58 EST 2013


Hi Hamid,

Thanks for this report. I have checked in a fix that I believe would
allow you to compile the package for linuxmodule again. That said, if
you don't need linuxmodule, then don't compile it.

Eddie


On Tue, Nov 5, 2013 at 6:55 AM, Hamid Farhadi
<qq119512 at iii.u-tokyo.ac.jp> wrote:
> for archiving purposes:
> using --disable-linuxmodule for click configuration plus using the
> default --prefix=/usr/local in package configuration solved the issue
>
> --H.
>
> On 10/8/13 1:02 PM, Hamid Farhadi wrote:
>> Sorry for my bad explanation,
>> ofcourse i can comment out that line like previous errors and finish the
>> compilation. but I am saying the compilation scripts look old. am I right?
>> also the Click ./configure seems does not accept --with-PACKAGE switch
>> or maybe I do not know how to use it.
>>
>>
>> any idea please?
>> --Hamid
>>
>> On 10/7/13 9:17 PM, Hamid Farhadi wrote:
>>> Hi
>>>
>>> I tried compiling etc/samplepackage but it fires many errors on many
>>> different elements in share/click/src ?
>>>
>>> I just run autoconfig in the folder then ./configure and make which goes
>>> through compiling all the elements. I know at least a couple of them
>>> that work in the Click main installation without problem. I kept
>>> deleting elements woth errors till I got this error:
>>>
>>> /usr/local/bin/click-buildtool -C /usr/local elem2package  sample <
>>> uelements.conf > upackage.cc
>>>      CXX upackage.cc
>>> upackage.cc: In function ‘Element* beetlemonkey(uintptr_t)’:
>>> upackage.cc:828:25: error: expected type-specifier before ‘MyNothingElement’
>>> upackage.cc:828:25: error: cannot convert ‘int*’ to ‘Element*’ in return
>>> upackage.cc:828:25: error: expected ‘;’ before ‘MyNothingElement’
>>> upackage.cc:828:25: error: ‘MyNothingElement’ was not declared in this scope
>>> make[1]: *** [upackage.uo] Error 1
>>> make[1]: *** Waiting for unfinished jobs....
>>> make[1]: Leaving directory
>>> `/home/yilong/Desktop/kohler-click-d3e8e31/etc/samplepackage'
>>> make: *** [sample.uo] Error 2
>>>
>>> Whats wrong please?
>>>
>>>
>>> --Hamid
>>>
>>>
>>>
>>> _______________________________________________
>>> click mailing list
>>> click at amsterdam.lcs.mit.edu
>>> 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
>>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list