From: Yuri Khachaturyan <yukh@yukh.ru> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: [sisyphus] Не получается собрать kernel-sources-ipp2p Date: Fri, 9 Sep 2011 14:55:18 +0400 Message-ID: <CAA8E9_tYUg7iivySaPvDaAgcFnuJ20XKUBBo_ToMxZs42J_DFA@mail.gmail.com> (raw) Добрый день! Пытаюсь собрать kernel-sources-ipp2p для ядра 2.6.32-ovz-smp-alt8 Установил следующие пакеты: kernel-image-ovz-smp-2.6.32-alt8 kernel-headers-modules-ovz-smp-2.6.32-alt8 kernel-headers-ovz-smp-2.6.32-alt8 kernel-source-2.6.32-1.0.0-alt1 kernel-source-ipp2p-0.8.2-alt1 Далее: [root@gw ~]# cd /usr/src/kernel/sources/kernel-source-ipp2p-0.8.2 [root@gw kernel-source-ipp2p-0.8.2]# make make -C /lib/modules/2.6.32-ovz-smp-alt8/build SUBDIRS=/usr/src/kernel/sources/kernel-source-ipp2p-0.8.2 modules make[1]: Entering directory `/usr/src/linux-2.6.32-ovz-smp-alt8' CC [M] /usr/src/kernel/sources/kernel-source-ipp2p-0.8.2/ipt_ipp2p.o /usr/src/kernel/sources/kernel-source-ipp2p-0.8.2/ipt_ipp2p.c: In function 'match': /usr/src/kernel/sources/kernel-source-ipp2p-0.8.2/ipt_ipp2p.c:751: error: 'const struct sk_buff' has no member named 'nh' /usr/src/kernel/sources/kernel-source-ipp2p-0.8.2/ipt_ipp2p.c: At top level: /usr/src/kernel/sources/kernel-source-ipp2p-0.8.2/ipt_ipp2p.c:871: warning: initialization from incompatible pointer type /usr/src/kernel/sources/kernel-source-ipp2p-0.8.2/ipt_ipp2p.c:874: warning: initialization from incompatible pointer type /usr/src/kernel/sources/kernel-source-ipp2p-0.8.2/ipt_ipp2p.c: In function 'init': /usr/src/kernel/sources/kernel-source-ipp2p-0.8.2/ipt_ipp2p.c:883: error: implicit declaration of function 'ipt_register_match' /usr/src/kernel/sources/kernel-source-ipp2p-0.8.2/ipt_ipp2p.c: In function 'fini': /usr/src/kernel/sources/kernel-source-ipp2p-0.8.2/ipt_ipp2p.c:888: error: implicit declaration of function 'ipt_unregister_match' make[2]: *** [/usr/src/kernel/sources/kernel-source-ipp2p-0.8.2/ipt_ipp2p.o] Error 1 make[1]: *** [_module_/usr/src/kernel/sources/kernel-source-ipp2p-0.8.2] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.32-ovz-smp-alt8' make: *** [ipt_ipp2p.ko] Error 2 Погуглив, наткнулся на статью: http://unixhome.org.ua/blog/notes/304.html Скачал патченную версию, в Makefile поменял путь к kernel-headers: IPTABLES_SRC = /usr/src/linux-2.6.32-ovz-smp После чего все собралось. Далее копирую все как указано в статье. depmod -a А вот далее: # modprobe ipt_ipp2p FATAL: Error inserting ipt_ipp2p (/lib/modules/2.6.32-ovz-smp-alt8/kernel/net/ipv4/netfilter/ipt_ipp2p.ko): Invalid module format Где может быть ошибка в моих действиях и как заставить этот модуль работать? -- С уважением, Хачатурян Юрий (yukh@yukh.ru)
reply other threads:[~2011-09-09 10:55 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAA8E9_tYUg7iivySaPvDaAgcFnuJ20XKUBBo_ToMxZs42J_DFA@mail.gmail.com \ --to=yukh@yukh.ru \ --cc=sisyphus@lists.altlinux.org \ /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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git