[Click] Tiny bug in elements/analysis/storeudptimeseqrecord (with tiny patch)

Roman Chertov rchertov at cs.ucsb.edu
Fri Dec 3 17:24:42 EST 2010


Thanks, I have committed this change to the mainline.

Roman


On Wed, 01 Dec 2010 16:19:24 +0100 Ruben Merz <ruben at net.t-labs.tu-berlin.de>
wrote

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Hi,
> 
> The attached patch fixes a compilation issue I had today on my OSX
> 10.6.5 machine.
> 
> My configure stanza was:
> 
> click config.status 1.8.0
> configured by ./configure, generated by GNU Autoconf 2.64,
>   with options "'--enable-local' '--enable-wifi' '--enable-analysis'
> '--disable-linuxmodule' '--enable-nsclick'"
> 
> And the error was:
> 
>   CXX ../elements/analysis/storeudptimeseqrecord.cc
> In file included from ../elements/analysis/storeudptimeseqrecord.cc:17:
> ../elements/analysis/storeudptimeseqrecord.hh:77: error: expected
> class-name before ?{? token
> ../elements/analysis/storeudptimeseqrecord.hh:86: error: ?Vector? has
> not been declared
> ../elements/analysis/storeudptimeseqrecord.hh:86: error: expected ?,? or
> ?...? before ?<? token
> ../elements/analysis/storeudptimeseqrecord.hh:88: error: ISO C++ forbids
> declaration of ?Packet? with no type
> ../elements/analysis/storeudptimeseqrecord.hh:88: error: expected ?;?
> before ?*? token
> ../elements/analysis/storeudptimeseqrecord.hh:104: error: ?String? does
> not name a type
> ../elements/analysis/storeudptimeseqrecord.hh:105: error: expected ?,?
> or ?...? before ?&? token
> ../elements/analysis/storeudptimeseqrecord.hh:105: error: ISO C++
> forbids declaration of ?String? with no type
> ../elements/analysis/storeudptimeseqrecord.hh: In member function ?const
> char* StoreUDPTimeSeqRecord::port_count() const?:
> ../elements/analysis/storeudptimeseqrecord.hh:82: error: ?PORTS_1_1? was
> not declared in this scope
> ../elements/analysis/storeudptimeseqrecord.hh: In member function ?const
> char* StoreUDPTimeSeqRecord::processing() const?:
> ../elements/analysis/storeudptimeseqrecord.hh:83: error: ?AGNOSTIC? was
> not declared in this scope
> ../elements/analysis/storeudptimeseqrecord.cc: At global scope:
> ../elements/analysis/storeudptimeseqrecord.cc:35: error: definition of
> ?void StoreUDPTimeSeqRecord::StoreUDPTimeSeqRecord()? is not in
> namespace enclosing ?StoreUDPTimeSeqRecord?
> ../elements/analysis/storeudptimeseqrecord.cc:44: error: definition of
> ?StoreUDPTimeSeqRecord::configure? is not in namespace enclosing
> ?StoreUDPTimeSeqRecord?
> ../elements/analysis/storeudptimeseqrecord.cc:44: error: ?int
> StoreUDPTimeSeqRecord::configure? is not a static member of ?class
> StoreUDPTimeSeqRecord?
> ../elements/analysis/storeudptimeseqrecord.cc:44: error: ?Vector? was
> not declared in this scope
> ../elements/analysis/storeudptimeseqrecord.cc:44: error: ?String? was
> not declared in this scope
> ../elements/analysis/storeudptimeseqrecord.cc:44: error: ?conf? was not
> declared in this scope
> ../elements/analysis/storeudptimeseqrecord.cc:44: error: ?ErrorHandler?
> was not declared in this scope
> ../elements/analysis/storeudptimeseqrecord.cc:44: error: ?errh? was not
> declared in this scope
> ../elements/analysis/storeudptimeseqrecord.cc:44: error: initializer
> expression list treated as compound expression
> ../elements/analysis/storeudptimeseqrecord.cc:45: error: expected ?,? or
> ?;? before ?{? token
> ../elements/analysis/storeudptimeseqrecord.cc:57: error: definition of
> ?StoreUDPTimeSeqRecord::simple_action? is not in namespace enclosing
> ?StoreUDPTimeSeqRecord?
> ../elements/analysis/storeudptimeseqrecord.cc:57: error: ?Click::Packet*
> StoreUDPTimeSeqRecord::simple_action? is not a static member of ?class
> StoreUDPTimeSeqRecord?
> ../elements/analysis/storeudptimeseqrecord.cc:57: error: ?Packet? was
> not declared in this scope
> ../elements/analysis/storeudptimeseqrecord.cc:57: error: ?packet? was
> not declared in this scope
> ../elements/analysis/storeudptimeseqrecord.cc:58: error: expected ?,? or
> ?;? before ?{? token
> ../elements/analysis/storeudptimeseqrecord.cc:169: error: expected `}'
> at end of input
> make[1]: *** [storeudptimeseqrecord.o] Error 1
> make: *** [ns] Error 2
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iQEcBAEBAgAGBQJM9md7AAoJEIem9YkUyRjt8KgH/2l8z6utshwYjE+jqsX0QedS
> Uf41UpmcD+G5c6MpiN1K4/89Mo0JheUXdkHyFG+932MCKEdxf5RoY/mApv4tORQr
> gHGUwv1HFfJbNJrcf5rjrh51sR2PAnlpiWA3+oKHnfiLDD7Oe38EQx5D4A4jMWn3
> ONiStW7WLeE12szb5/314a7Sh7nwnQAEoHZ7lImlicUu6hHxNWDzAe+VE4DHcEld
> sEhnJu82zm3uLbkjEaAWJIDWxpjqzLcRAtHlMktWjBi6tV1BUvfmsP6Lm4PWXyYq
> 14LX7r/R+QphI6bJtbuEKHcVQUsMhwKwFzRDaF/ybnFFRb1jwz7479bLKtcC1R0=
> =mX70
> -----END PGP SIGNATURE-----




More information about the click mailing list