Unknown symbol _exit when compiling VMware vmmon.o module
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!
Quoted 9 lines · Felipe Alfaro Solana
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
_exitWhat can I use instead of
_exit(code)inside a module?
panic()? (Where would the kernel _exit() *TO*?)
I think you misbuilt the kernel module...
Quoted 7 lines · On Sat, 2004-02-07 at 18:48, [email protected] wrote:
Quoted 6 lines · Felipe Alfaro Solana
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:
Quoted 7 lines
Quoted 3 lines
vmmon: Unknown symbol
_exitWhat 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.
Quoted 11 lines · Felipe Alfaro Solana
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
_exitWhat can I use instead of
_exit(code)inside a module? Thanks!
If I do interpret this right please read:
http://linux.bkbits.net:8080/linux-2.5/[email protected]?nav=index.html|ChangeSet@-7d
Signature · 2 lines
Andreas Steinmetz D.O.M. Datenverarbeitung GmbH
Quoted 7 lines · Felipe Alfaro Solana
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
I've seen it too. I just removed that call from the source and rebuilt. It's not supposed to ever get there anyway. I still don't understand what it was doing there in the first place. Oddly, it compiled with kernel 2.6.2, but not with some later updates.
Signature · 2 lines
Måns Rullgård [email protected]
Quoted 8 lines · Måns Rullgård
Quoted 6 lines · Felipe Alfaro Solana
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:
Quoted 6 lines
Quoted 1 line
vmmon: Unknown symbol
_exitI've seen it too. I just removed that call from the source and rebuilt. It's not supposed to ever get there anyway. I still don't understand what it was doing there in the first place. Oddly, it compiled with kernel 2.6.2, but not with some later updates.
Yeah! I experienced the same with -mm kernels... It seems the changes that motivated that have been integrated in mainline now. For now, I've removed any reference to _exit from the module sources.
<quote sender="Felipe Alfaro Solana">
Quoted 8 lines · M??ns Rullg??rd
Quoted 7 lines
Quoted 5 lines · Felipe Alfaro Solana
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
Quoted 8 lines
Quoted 4 lines
I've seen it too. I just removed that call from the source and rebuilt. It's not supposed to ever get there anyway. I still don't understand what it was doing there in the first place. Oddly, it compiled with kernel 2.6.2, but not with some later updates.
Yeah! I experienced the same with -mm kernels... It seems the changes that motivated that have been integrated in mainline now. For now, I've removed any reference to
_exitfrom the module sources.
reverse this patch:
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2.6.1-mm5/broken-out/gcc-35-exit-fix.patch
for more info, see http://www.anomalistic.org/#vmware
Eugene
Signature · 3 lines
Eugene TEO - <eugeneteo%eugeneteo!net> <http://www.anomalistic.org/>
1024D/14A0DDE5 print D851 4574 E357 469C D308 A01E 7321 A38A 14A0 DDE5
main(i) { putchar(182623909 >> (i-1) * 5&31|!!(i<7)<<6) && main(++i); }