many compile errors on etc/samplepackage

Hamid Farhadi <[email protected]> Mon, 07 Oct 2013 21:17:22 +0900
Newsgroups gmane.network.routing.click
Message-ID <[email protected]>
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 =91Element* beetlemonkey(uintptr_t)=92:
upackage.cc:828:25: error: expected type-specifier before =91MyNothingEleme=
nt=92
upackage.cc:828:25: error: cannot convert =91int*=92 to =91Element*=92 in r=
eturn
upackage.cc:828:25: error: expected =91;=92 before =91MyNothingElement=92
upackage.cc:828:25: error: =91MyNothingElement=92 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