From: "Илья Евсеев " <ilya_evseev@mail.ru> To: devel@altlinux.ru Subject: [devel] Kernel headers Date: Mon, 13 Sep 2004 18:42:24 +0400 Message-ID: <E1C6s2C-000BxM-00.ilya_evseev-mail-ru@f6.mail.ru> (raw) Всем привет! В дистрибутиве идут два пакета с заголовками ядра: glibc-kernheaders и kernel24-headers. Один владеет каталогом /usr/include/linux-default, второй - /usr/lib/kernel/2.4.*/include. Соответственно, симлинк /usr/inlcude/linux указывает на один из них, а переключать его надо утилитой adjust_kernel_headers. Это всё я понял. Однако непонятно, зачем вообще нужен glibc-kernheaders? Это часть проекта GLIBC или часть разработки Linux kernel? Допустим, это описание интерфейса к _произвольному_ ядру. Значит ли это, что все программы с "#include <linux/..." теперь должны строиться только с ним? Что они должны содержать в BuildPreReq? kernel-headers или glibc-kernheaders? И кто решил, что некоторые файлы в нём вместо привычного содержимого должны включать userspace.h, который говорит, что использовать их вне ядра нельзя? В результате ifpromisc из состава chkrootkit нормально компилируется в живой системе, где есть kernel24-headers, но останавливается в хэшере, где есть только glibc-kernheaders. Хотя я это исправил, вопросы остались. С уважением, Илья Евсеев
next reply other threads:[~2004-09-13 14:42 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-09-13 14:42 Илья Евсеев [this message] 2004-09-14 5:53 ` [devel] " Michael Shigorin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=E1C6s2C-000BxM-00.ilya_evseev-mail-ru@f6.mail.ru \ --to=ilya_evseev@mail.ru \ --cc=devel@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git