Building the sheep_net driver

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

Post Reply
User avatar
Cat_7
Expert User
Posts: 6176
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Building the sheep_net driver

Post by Cat_7 »

Hi,

I wanted to build the sheep_net device driver for Linux, but failed due to an error:

make -C /lib/modules/2.6.13-15-default/build M=$PWD modules
make[1]: Entering directory `/usr/src/linux-2.6.13-15-obj/i386/default'
make -C ../../../linux-2.6.13-15 O=../linux-2.6.13-15-obj/i386/default modules
CC [M] /cvs/SheepShaver/src/Unix/Linux/NetDriver/sheep_net.o
/cvs/SheepShaver/src/Unix/Linux/NetDriver/sheep_net.c:29:31: error: linux/modversions.h: No such file or directory

But after editing sheep_net.c ,effectively commenting out the include for modversion.h like this:

/*
#if defined(MODVERSIONS)
#include <linux/modversions.h>
#endif
*/

I could do "make" and "make install". I was then able to modprobe it without error.
This is on Suse 10.0. To bad I can't build SheepShaver itself.

Best wishes
Cat_7
greencat
Space Cadet
Posts: 4
Joined: Sun Jan 16, 2005 11:02 am

heh

Post by greencat »

yer had this prob ages ago cat but i got a weirder out put, it was like its was building everything in the system, i went as far as putting manrake 10 on as i read it was written on mandrake, its going back awhile anyhow im sure i posted something about it in this fourm. If you google sheep_net.o you might come up with some help. I was stumped as im only a nix newbie. Might give mandrake a shoot with it and let ya know what i come up with.
Post Reply