Re: 11.1: linux/config.h und asm/semaphore.h nicht auffindbar

David Haller <[email protected]> Mon, 28 Jun 2010 17:46:46 +0200
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hallo,

Am Mon, 28 Jun 2010, Ekkard Gerlach schrieb:
>* Philipp Thomas schrieb:
>> On Sun, 27 Jun 2010 18:51:23 +0200, David Haller <[email protected]>
>> wrote:
>> ># cd /lib/modules/$(uname -r)/build
>> ># make cloneconfig
>> ># make modules_prepare
>> >
>> >Erst damit werden die gesuchten Header generiert.
> 
>rex4:/lib/modules/2.6.27.45-0.1-default/build # make cloneconfig
>make -C /usr/src/linux-2.6.27.45-0.1 O=/usr/src/linux-2.6.27.45-0.1-obj/x86_64/default/. cloneconfig
>  HOSTCC  scripts/basic/fixdep
>  HOSTCC  scripts/basic/docproc
>  HOSTCC  scripts/basic/hash
>  GEN     /usr/src/linux-2.6.27.45-0.1-obj/x86_64/default/Makefile
>  HOSTCC  scripts/kconfig/conf.o
>  HOSTCC  scripts/kconfig/kxgettext.o
>  HOSTCC  scripts/kconfig/zconf.tab.o
>  HOSTLD  scripts/kconfig/conf
>Cloning configuration file /proc/config.gz
>#
># configuration written to .config
>#

Gut.

>rex4:/lib/modules/2.6.27.45-0.1-default/build # make modules_prepare
>make -C /usr/src/linux-2.6.27.45-0.1 O=/usr/src/linux-2.6.27.45-0.1-obj/x86_64/default/. modules_prepare
>  GEN     /usr/src/linux-2.6.27.45-0.1-obj/x86_64/default/Makefile
>scripts/kconfig/conf -s arch/x86/Kconfig
>  Using /usr/src/linux-2.6.27.45-0.1 as source for kernel
>  /usr/src/linux-2.6.27.45-0.1 is not clean, please run 'make mrproper'
>  in the '/usr/src/linux-2.6.27.45-0.1' directory.
>make[2]: *** [prepare3] Error 1
>make[1]: *** [sub-make] Error 2
>make: *** [all] Error 2
>
>ein make mrproper, dann cloneconfig, dann modules_prepare bringt
>nichts, es kommt immer wieder der gleiche Fehler.

Hm. Mach mal ein

    make -C /usr/src/linux-2.6.27.45-0.1 mrproper

Eigentlich sieht das alles i.O. aus.

@Philipp: genau dahin zeigt der build symlink ja ;)

-dnh

-- 
We are Linux of Borg. Resistance is futile, Open your source code
and prepare for assimilation.