From: "Вячеслав Диконов" <sdiconov@mail.ru> To: ALT Devel discussion list <devel@altlinux.ru> Subject: Re: [devel] Сборка модулей ядра "для чайников" Date: Wed, 03 Dec 2003 00:56:32 +0300 Message-ID: <1070402191.9337.54.camel@alpha.tirs.ru> (raw) In-Reply-To: <20031202081918.GA1900@wrars-comp.wrarsdomain> В Втр, 02.12.2003, в 11:19, Andrey Rahmatullin пишет: > On Tue, Dec 02, 2003 at 10:49:21AM +0300, Вячеслав Диконов wrote: > > Как в текущем Сизифе гарантированно получить сконфигурированные > > исходники установленного ядра, если я его ставлю из пакета (std-up)? > > Cборка siemens-dvb требует исходник именно используемого системой ядра и > > именно с теми настройками, что применялись во время его сборки. > > apt-get install kernel-headers Нет. > По идее ему должно хватить. Не хватает. По инструкции положено иметь полный и скофигурированный исходник работающего ядра. По крайней мере без make dep ничего не выходит. Если просто распаковать ядро, настроить самостоятельно и сделать "make dep", то соберётся, но в установленное из пакета ядро не загрузится. Если поставить kernel-headers-modules-std-up-2.4.22-alt12, то компиляция драйвера не проходит с жалобами на синтаксис (?). Речь о подддержке DVB карт (цифровое ТВ и Видео) siemens-dvb-0.9.4. Оно было в М2.2, но пропало из Сизифа. Есть нужные программы, которые требуют модули dvb этой версии. Пишет вот это: (Просто настроенные руками исходники этой ошибки не вызывают) make (cd driver; make) /usr/src/linux/scripts/pathdown.sh: line 4: TOPDIR: parameter null or not set make[1]: Entering directory `/usr/src/DVB/driver' DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules) make[2]: Entering directory `/usr/src/linux' make -C /usr/src/DVB/driver CFLAGS="-D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h" MAKING_MODULES=1 modules make[3]: Entering directory `/usr/src/DVB/driver' gcc-2.96 -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -I ../ost/include -I . -D__DVB_PACK__ -g -DUSE_OSD -nostdinc -iwithprefix include -DKBUILD_BASENAME=saa7146_core -DEXPORT_SYMTAB -c saa7146_core.c saa7146_core.c:348: warning: initialization from incompatible pointer type saa7146_core.c:349: warning: missing braces around initializer saa7146_core.c:349: warning: (near initialization for `saa7146_algo.name') saa7146_core.c:349: warning: overflow in implicit constant conversion saa7146_core.c:350: warning: initialization makes integer from pointer without a cast saa7146_core.c:350: initializer element is not computable at load time saa7146_core.c:350: (near initialization for `saa7146_algo.name[1]') saa7146_core.c:351: warning: initialization makes integer from pointer without a cast saa7146_core.c:352: warning: initialization makes integer from pointer without a cast saa7146_core.c:353: warning: initialization makes integer from pointer without a cast saa7146_core.c:354: warning: initialization makes integer from pointer without a cast saa7146_core.c:354: initializer element is not computable at load time saa7146_core.c:354: (near initialization for `saa7146_algo.name[5]') saa7146_core.c:355: warning: initialization makes integer from pointer without a cast saa7146_core.c:355: initializer element is not computable at load time saa7146_core.c:355: (near initialization for `saa7146_algo.name[6]') make[3]: *** [saa7146_core.o] Ошибка 1 make[3]: Leaving directory `/usr/src/DVB/driver' make[2]: *** [_mod_/usr/src/DVB/driver] Ошибка 2 make[2]: Leaving directory `/usr/src/linux' make[1]: *** [here] Ошибка 2 make[1]: Leaving directory `/usr/src/DVB/driver' make: *** [dvb] Ошибка 2
next prev parent reply other threads:[~2003-12-02 21:56 UTC|newest] Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-12-02 7:49 Вячеслав Диконов 2003-12-02 8:19 ` Andrey Rahmatullin 2003-12-02 21:56 ` Вячеслав Диконов [this message] 2003-12-03 9:45 ` Sergey Vlasov 2003-12-04 22:08 ` Вячеслав Диконов 2003-12-05 7:04 ` Sergey Vlasov 2003-12-05 13:01 ` Anton Farygin 2003-12-05 20:54 ` Вячеслав Диконов 2003-12-06 8:29 ` Sergey Vlasov 2003-12-05 12:58 ` Anton Farygin 2003-12-05 19:20 ` Вячеслав Диконов 2003-12-06 8:08 ` Sergey Vlasov 2003-12-07 15:49 ` Anton Farygin 2003-12-07 19:07 ` Alexander Bokovoy 2003-12-08 10:42 ` [devel] modules-init-tools Anton Farygin 2003-12-08 11:08 ` Alexander Bokovoy 2003-12-08 11:53 ` Anton Farygin 2003-12-08 11:54 ` Alexander Bokovoy 2003-12-09 7:33 ` Anton Farygin 2003-12-09 9:47 ` Alexander Bokovoy 2003-12-09 11:21 ` Anton Farygin 2003-12-09 11:17 ` Alexander Bokovoy 2003-12-09 11:44 ` Anton Farygin 2003-12-09 11:48 ` Dmitry V. Levin 2003-12-09 12:05 ` Anton Farygin 2003-12-09 12:29 ` Alexander Bokovoy 2003-12-10 19:00 ` [devel] modules-init-tools Michael Shigorin 2003-12-11 5:05 ` Alexey I. Froloff 2003-12-11 7:44 ` Michael Shigorin 2003-12-07 18:29 ` [devel] Сборка модулей ядра "для чайников" Alexey I. Froloff 2003-12-07 19:48 ` Вячеслав Диконов 2003-12-07 21:28 ` Alexey I. Froloff 2003-12-08 10:44 ` Anton Farygin 2003-12-08 15:48 ` Вячеслав Диконов 2003-12-09 19:37 ` Alexey I. Froloff 2003-12-10 22:45 ` Вячеслав Диконов 2003-12-11 5:07 ` Alexey I. Froloff 2003-12-10 19:01 ` [devel] [JT] " Michael Shigorin 2003-12-11 5:13 ` Alexey I. Froloff 2003-12-02 8:30 ` [devel] " Sergey Vlasov
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=1070402191.9337.54.camel@alpha.tirs.ru \ --to=sdiconov@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