ALT Linux hardware support
 help / color / mirror / Atom feed
* [Hardware] CP-114
@ 2005-03-31  6:18 Aleksey P. Karelin
  2005-03-31  7:32 ` Alexey Borovskoy
  2005-03-31 12:52 ` Denis Ovsienko
  0 siblings, 2 replies; 10+ messages in thread
From: Aleksey P. Karelin @ 2005-03-31  6:18 UTC (permalink / raw)
  To: hardware

Всем добрый день!

Пытаюсь установить драйвера для платы расширения 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.

С уважением, Карелин А.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-04-01 17:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-31  6:18 [Hardware] CP-114 Aleksey P. Karelin
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

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