From: Martin Knoblauch <knobi@knobisoft.de>
To: linux-kernel@vger.kernel.org
Subject: Re: Broken things in kernel 2.6.6-mm2 and 2.6.6-mm3
Date: Fri, 21 May 2004 03:02:00 -0700 (PDT) [thread overview]
Message-ID: <20040521100200.84714.qmail@web13907.mail.yahoo.com> (raw)
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
modules
make[1]: Entering directory `/usr/src/linux-2.6.6'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
/tmp/vmware-config2/vmmon-only/linux/driver.c:131: warning:
initialization from incompatible pointer type
>/tmp/vmware-config2/vmmon-only/linux/driver.c:135: warning:
>initialization from incompatible pointer type
>CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o
>/tmp/vmware-config2/vmmon-only/linux/hostif.c: In function
`>HostIF_FreeLockedPages':
>/tmp/vmware-config2/vmmon-only/linux/hostif.c:738: error: structure
>has no member named `count'
>/tmp/vmware-config2/vmmon-only/linux/hostif.c:740: error: structure
>has no member named `count'
>make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/hostif.o] Error 1
>make[1]: *** [/tmp/vmware-config2/vmmon-only] Error 2
>make[1]: Leaving directory `/usr/src/linux-2.6.6'
>make: *** [vmmon.ko] Error 2
>make: Leaving directory `/tmp/vmware-config2/vmmon-only'
>Unable to build the vmmon module.
>
Yup. I have been bitten by this too. Apparently "count" has been
replaced by "_count" which in addition seems to be "count-1". But there
is now a function "page_count" that does the right thing.
For VMware I have just removed the definition of the "page_count"
macro from vmmon-only/include/compat_mm.h.
Martin
=====
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de
next reply other threads:[~2004-05-22 1:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-21 10:02 Martin Knoblauch [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-05-16 23:37 Jesus Delgado
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=20040521100200.84714.qmail@web13907.mail.yahoo.com \
--to=knobi@knobisoft.de \
--cc=linux-kernel@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®