ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Сборка ndiswrapper под kernel-2.6: NR_IRQS, NR_IRQ_VECTORS undeclared
@ 2005-02-07  1:11 oghma
  2006-07-09  9:37 ` Michael Shigorin
  0 siblings, 1 reply; 2+ messages in thread
From: oghma @ 2005-02-07  1:11 UTC (permalink / raw)
  To: community

Cборка ndiswrapper под ядро 2.6 (std26-up-2.6.10-alt2) вылетает с ошибкой NR_IRQS, NR_IRQ_VECTORS undeclared:

$ make KSRC=~/RPM/BUILD/kernel-image-std26-up-2.6.10-alt2/kernel-source-2.6.10/
make -C driver
make[1]: Entering directory `/home/vborisoff/src/ndiswrapper-cvs/driver'
cc  -DNDISWRAPPER_VERSION=\"1.1rc1\" -DEXTRA_VERSION=\"\" -DLINUX -D__KERNEL__ -DMODULE -I/home/vborisoff/RPM/BUILD/kernel-image-std26-up-2.6.10-alt2/kernel-source-2.6.10//include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2    -c -o hal.o hal.c
[...skipped...]
/home/vborisoff/RPM/BUILD/kernel-image-std26-up-2.6.10-alt2/kernel-source-2.6.10/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
/home/vborisoff/RPM/BUILD/kernel-image-std26-up-2.6.10-alt2/kernel-source-2.6.10/include/asm/hw_irq.h:28: `NR_IRQ_VECTORS' undeclared here (not in a function)
/home/vborisoff/RPM/BUILD/kernel-image-std26-up-2.6.10-alt2/kernel-source-2.6.10/include/asm/hw_irq.h:32: `NR_IRQS' undeclared here (not in a function)
[...skipped...]


Не подскажете как лечить? 
Кто-нибудь собирал ndiswrapper под 2.6?
Может даже у кого-нить готовые спеки есть?


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

* Re: [Comm] Сборка ndiswrapper под kernel-2.6: NR_IRQS, NR_IRQ_VECTORS undeclared
  2005-02-07  1:11 [Comm] Сборка ndiswrapper под kernel-2.6: NR_IRQS, NR_IRQ_VECTORS undeclared oghma
@ 2006-07-09  9:37 ` Michael Shigorin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2006-07-09  9:37 UTC (permalink / raw)
  To: community; +Cc: devel-kernel

On Mon, Feb 07, 2005 at 04:11:31AM +0300, oghma@cyberdude.ru wrote:
> Cборка ndiswrapper под ядро 2.6 (std26-up-2.6.10-alt2) вылетает
> с ошибкой NR_IRQS, NR_IRQ_VECTORS undeclared:
> 
> $ make KSRC=~/RPM/BUILD/kernel-image-std26-up-2.6.10-alt2/kernel-source-2.6.10/
> make -C driver
> make[1]: Entering directory `/home/vborisoff/src/ndiswrapper-cvs/driver'
> cc  -DNDISWRAPPER_VERSION=\"1.1rc1\" -DEXTRA_VERSION=\"\" -DLINUX -D__KERNEL__ -DMODULE -I/home/vborisoff/RPM/BUILD/kernel-image-std26-up-2.6.10-alt2/kernel-source-2.6.10//include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2    -c -o hal.o hal.c
> [...skipped...]
> /home/vborisoff/RPM/BUILD/kernel-image-std26-up-2.6.10-alt2/kernel-source-2.6.10/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
> /home/vborisoff/RPM/BUILD/kernel-image-std26-up-2.6.10-alt2/kernel-source-2.6.10/include/asm/hw_irq.h:28: `NR_IRQ_VECTORS' undeclared here (not in a function)
> /home/vborisoff/RPM/BUILD/kernel-image-std26-up-2.6.10-alt2/kernel-source-2.6.10/include/asm/hw_irq.h:32: `NR_IRQS' undeclared here (not in a function)
> [...skipped...]
> 
> Не подскажете как лечить? 
> Кто-нибудь собирал ndiswrapper под 2.6?
> Может даже у кого-нить готовые спеки есть?

Поймал то же самое на 2.6.12-std26-up-alt{6,10}, 
пытаясь собрать ndiswrapper-1.19 под 3.0 по мотивам
сизифного.

Судя по гуглю "irq_vectors.h: No such file or directory" -- 
ошибка не-alt-specific, не-ndiswrapper-specific и глядя
на asm/irq.h -- вообще непонятно, как это должно было
работать.

В hsh-shell:

$ /usr/sbin/adjust_kernel_headers --list 
2.6.12-std26-up
default
# /usr/sbin/adjust_kernel_headers
#

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

end of thread, other threads:[~2006-07-09  9:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-07  1:11 [Comm] Сборка ndiswrapper под kernel-2.6: NR_IRQS, NR_IRQ_VECTORS undeclared oghma
2006-07-09  9:37 ` Michael Shigorin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git