From: Felipe Alfaro Solana <felipe_alfaro@linuxmail.org>
To: Valdis.Kletnieks@vt.edu
Cc: Linux Kernel Mailinglist <linux-kernel@vger.kernel.org>
Subject: Re: Unknown symbol _exit when compiling VMware vmmon.o module
Date: Sat, 07 Feb 2004 19:12:23 +0100 [thread overview]
Message-ID: <1076177542.798.13.camel@teapot.felipe-alfaro.com> (raw)
In-Reply-To: <200402071748.i17HmIBw023631@turing-police.cc.vt.edu>
On Sat, 2004-02-07 at 18:48, Valdis.Kletnieks@vt.edu wrote:
> On Sat, 07 Feb 2004 18:40:16 +0100, Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> said:
> > Hi!
> >
> > After installing VMware Workstation 4.5.0-7174 and running
> > vmware-config.pl, I get the following error when trying to insert
> > vmmon.ko into the kernel:
> >
> > vmmon: Unknown symbol _exit
> >
> > What can I use instead of _exit(code) inside a module?
>
> panic()? (Where would the kernel _exit() *TO*?)
>
> I think you misbuilt the kernel module...
No, I don't think so... look at this code:
#ifdef MODULE_X86_64
exit(1);
#else
_exit(1);
#endif
for (;;); /* To suppress warning. */
This is a snippet from driver.c.
Bah! I've simply removed the #ifdef...#endif code and it seems to work,
but I was really curious why VMware was using _exit() for i386 and
exit() for x86_64.
next prev parent reply other threads:[~2004-02-07 18:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-07 17:40 Felipe Alfaro Solana
2004-02-07 17:48 ` Valdis.Kletnieks
2004-02-07 18:12 ` Felipe Alfaro Solana [this message]
2004-02-07 18:01 ` Andreas Steinmetz
2004-02-07 18:11 ` Måns Rullgård
2004-02-07 18:53 ` Felipe Alfaro Solana
2004-02-08 6:33 ` Eugene Teo
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=1076177542.798.13.camel@teapot.felipe-alfaro.com \
--to=felipe_alfaro@linuxmail.org \
--cc=Valdis.Kletnieks@vt.edu \
--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®