From: Denis Smirnov <mithraen@freesource.info> To: Sergey Vlasov <vsu@altlinux.ru> Cc: devel@altlinux.ru Subject: Re: [devel] /usr/include/linux/ Date: Sun, 14 Aug 2005 14:27:20 +0400 Message-ID: <42FF1C88.5020706@freesource.info> (raw) In-Reply-To: <20050814081432.GA15324@procyon.home> Sergey Vlasov wrote: >>Собираемый мною пакет zaptel-devel хочет класть заголовочные файлы в >>/usr/include/linux/, который является симлинком. Некоторые другие >>собираемые мноё пакеты (в том числе asterisk) ищут его именно так. >> >> >Т.е., они рассчитывают, что /usr/include/linux показывает на заголовки >ядра, к которому приложен их патч? Вообще говоря, это неправильно. > > Там даже не патч, там вполне самостоятельный модуль. И, насколько я понял, во время сборки эти заголовки не меняются. Это и логично -- потому что с этими заголовками должны собираться userspace приложения, не зависимые от версий ядра и/или модулей. >>Сейчас я решил это переносом zaptel.h в /usr/include, и соответственно >>прохожусь subst по *.c и Makefile. >> >>Это правильно? >> >> >Можно сделать /usr/include/zaptel/linux и собирать с >-I/usr/include/zaptel - возможно, так придётся править меньше. > > Хорошая мысль, мне нравится. В следующей сборке так и сделаю (сейчас-то я выкрутися subst'ами).
next prev parent reply other threads:[~2005-08-14 10:27 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-08-14 7:36 Денис Смирнов 2005-08-14 8:14 ` Sergey Vlasov 2005-08-14 10:27 ` Denis Smirnov [this message] 2005-08-15 3:49 ` Ivan Fedorov
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=42FF1C88.5020706@freesource.info \ --to=mithraen@freesource.info \ --cc=devel@altlinux.ru \ --cc=vsu@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