Re: Unknown symbol _exit when compiling VMware vmmon.o module - problemwith 2.6.3-rc1

From: Robert Gadsdon
Date: Sat Feb 07 2004 - 14:16:20 EST


I had this problem when recompiling VMware WS 4.0.5 with kernel 2.6.3-rc1 (x86 system). 2.6.2 and earlier had been OK..

I found the following reference relating a similar problem with 2.6.1-mm5:

http://www.vmware.com/community/thread.jspa?threadID=1976&messageID=8243

Re-inserting
#define __NR__exit __NR_exit
and
static inline _syscall1(void,_exit,int,exitcode)
in ...include/asm-i386/unistd.h fixed the problem for me. I do _not_ know if this is an acceptable solution, as there may be other implications for the removal of this code in 2.6.3-rc1...

Robert Gadsdon.

Felipe Alfaro Solana wrote:
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?
Thanks!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/