"Проблемы со сборкой ядра" |
Сообщение от a1 (ok) on 20-Ноя-07, 10:31 |
Добрый день.у меня возникла следующая проблема.У меня есть спутниковый ресивер Skystar2S.rev2.7.И я хотел собрать драйвера для этой карточки в Mandriva 2007.Ядра 2.6.17 и 2.6.22.9.Исходники взяты с http://linuxtv.org/hg/~pb/v4l-dvb.skystar2.rev27/archive/ed59d7932fc8.tar.gz. Я делал сборку так как написано в инструкции.Но при сборке выскакивают следующие ошибки: [root@localhost b2c2]# [root@localhost linux-2.6.22.9]# make CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh CHK include/linux/compile.h CC [M] drivers/media/dvb/b2c2/flexcop-pci.o In file included from drivers/media/dvb/b2c2/flexcop-pci.c:10: drivers/media/dvb/b2c2/flexcop-common.h:13:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/b2c2/flexcop-common.h:13:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/b2c2/flexcop-common.h:13:40: error: missing binary operator before token "(" In file included from drivers/media/dvb/b2c2/flexcop-common.h:19, from drivers/media/dvb/b2c2/flexcop-pci.c:10: drivers/media/dvb/dvb-core/dmxdev.h:34:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/dvb-core/dmxdev.h:34:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/dvb-core/dmxdev.h:34:40: error: missing binary operator before token "(" drivers/media/dvb/dvb-core/dmxdev.h:79:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/dvb-core/dmxdev.h:79:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/dvb-core/dmxdev.h:79:40: error: missing binary operator before token "(" drivers/media/dvb/dvb-core/dmxdev.h:109:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/dvb-core/dmxdev.h:109:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/dvb-core/dmxdev.h:109:40: error: missing binary operator before token "(" In file included from drivers/media/dvb/b2c2/flexcop-common.h:20, from drivers/media/dvb/b2c2/flexcop-pci.c:10: drivers/media/dvb/dvb-core/dvb_demux.h:30:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/dvb-core/dvb_demux.h:30:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/dvb-core/dvb_demux.h:30:40: error: missing binary operator before token "(" drivers/media/dvb/dvb-core/dvb_demux.h:131:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/dvb-core/dvb_demux.h:131:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/dvb-core/dvb_demux.h:131:40: error: missing binary operator before token "(" In file included from drivers/media/dvb/b2c2/flexcop-common.h:23, from drivers/media/dvb/b2c2/flexcop-pci.c:10: drivers/media/dvb/dvb-core/dvb_frontend.h:38:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/dvb-core/dvb_frontend.h:38:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/dvb-core/dvb_frontend.h:38:40: error: missing binary operator before token "(" drivers/media/dvb/dvb-core/dvb_frontend.h:164:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/dvb-core/dvb_frontend.h:164:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/dvb-core/dvb_frontend.h:164:40: error: missing binary operator before token "(" In file included from drivers/media/dvb/b2c2/flexcop-pci.c:10: drivers/media/dvb/b2c2/flexcop-common.h:87:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/b2c2/flexcop-common.h:87:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/b2c2/flexcop-common.h:87:40: error: missing binary operator before token "(" drivers/media/dvb/b2c2/flexcop-pci.c:66:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/b2c2/flexcop-pci.c:66:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/b2c2/flexcop-pci.c:66:40: error: missing binary operator before token "(" drivers/media/dvb/b2c2/flexcop-pci.c:104:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/b2c2/flexcop-pci.c:104:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/b2c2/flexcop-pci.c:104:40: error: missing binary operator before token "(" drivers/media/dvb/b2c2/flexcop-pci.c:110:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/b2c2/flexcop-pci.c:110:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/b2c2/flexcop-pci.c:110:40: error: missing binary operator before token "(" drivers/media/dvb/b2c2/flexcop-pci.c:138:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/b2c2/flexcop-pci.c:138:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/b2c2/flexcop-pci.c:138:40: error: missing binary operator before token "(" drivers/media/dvb/b2c2/flexcop-pci.c:392:5: warning: "LINUX_VERSION_CODE" is not defined drivers/media/dvb/b2c2/flexcop-pci.c:392:26: warning: "KERNEL_VERSION" is not defined drivers/media/dvb/b2c2/flexcop-pci.c:392:40: error: missing binary operator before token "(" С чем это может быть связано.И как можно решить эти проблемы .Заранее спасибо
|
Высказать мнение | Ответить | Правка | Cообщить модератору |