Date: Fri, 08 Sep 2000 23:57:46 -0700 From: Julian Elischer <julian@elischer.org> To: current@freebsd.org Subject: Re: more on: Vmware (1.x) port broken in -current Message-ID: <39B9DF6A.2781E494@elischer.org> References: <20000908154320.J12231@fw.wintelcom.net> <39B9DABD.167EB0E7@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote:
>
> Just a warning, that the current vmware 1.x port doesn;t compile
> under -current.
> I'm looking at it at the moment (as I only have a licence for 1.x)
>
responding to myself:
the linux include files that have moved to /sys/compat/linux
need to be changed in a couple of files:
./work/vmware-distrib/vmnet-only/freebsd/vmnet_linux.c
./work/vmware-distrib/vmmon-only/freebsd/linux_emu.c
the following change needs to be made to
./work/vmware-distrib/vmnet-only/freebsd/vmnet.c:
#if (__FreeBSD__ == 5)
ether_ifattach(ifp, 1);
#else /* ORIGINAL CODE */
if_attach(ifp);
ether_ifattach(ifp);
bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
#endif
After that, it all compiles but it doesn't run due to:
sh vmware.sh start
kldload: can't load /usr/local/lib/vmware/lib/modules/vmmon.ko: Exec
format error
kldload: can't load /usr/local/lib/vmware/lib/modules/vmnet.ko: Exec
format error
I have NO idea wha that means.. (how can a module I just compile
30 seconds before be in the wrong format?)
--
__--_|\ Julian Elischer
/ \ julian@elischer.org
( OZ ) World tour 2000
---> X_.---._/ presently in: Perth
v
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39B9DF6A.2781E494>
