[Click] compile error on CVS ver

John Bicket jbicket at amsterdam.lcs.mit.edu
Sun Jan 18 23:27:28 EST 2004


Does including 

#include <elements/grid/sr/srpacket.hh>

make it compile?

--john

  
rt at sinister.com [rt at sinister.com] wrote:
>Error:
>
>make[1]: Entering directory `/root/click-0118/click/userlevel'
>g++ -W -Wall -fno-exceptions -fno-rtti -fvtable-thunks -DHAVE_CONFIG_H
>-I../include -I../include -I. -I..  -DCLICK_USERLEVEL -g -O2 -MD -c
>elements.cc
>In file included from elements.cc:36:
>../elements/grid/sr/inorderqueue.hh: In method `bool
>InOrderQueue::enq(Packet *)':
>../elements/grid/sr/inorderqueue.hh:100: implicit declaration of function
>`int sr_assert(...)'
>make[1]: *** [elements.o] Error 1
>make[1]: Leaving directory `/root/click-0118/click/userlevel'
>make: *** [userlevel] Error 2
>dev:~/click-0118/click#
>
>
>
>configuration options: --enable-grid --enable-wifi
>GCC 2.95.4
>Linux 2.4.20
>Debian 3.0
>
>Do I need a newer version of GCC? I'd hate to think so, GCC 3 produces
>larger executables, which is a problem for me.
>
>Any hints?
>
>Also, I've been trying to shrink the size of the click.o module. I was
>hoping strip -R .comment would work, because the bin is much smaller, but
>it crashes horribly. Other than the small savings in size afforded by
>strip --strip-unneeded, what else is safe to do?
>_______________________________________________
>click mailing list
>click at amsterdam.lcs.mit.edu
>https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list