[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling MPlayer 3.0rc4 on Debian unstable

Andrei Sosnin <demonsly@hot.ee> writes:

> Причем тут ядро-то?! :( Вроде бы у меня заголовочных файлов от ядра
> Линукс вообще в системе нигде не имеется (из тех, которые обычно
> дополнительно инсталлируются)... Это, наверное, ошибка?..



/usr/include/linux and /usr/include/asm (for the files <linux/*.h> and
<asm/*.h>) should be symbolic links to the directories
linux/include/linux and linux/include/asm in the kernel source
distribution. You need to install these if you plan to do any
non-trivial development; they are not just there for compiling the
kernel. You might find also that you need to do make config in the
kernel directory after unpacking the sources. Many files depend on
<linux/autoconf.h> which otherwise may not exist, and in some kernel
versions asm is a symbolic link itself and only created at make config
time. So, if you unpack your kernel sources under /usr/src/linux,

$ cd /usr/src/linux
$ su
# make config
[answer the questions.  Unless you're going to go on and build the kernel
it doesn't matter _too_ much what you say]
# cd /usr/include
# ln -s ../src/linux/include/linux .
# ln -s ../src/linux/include/asm .


Если ядро - бинарники из дебиан-архива, то, как я понимаю, нужно
соответствующие kernel-headers инсталлировать.

Mikolaj Golub, Ph.D. Student                   : :    
Institute of Molecular Physics PAS          ,,!|;|!,, 
ul. Smoluchowskiego 17, PL 60-179, Poznan   `^:|'|:^` 
Phone: +(4861)8695184 Fax: +(4861)8684524      ` '    

Reply to: