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

[debian-users:17156] Re: kernel-headers?



At Sat, 31 Jul 1999 15:08:12 +0900,
Yuusuke Tahara <m5021212@xxxxxxxxxxxx> wrote:

> potato 環境㧠/usr/include/linux ãªã©ã¯ã©ã†ãªã£ã¦ã„ã‚‹ã®ãŒæ­£ã—ã„ã®ã§ã—ょ
> ã†ã‹ï¼Ÿ

ãŸã¯ã‚‰ã•ã‚“ã®ç’°å¢ƒã§æ­£ã—ã„ã®ã§ã¯ã€‚

> /usr/include/linux/* 㯠libc6-dev ã«å«ã¾ã‚Œã¦ã„ã¾ã™ãŒï¼Œmodversions.h
> ãªã©ã¯ kernel-headers-* ã«å«ã¾ã‚Œã¦ã„㦠(ã‚‚ã¡ã‚ã‚“ libc6-dev ã«ã¯å«ã¾ã‚Œ
> ã¦ã„ãªã„) /usr/src/kernel-headers-*/include/linux/modversions.h
> ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¾ã™ï¼Žã¨ã„ã†ã“ã¨ã¯ï¼Œkernel-headers-* をインストール
> ã™ã‚‹ã¨ /usr/include/linux -> /usr/src/kernel-headers-*/include/linux
> ã«ãƒªãƒ³ã‚¯ãŒå¼µã‚‰ã‚Œã‚‹ã‚ˆã†ãªæ°—ãŒã™ã‚‹ã®ã§ã™ãŒç§ã®ãƒžã‚·ãƒ³ã¯ãã†ãªã£ã¦ã„ã¾ã›ã‚“.

modversions.h ãªã©ãŒå¿…è¦ã«ãªã‚‹(kernel version ã«ä¾å­˜ã™ã‚‹)
ã‚‚ã®ã‚’コンパイルã™ã‚‹å ´åˆã«ã¯ã€Makefile ã® CFLAGS ã‚ãŸã‚Šã‚’
ã„ã˜ã£ã¦

gcc -I/usr/src/kernel-headers-2.2.10-ac12 ...

ã¨ã„ã†ãµã†ã«ã™ã‚‹ã€ã¨ã„ã†ã®ãŒã©ã†ã‚„ら正ã—ã„よã†ã§ã™ã€‚

kernel version ã«ä¾å­˜ã—ãªã„普通ã®ã‚¢ãƒ—リケーションをコンパイル
ã™ã‚‹å ´åˆã«ã¯ libc-dev ã«å«ã¾ã‚Œã¦ã„ã‚‹ /usr/include/linux 以下を
使ã£ã¦ libc を作æˆã—ãŸç’°å¢ƒã«åˆã‚ã›ã¦ã‚³ãƒ³ãƒ‘イルã™ã‚‹ã€ã¨ã€‚

> kernel-package ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¯ 6.21 ã§ã™ï¼Ž
> ii  kernel-package  6.21           Debian Linux kernel package build scripts.

--rootcmd fakeroot 使ãˆã¦ã¾ã™ï¼Ÿ

-- 
大野 修一