Roman, The problem is not with argument parsing, it's with symbol truncation. I may work on a fix long term.
Faraz, The easiest fix is simply to take the unibo_qos package's elements and copy them into the click/elements/local directory. Configure Click with --enable-local. Then you should get those elements without having to load a separate package. Eddie On 5/9/11 8:51 PM, Roman Chertov wrote: > Faraz, > > Look at Eddie's emails regarding the new commit which changes how the > element arguments are parsed. You can try to compile with the version > from yesterday before the argument parsing changes were committed to the > mainline. > > Roman > > On 05/09/2011 07:36 PM, Faraz Haider wrote: >> Hello, >> >> We are trying to build and use the RTP classifier element which is part of >> the unibo_qos package. >> >> The unibo_qos package is from the click-packages-1.8.0. >> >> The click version is the latest from GIT. >> >> The system is Ubuntu 10.10 with kernel 2.6.35-28-generic. >> >> * WARNING MESSAGES RECEIVED AT BUILD/COMPILE TIME OF UNIBO_QOS WERE:* >> -------------------------------------------------------------------------- >> /usr/local/bin/click-buildtool kversion> >> /home/athar/Downloads/click-packages-1.8.0/unibo_qos/package/kversion.c >> CC [M] kversion.ko >> /home/athar/Downloads/click-packages-1.8.0/unibo_qos/package/kversion.c:4: >> note: #pragma message: >> !!! >> !!! Your kernel was compiled with CONFIG_MODVERSIONS. >> !!! Click packages are often incompatible with CONFIG_MODVERSIONS. >> !!! You may need to recompile your kernel and rebuild Click. >> !!! >> LD [M] >> /home/athar/Downloads/click-packages-1.8.0/unibo_qos/package/unibo_qos.o >> Building modules, stage 2. >> MODPOST 1 modules >> CC >> /home/athar/Downloads/click-packages-1.8.0/unibo_qos/package/unibo_qos.mod.o >> /home/athar/Downloads/click-packages-1.8.0/unibo_qos/package/unibo_qos.mod.c:53: >> warning: initializer-string for array of chars is too long >> /home/athar/Downloads/click-packages-1.8.0/unibo_qos/package/unibo_qos.mod.c:53: >> warning: (near initialization for ?____versions[33].name?) >> /home/athar/Downloads/click-packages-1.8.0/unibo_qos/package/unibo_qos.mod.c:54: >> warning: initializer-string for array of chars is too long >> /home/athar/Downloads/click-packages-1.8.0/unibo_qos/package/unibo_qos.mod.c:54: >> warning: (near initialization for ?____versions[34].name?) >> LD [M] >> /home/athar/Downloads/click-packages-1.8.0/unibo_qos/package/unibo_qos.ko >> make[3]: Leaving directory `/usr/src/linux-headers-2.6.35-28-generic' >> make[2]: Leaving directory >> `/home/athar/Downloads/click-packages-1.8.0/unibo_qos/package' >> make[1]: Leaving directory >> `/home/athar/Downloads/click-packages-1.8.0/unibo_qos/package' >> -------------------------------------------------------------------------- >> * ERROR MESSAGE RECEIVED ON COMAMND LINE WHEN LOADING UNIBO_QOS:* >> -------------------------------------------------------------------------- >> sudo click-install /path/to/bridge.click >> insmod: error inserting '/usr/local/lib/unibo_qos.ko': -1 Invalid parameters >> click-install: '/sbin/insmod /usr/local/lib/unibo_qos.ko' failed >> -------------------------------------------------------------------------- >> * ERROR MESSAGE VIEWED FROM DMESG:* >> -------------------------------------------------------------------------- >> [400112.490560] unibo_qos: no symbol version for >> _Z12cp_va_kparseRK6VectorI6StringEPK7ElementP12ErrorHandlerz >> [400112.490568] unibo_qos: Unknown symbol >> _Z12cp_va_kparseRK6VectorI6StringEPK7ElementP12ErrorHandlerz (err -22) >> [400112.490826] unibo_qos: no symbol version for >> _ZN7Element16live_reconfigureER6VectorI6StringEP12ErrorHandler >> [400112.490831] unibo_qos: Unknown symbol >> _ZN7Element16live_reconfigureER6VectorI6StringEP12ErrorHandler (err -22) >> -------------------------------------------------------------------------- >> Any help in resolving this problem will be appreciated. >> >> Thanks. >> >> Faraz Haider >> _______________________________________________ >> click mailing list >> [email protected] >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click >> > > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
