[so2] Problema compilare modul

Vlad Dogaru ddvlad at herebedragons.ro
Sat Mar 8 17:24:55 EET 2014


On 3/8/2014 4:43 PM, Evelina wrote:
> Daniel Baluta <daniel.baluta at ...> writes:
> 
>>
>> On Sat, Mar 8, 2014 at 3:55 PM, Evelina Dumitrescu
>> <evelina_dumitrescu <at> yahoo.com> wrote:
>>> Salut,
>>>
>>> make -C /usr/src/linux-so2 M=`pwd`
>>> make[1]: Entering directory `/home/user/Downloads/linux-so2'
>>>   LD      /home/user/Downloads/qemu-vm/fsimg/root/built-in.o
>>>   CC [M]  /home/user/Downloads/qemu-vm/fsimg/root/list.o
>>>
>>> /lib64/ld-linux-x86-64.so.2: No such file or directory
>>> make[2]: *** [/home/user/Downloads/qemu-vm/fsimg/root/list.o] Error 255
>>> make[1]: *** [_module_/home/user/Downloads/qemu-vm/fsimg/root] Error 2
>>> make[1]: Leaving directory `/home/user/Downloads/linux-so2'
>>> make: *** [kbuild] Error 2
>>
>> Dubios! :)
>>
>> Ce zice uname -a pe maşina unde compilezi?
>> Cum arată variabila KDIR din Makefile.
>>
>> Pune pe pastebin.com outputul comenzii make V=1. Nu uita sa dai make
>> clean inainte.
>>
>> thanks,
>> Daniel.
> 
> Outputurile comenzilor sunt:
> 
> make V=1 
> http://pastebin.com/UfyvMmKs
> 
> uname -a 
> Linux mintvm 3.13.0-031300-generic #201401192235 SMP Mon Jan 20 03:46:44 UTC
> 2014 i686 i686 i686 GNU/Linux
> 
> KDIR = /usr/src/linux-so2

Încearcă să rulezi comanda următoare:
	make -B -C /usr/src/linux-so2 modules_prepare

Apoi rebuild-ează modulul.

Thanks,
Vlad



More information about the so2 mailing list