E-Maculation
https://www.emaculation.com/forum/

sheepshaver compile error in colinux
https://www.emaculation.com/forum/viewtopic.php?f=20&t=918
Page 1 of 1

Author:  mike [ Sat Apr 24, 2004 9:46 pm ]
Post subject:  sheepshaver compile error in colinux

hey i got colinux running w/ gentoo however i get the following error when i run make(i followed the guide on emaculation as to how to compile it and patch it etc):
g++ -I../kpx_cpu/include -I../kpx_cpu/src -DUSE_JIT -I../include -I. -DHAVE_CONF
IG_H -D_REENTRANT -DDATADIR=\"/usr/local/share/SheepShaver\" -g -O2 -I/usr/X11R
6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -c ../kpx_cpu/sheepshaver_glue.cpp -o obj/sheepshaver_glu
e.o
../kpx_cpu/sheepshaver_glue.cpp:758:2: #error "FIXME: You don't have the capabil
ity to skip instruction within signal handlers"
make: *** [obj/sheepshaver_glue.o] Error 1

Author:  Trombone Bob [ Mon Apr 26, 2004 3:57 pm ]
Post subject: 

1st. before you type "make" type "export WANT_AUTOCONF=2.5" and "export WANT_AUTOMAKE=1.7"
2nd. Make sure to apply the patch to the correct directory. Its /SheepShaver/src/kpx_cpu
if this doesnt work try "emerge sheepshaver" I think the keyword is "ppc"

Author:  mike [ Mon Apr 26, 2004 11:52 pm ]
Post subject: 

i tried to patch again it asked me if i wanted to use -r or somthing i said no, and it asked me if i was sure i wanted to redo patch and i said yes. here was the output(make gave same error after)

colinux kpx_cpu # patch -p0 < x86_fpu_opts.diff
patching file src/cpu/ppc/ppc-dyngen-ops.cpp
Hunk #1 succeeded at 399 with fuzz 2 (offset 15 lines).
Hunk #2 FAILED at 422.
Hunk #3 FAILED at 466.
Hunk #4 FAILED at 489.
3 out of 4 hunks FAILED -- saving rejects to file src/cpu/ppc/ppc-dyngen-ops.cpp
.rej

Author:  buchya [ Thu Apr 29, 2004 12:28 pm ]
Post subject:  sheepshaver compile error in colinux

Type "export WANT_AUTOCONF=2.5" and "export WANT_AUTOMAKE=1.7" before you do "./autogen.sh" and then "make". Worked for me.

Author:  Cat_7 [ Thu Apr 29, 2004 2:19 pm ]
Post subject:  patching the source

You should consider patching a clean source instead of patching over the already stained source. So download the source again.

Best
Cat_7

Author:  Mac Emu [ Thu Apr 29, 2004 3:05 pm ]
Post subject: 

BTW: Has anyone actually gotten a Mac OS to boot up on SheepShaver using this method, or has only the configuration manager been able to run?

Author:  mike [ Thu Apr 29, 2004 11:56 pm ]
Post subject:  ACCCK

omg still. i reinstalled entire thing with clean sources following the guide doing EXACTLY as it said and i get:
g++ -I../kpx_cpu/include -I../kpx_cpu/src -DUSE_JIT -I../include -I. -DHAVE_CONF
IG_H -D_REENTRANT -DDATADIR=\"/usr/local/share/SheepShaver\" -g -O2 -I/usr/X11R
6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -c ../kpx_cpu/sheepshaver_glue.cpp -o obj/sheepshaver_glu
e.o
../kpx_cpu/sheepshaver_glue.cpp:758:2: #error "FIXME: You don't have the capabil
ity to skip instruction within signal handlers"
make: *** [obj/sheepshaver_glue.o] Error 1

:(

Author:  buchya [ Fri Apr 30, 2004 6:36 am ]
Post subject: 

Considering you have already patched src/kpx_cpu/src/cpu/ppc/pcc-dyngen-ops.cpp, in SheepShaver/src/Unix type:
export WANT_AUTOCONF=2.5
export WANT_AUTOMAKE=1.7
make distclean
./autogen.sh
make
Then it should compile without errors and you shold be able to run the configuration manager.
Unfortunately, at least in my case, it crushes during the first second of boot process.
Quote:
SheepShaver V2.2 by Christian Bauer and Mar"c" Hellwig
Reading ROM file...
PowerPC CPU emulator by Gwenole Beauchesne
SIGSEGV
pc 0x80c728c
ea 0x40df1200
cpu main
r0 00000000 r1 217f7afc r2 00000000 r3 21800400
r4 00002278 r5 00006604 r6 00004e75 r7 ffffffe8
r8 00000000 r9 00000028 r10 0000006c r11 210074b2
r12 ffffffff r13 00000000 r14 200031c4 r15 20ffec00
r16 200c2938 r17 000013ff r18 200c1c78 r19 40814c1e
r20 217f7b0e r21 21800190 r22 21800400 r23 00000000
r24 00001401 r25 00000020 r26 00000000 r27 ffff876e
r28 00000000 r29 40df1200 r30 40c60000 r31 68fff000
f0 0.00000 f1 0.00000 f2 0.00000 f3 0.00000
f4 0.00000 f5 0.00000 f6 0.00000 f7 0.00000
f8 0.00000 f9 0.00000 f10 0.00000 f11 0.00000
f12 0.00000 f13 0.00000 f14 0.00000 f15 0.00000
f16 0.00000 f17 0.00000 f18 0.00000 f19 0.00000
f20 0.00000 f21 0.00000 f22 0.00000 f23 0.00000
f24 0.00000 f25 0.00000 f26 0.00000 f27 0.00000
f28 0.00000 f29 0.00000 f30 0.00000 f31 0.00000
lr 40df1200 ctr 00000000 cr 40501c22 xer 00000000
pc 40df1200 fpscr 00000000
### Statistics for SheepShaver emulation parts
Total emulation time : 1.1 sec
Total interrupt count: 1 (0.9 Hz)
Total Execute68k[Trap] execution count : 50
Total Execute68k[Trap] execution time : 0.1 sec (9.8%)
Total NativeOp execution count : 1062
Total NativeOp execution time : 0.1 sec (5.4%)
Total MacOS routine execution count : 72
Total MacOS routine execution time : 0.1 sec (5.4%)

Author:  mike [ Fri Apr 30, 2004 9:02 pm ]
Post subject: 

THX sooooo much! worked perfectly!!!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/