From: "Aleksey P. Karelin" <karelin-ap@mail.ru> To: hardware@altlinux.ru Subject: [Hardware] CP-114 Date: Thu, 31 Mar 2005 10:18:24 +0400 Message-ID: <424B9630.80005@mail.ru> (raw) Всем добрый день! Пытаюсь установить драйвера для платы расширения COM-портов MOXA CP-114. Драйвера поставлются в виде исходников. При выполнении команды make install получаю: cd utility;\ make install make[1]: Entering directory `/home/root/Soft/mxser/utility' cd diag;\ make install make[2]: Entering directory `/home/root/Soft/mxser/utility/diag' cp -p msdiag /usr/bin make[2]: Leaving directory `/home/root/Soft/mxser/utility/diag' cd mon;\ make install make[2]: Entering directory `/home/root/Soft/mxser/utility/mon' cp -p msmon /usr/bin make[2]: Leaving directory `/home/root/Soft/mxser/utility/mon' cd term;\ make install make[2]: Entering directory `/home/root/Soft/mxser/utility/term' cp -p msterm /usr/bin make[2]: Leaving directory `/home/root/Soft/mxser/utility/term' make[1]: Leaving directory `/home/root/Soft/mxser/utility' cd driver;\ make install make[1]: Entering directory `/home/root/Soft/mxser/driver' gcc -c -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I/usr/src/linux-2.4/include -I/usr/src/linux/include -DMODVERSIONS mxser.c In file included from /usr/include/linux/config.h:4, from mxser.c:40: /usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace In file included from mxser.c:42: /usr/include/linux/modversions.h:1:2: #error Invalid kernel header included in userspace In file included from /usr/include/linux/prefetch.h:13, from /usr/include/linux/list.h:6, from /usr/include/linux/module.h:12, from mxser.c:44: /usr/include/asm/processor.h:56: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/processor.h:56: requested alignment is not a constant In file included from mxser.c:50: /usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace In file included from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:46, from mxser.c:55: /usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/irq.h:65: requested alignment is not a constant In file included from /usr/include/linux/interrupt.h:46, from mxser.c:55: /usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/hardirq.h:16: requested alignment is not a constant In file included from mxser.c:55: /usr/include/linux/interrupt.h:129: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/interrupt.h:129: requested alignment is not a constant mxser.c: In function `cleanup_module': mxser.c:779: warning: implicit declaration of function `pci_resource_start' mxser.c:779: warning: implicit declaration of function `pci_resource_len' /usr/include/asm/uaccess.h: At top level: mxser.c:695: warning: `CheckIsMoxaMust' defined but not used make[1]: *** [module] Error 1 make[1]: Leaving directory `/home/root/Soft/mxser/driver' make: *** [driver_install] Error 2 Понятно, что файл mxser.c использует usr/include/linux/autoconf в котором почему-то прописано #error Invalid kernel header included in userspace Это особенность дистрибутива, или я чего-то недоставил? Использую дистрибутив ALTLinux 2.3 Compact. С уважением, Карелин А.
next reply other threads:[~2005-03-31 6:18 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-03-31 6:18 Aleksey P. Karelin [this message] 2005-03-31 7:32 ` Alexey Borovskoy 2005-03-31 10:11 ` Aleksey P. Karelin 2005-03-31 10:27 ` Re[2]: " Антон Горлов 2005-03-31 11:06 ` Aleksey P. Karelin 2005-03-31 12:52 ` Denis Ovsienko 2005-03-31 13:08 ` Aleksey P. Karelin 2005-04-01 5:16 ` Denis Ovsienko 2005-04-01 6:07 ` Aleksey P. Karelin 2005-04-01 17:22 ` 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=424B9630.80005@mail.ru \ --to=karelin-ap@mail.ru \ --cc=hardware@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 hardware support This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/hardware/0 hardware/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 hardware hardware/ http://lore.altlinux.org/hardware \ hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org public-inbox-index hardware Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.hardware AGPL code for this site: git clone https://public-inbox.org/public-inbox.git