ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@anti-leasure.ru>
To: devel-kernel@lists.altlinux.org, community@altlinux.ru
Subject: Re: [d-kernel] [Comm] Сборка ndiswrapper под kernel-2.6: NR_IRQS, NR_IRQ_VECTORS undeclared
Date: Sun, 9 Jul 2006 15:42:21 +0400
Message-ID: <20060709114221.GA7545@lks.home> (raw)
In-Reply-To: <20060709093737.GA15796@osdn.org.ua>

[-- Attachment #1: Type: text/plain, Size: 1882 bytes --]

Hi Michael!

Sunday 09, at 12:37:37 PM you wrote:

> 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 по мотивам
> сизифного.
фикс ушел в kernel cvs. Судя по всему, там неправильно определялось, под
какое ядро собирать из-за зависимости на данные, полученные из хост системы -
т.е. для выяснения версии ядра, под которое делать сборку, вызывался uname
-r, что естественно приводило к неожиданным последствиям, если мы собираем
2.6 модуль по модели сборки для 2.4.

-- 
WBR et al.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2006-07-09 11:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-09  9:37 ` Michael Shigorin
2006-07-09 11:42   ` Konstantin A. Lepikhov [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=20060709114221.GA7545@lks.home \
    --to=lakostis@anti-leasure.ru \
    --cc=community@altlinux.ru \
    --cc=devel-kernel@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 kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

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


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