[Click] Loading traffic packets from file

Paolo Pisati paolo.pisati at iit.cnr.it
Thu May 13 16:17:02 EDT 2004


Hi guys,

I was modifying InfiniteSource to make it load traffic packets from a
previous generated file.
Unfortunately, as soon as i compile my own InfiniteSource class i got
these messages:

infinitesource.o: In function `InfiniteSource::class_name(void) const':
/home/flag/src/click/userlevel/../elements/standard/infinitesource.cc(.text+0xd1):  
undefined reference to `ios virtual table'
/home/flag/src/click/userlevel/../elements/standard/infinitesource.cc(.text+0x120):  
undefined reference to `istream::ios virtual table'
/home/flag/src/click/userlevel/../elements/standard/infinitesource.cc(.text+0x137):  
undefined reference to `ifstream::ios virtual table'
gmake[1]: *** [click] Error 1
gmake[1]: Leaving directory `/usr/home/flag/src/click/userlevel'
gmake: *** [userlevel] Error 2

The culprit seems to be an ifstream member i added to the Infinitesource  
header:

actually i'm not a C++ guru at all, but the stream library SHOULD be  
linked automatically,
isn't it?
If not, do you have any idea how i can achieve that?

bye

Paolo

p.s. This time i read the docs and i couldn't find anything  
interesting...unfortunately... =P

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


More information about the click mailing list