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
     /       \ [EMAIL PROTECTED]
    (   OZ    ) World tour 2000
---> X_.---._/  presently in:  Perth
            v


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to