From owner-freebsd-hackers Tue Apr 9 15:26:30 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA23037 for hackers-outgoing; Tue, 9 Apr 1996 15:26:30 -0700 (PDT) Received: from davinci.isds.duke.edu (davinci.isds.duke.edu [152.3.22.1]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id PAA23025 Tue, 9 Apr 1996 15:26:23 -0700 (PDT) Received: from diego.isds.duke.edu (diego.isds.duke.edu [152.3.22.47]) by davinci.isds.duke.edu (8.7.4/8.6.9) with ESMTP id SAA19032; Tue, 9 Apr 1996 18:26:09 -0400 (EDT) From: Andrew Gallatin Received: (from gallatin@localhost) by diego.isds.duke.edu (8.7.4/8.7.1) id SAA28953; Tue, 9 Apr 1996 18:26:09 -0400 (EDT) Date: Tue, 9 Apr 1996 18:26:09 -0400 (EDT) Message-Id: <199604092226.SAA28953@diego.isds.duke.edu> To: Chuck Robey Cc: rich@rich.isdn.bcm.tmc.edu, freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Help! Mathematica for Linux in standalone mode In-Reply-To: References: <199604032315.SAA28789@cole.isds.duke.edu> Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Chuck Robey writes: > I have the student (Linux) version working fine under FreeBSD-current, > but I have never run 2.1.0, so I don't know what limitations it has. > I've never seen the error (General::codespace: Code space corrupted) that > you did. I think I've solved my own problem (which was of my own making), and I now have the full version of Mathematica 2.2.4 for Linux working under 2.1R with a few minor hacks to the linux emulator. My problem was that I'd attempted to emulate the linux SIOCGIFHWADDR & done a very poor job of it. This was apparently corrupting Mathematica. Basically, the ioctl is supposed to return a pointer to a Linux ifreq struct & I was passing it a pointer to an array of chars. Once I cleaned this up, my problems went away. I'll be happy to pass my solution on to anybody who wants/needs it, but if you're just trying to get the standalone version of Mathematica going, you can safely ignore the missing ioctl & all should be fine. I also want to thank Chuck Robley & Rich Murphey for the help they sent me. It was much appreciated. Drew