Hello all, i have taken some code from openssl and it works fine on click- userlevel. Now i am trying to port it , to run on kernel level . In my code i don't use other libraries (i don't use math.h ), just only the libraries that click provides.
so, when i compile it : ./configure --enable-local --disable-userlevel make install at compile time i have only this three Warnings : ======================================== 1] CXX [M] myElement.o /home/dritsos/click/linuxmodule/../elements/local/myElement.cc: In member function ‘virtual int myElement::initialize(ErrorHandler*)’: /home/dritsos/click/linuxmodule/../elements/local/myElement.cc:177:1: warning: the frame size of 1036 bytes is larger than 1024 bytes [-Wframe-larger-than=] 2] CXX [M] pem_lib.o /home/dritsos/click/linuxmodule/../elements/local/pem/pem_lib.cc: In function ‘int PEM_do_header(EVP_CIPHER_INFO*, unsigned char*, long int*, int (*)(char*, int, int, void*), void*)’: /home/dritsos/click/linuxmodule/../elements/local/pem/pem_lib.cc:303:2: warning: the frame size of 1092 bytes is larger than 1024 bytes [-Wframe-larger-than=] 3] Building modules, stage 2. MODPOST 2 modules WARNING: "__floatsidf" [/home/dritsos/click/linuxmodule/click.ko] undefined! WARNING: "__subdf3" [/home/dritsos/click/linuxmodule/click.ko] undefined! WARNING: "__gedf2" [/home/dritsos/click/linuxmodule/click.ko] undefined! WARNING: "__ltdf2" [/home/dritsos/click/linuxmodule/click.ko] undefined! WARNING: "__adddf3" [/home/dritsos/click/linuxmodule/click.ko] undefined! CC /home/dritsos/click/linuxmodule/click.mod.o LD [M] /home/dritsos/click/linuxmodule/click.ko CC /home/dritsos/click/linuxmodule/proclikefs.mod.o LD [M] /home/dritsos/click/linuxmodule/proclikefs.ko make[2]: Leaving directory `/usr/src/linux-headers-3.0.0-12-generic' ======================================================= The compiler ends normaly , BUT when i try to run it : click-install -u test.click it doesn't work and appears this message :: root@dritsos-VirtualBox:~/click/conf# click-install -u test.click insmod: error inserting '/usr/local/lib/click.ko': -1 Unknown symbol in module click-install: '/sbin/insmod /usr/local/lib/click.ko' failed Any idea someone where is the problem ??? thanks in advance _______________________________________________ click mailing list click@amsterdam.lcs.mit.edu https://amsterdam.lcs.mit.edu/mailman/listinfo/click