[Click] Problem in building and using RTPClassifier

Cliff Frey cliff at meraki.com
Tue May 10 02:00:53 EDT 2011


I believe that this is telling you the error:
  !!! 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.

Specifically, click cannot be loaded into recent linux kernels that
are compiled with CONFIG_MODVERSIONS, because click ends up using
symbols that are too long.  There was a recent message about this to
the click mailing list.

Cliff

On Mon, May 9, 2011 at 7:36 PM, Faraz Haider <haider.faraz at gmail.com> 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
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list