[Click] compile error on CVS ver

rt at sinister.com rt at sinister.com
Sun Jan 18 23:50:26 EST 2004



On Sun, 18 Jan 2004, John Bicket wrote:

> Does including
>
> #include <elements/grid/sr/srpacket.hh>
>
> make it compile?

Ineeded it does! thanks for record-breaking bug fixing!

There are some non-fatal warnings later in the compilation, for instance:


g++-3.3 -DHAVE_CONFIG_H -I../../include -I../../include -I. -DCLICK_TOOL
-g -O2  -c ../../lib/ipaddress.cc
/bin/mv: cannot stat `ipaddress.d': No such file or directory
make[2]: [ipaddress.o] Error 1 (ignored)



> --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
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list