From owner-freebsd-current Sat Sep 9 0: 1:15 2000 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C2BC37B5AF for ; Sat, 9 Sep 2000 00:01:10 -0700 (PDT) Received: from urban.iinet.net.au (urban.iinet.net.au [203.59.24.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8519A6E2B8A for ; Fri, 8 Sep 2000 23:58:57 -0700 (PDT) Received: from jules.elischer.org (reggae-20-229.nv.iinet.net.au [203.59.85.229]) by urban.iinet.net.au (8.8.7/8.8.7) with SMTP id OAA25201 for ; Sat, 9 Sep 2000 14:57:52 +0800 Message-ID: <39B9DF6A.2781E494@elischer.org> Date: Fri, 08 Sep 2000 23:57:46 -0700 From: Julian Elischer X-Mailer: Mozilla 3.04Gold (X11; I; FreeBSD 5.0-CURRENT i386) MIME-Version: 1.0 To: current@freebsd.org Subject: Re: more on: Vmware (1.x) port broken in -current References: <20000908154320.J12231@fw.wintelcom.net> <39B9DABD.167EB0E7@elischer.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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