From: Alexei S. <ale...@gm...> - 2010-03-26 23:16:00
|
Would it be possible to conditionally detect the Linux environment type and have code that's compatible with both the old ones and the new distros? -Alexei On Fri, Mar 26, 2010 at 4:30 AM, <bas...@li...> wrote: > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > ---------- Forwarded message ---------- > From: "Spoelstra, Howard" <How...@ou...> > To: "bas...@li..." <bas...@li...> > Date: Wed, 24 Mar 2010 00:31:39 +0100 > Subject: fixes for BasiliskII/SheepShaver Linux NetDriver source > Hi, > > I'm sorry for my lack in knowledge about the diff command, but I would like to commit two updates to files to compile on modern Linux systems for the Linux NetDriver (sheep_net networking module). > Can someone review the changes and perhaps commit the changes? > > The files are in /BasiliskII/src/Unix/Linux/NetDriver > > In makefile, due to new locations of misc drivers, lines 47-48 need to be changed into: > install -d $(KERNEL_DIR)/kernel/drivers/misc > install -m 644 sheep_net.$(MP) $(KERNEL_DIR)/kernel/drivers/misc > > In the sheep_net.c file, lines 23-33 need to be commented out: > /* > #include <linux/config.h> > #include "config.h" > #include <linux/autoconf.h> > > #if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS) > #define MODVERSIONS > #endif > > #if defined(MODVERSIONS) > #include <linux/modversions.h> > #endif > */ > > Compile instructions for the Sheep_net module: > -Install kernel sources > -cd to BasiliskII/src/Unix/Linux/NetDriver source folder > -make > -su make install > > Load the driver with modprobe sheep_net > Start Basilisk/SheepShaverGUI and chose your network card as networking interface, e.g. eth0 > > Best, > Howard > > > > _______________________________________________ > basilisk-devel mailing list > bas...@li... > https://lists.sourceforge.net/lists/listinfo/basilisk-devel > > |