Patching SheepShaver (ethernet)

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: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

CVS download / Patch & run script for SheepShaver

Post by Cat_7 »

Hello,

**** Updated 24-02-2004 because the new build 2.2.10 no longer needs the hacks_patch
**** New build at
**** http://gwenole.beauchesne.free.fr/sheep ... 0.i586.rpm

Below my script for downloading from CVS, applying the ethernet_patch, compiling and running SheepShaver. It works just fine for me for creating a clean new build.

Just make shure you don't have a directory "/cvs" allready or remove the previous "/cvs" directory. You can allways adapt the script to use some other directories.

-Copy the lines below in a text file,
-Give the file some meaningfull name with the extension .sh
-Make the file executable
-Run in terminal window
-When asked for a password, enter "anoncvs"

****Start of script

mkdir /cvs
cd /cvs
mkdir patches

cvs -d :pserver:anoncvs@down.physik.uni-mainz.de:/cvs login
cvs -d :pserver:anoncvs@down.physik.uni-mainz.de:/cvs checkout BasiliskII
cvs -d :pserver:anoncvs@down.physik.uni-mainz.de:/cvs checkout SheepShaver

cd /cvs/patches

wget http://gwenole.beauchesne.free.fr/sheep ... ernet.diff

cd /cvs/SheepShaver/src/
patch -p0 -i /cvs/patches/sheep_ethernet.diff

cd /cvs/SheepShaver
make links
cd src/Unix
./autogen.sh
make
./SheepShaver

*****End of script

Have fun,

Cat_7
Last edited by Cat_7 on Tue Feb 24, 2004 7:01 pm, edited 1 time in total.
Mac Emu
Forum All-Star
Posts: 1208
Joined: Mon May 20, 2002 11:50 am
Location: Ouraion

Post by Mac Emu »

Thank you very much. I was working on my SheepShaver\Basilisk II script combo, but needed the exact patching commands.
ZOleg

Kernel 2.6.x and ethernet in SheepShaver

Post by ZOleg »

How to compile sheep_net driver with kernel 2.6.x?
And howto configure ethernet support in SheppShaver?
Please help me with this!!!!

Thank you!!!
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

You should start by being more specific, and maybe posting in a new thread, or a pre-existing thread.

Like this one:

http://www.emaculation.com/phpBB/viewtopic.php?t=845

These two fellows suggest that what you are doing is not possible. But I don't know - I don't know anything about kernals.
ivanhasou

Post by ivanhasou »

When i try to compile it like the instructions say, i get this when i try to run make
(running on slackware 9.1: all packages installed)

g++ -I../kpx_cpu/include -I../kpx_cpu/src -DUSE_JIT -I../include -I. -DHAVE_CONFIG_H -D_REENTRANT -DDATADIR=\"/usr/local/share/SheepShaver\" -g -O2 -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c main_unix.cpp -o obj/main_unix.o
main_unix.cpp:110:22: vm_alloc.h: No such file or directory
main_unix.cpp:252: `XPRAM_SIZE' was not declared in this scope
main_unix.cpp: In function `int main(int, char**)':
main_unix.cpp:528: `vm_acquire_fixed' undeclared (first use this function)
main_unix.cpp:528: (Each undeclared identifier is reported only once for each
function it appears in.)
main_unix.cpp:672: `ADBInit' undeclared (first use this function)
main_unix.cpp:703: `VM_PAGE_READ' undeclared (first use this function)
main_unix.cpp:703: `VM_PAGE_EXECUTE' undeclared (first use this function)
main_unix.cpp:703: `vm_protect' undeclared (first use this function)
main_unix.cpp:776: `last_xpram' undeclared (first use this function)
main_unix.cpp:776: `XPRAM_SIZE' undeclared (first use this function)
main_unix.cpp: In function `void Quit()':
main_unix.cpp:923: `ADBExit' undeclared (first use this function)
main_unix.cpp:945: `vm_release' undeclared (first use this function)
make: *** [obj/main_unix.o] Error 1

any solution?
Post Reply