ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: community@altlinux.ru
Cc: devel-kernel@lists.altlinux.org
Subject: Re: [Comm] Сборка ndiswrapper под kernel-2.6: NR_IRQS, NR_IRQ_VECTORS undeclared
Date: Sun, 9 Jul 2006 12:37:37 +0300
Message-ID: <20060709093737.GA15796@osdn.org.ua> (raw)
In-Reply-To: <20050207011131.GA1134@vm1.cyberdude.ru>

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/


      reply	other threads:[~2006-07-09  9:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-07  1:11 oghma
2006-07-09  9:37 ` Michael Shigorin [this message]

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=20060709093737.GA15796@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@altlinux.ru \
    --cc=community@lists.altlinux.org \
    --cc=devel-kernel@lists.altlinux.org \
    --cc=shigorin@gmail.com \
    /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 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