[pso] -1

Alin Popescu alinpopescu at live.com
Mon Mar 22 11:55:54 EET 2010


Imi da eroare la inserarea modulului. Am compilat cu -Wall si nu apare  
nici o eroare si nici un warning. Problema apare cand folosesc functia  
find_vpid definita in linux/pid.h, deja inclus in sci.c. Any ideas?

On Mon, 22 Mar 2010 11:47:11 +0200, Alin Popescu <alinpopescu at live.com>  
wrote:

>
> spook ~ # make clean && make && insmod sci.ko
> make -C /lib/modules/`uname -r`/build M=`pwd` clean
> make[1]: Entering directory `/usr/src/linux-2.6.31.6'
>   CLEAN /root/tema1//.tmp_versions
>   CLEAN /root/tema1//Module.symvers /root/tema1//Module.markers
> /root/tema1//modules.order
> make[1]: Leaving directory `/usr/src/linux-2.6.31.6'
> make -C /lib/modules/`uname -r`/build M=`pwd`
> make[1]: Entering directory `/usr/src/linux-2.6.31.6'
>   LD /root/tema1/built-in.o
>   CC [M] /root/tema1/sci.o
>   Building modules, stage 2.
>   MODPOST 1 modules
>   CC /root/tema1/sci.mod.o
>   LD [M] /root/tema1/sci.ko
> make[1]: Leaving directory `/usr/src/linux-2.6.31.6'
>
> insmod: error inserting 'sci.ko': -1 Unknown symbol in module
>




More information about the pso mailing list