From: Joshua J. <jj...@gm...> - 2009-05-28 22:46:00
|
Hello, I've updated my Basilisk II and SheepShaver CVS checkouts. Basilisk II builds and works as expected on 10.4 "Tiger", but the build fails on 10.5 "Leopard". SheepShaver builds on either but dies on launch. Basilisk II build errors on Leopard: > gcc -arch i386 -I../include -I. -I../uae_cpu -I../slirp -Igen.i386 > -DHAVE_CONFIG_H -DOS_darwin -DBSD_COMP -DDIRECT_ADDRESSING - > D_REENTRANT -DAQUA -DFPU_IEEE -DUNALIGNED_PROFITABLE - > DREGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY - > DOPTIMIZED_FLAGS -DSAHF_SETO_PROFITABLE -g -O2 -fomit-frame-pointer > -mdynamic-no-pic -g -c sshpty.c -o obj.i386/sshpty.o > sshpty.c: In function ‘pty_allocate’: > sshpty.c:148: error: ‘mysig_t’ undeclared (first use in this function) > sshpty.c:148: error: (Each undeclared identifier is reported only once > sshpty.c:148: error: for each function it appears in.) > sshpty.c:148: error: syntax error before ‘old_signal’ > sshpty.c:155: error: ‘old_signal’ undeclared (first use in this > function) > sshpty.c:183: error: ‘I_PUSH’ undeclared (first use in this function) > make[1]: *** [obj.i386/sshpty.o] Error 1 > make: *** [BasiliskII.i386] Error 2 SheepShaver console output: > SheepShaver V2.3 by Christian Bauer and Mar"c" Hellwig > 2009-05-28 15:34:42.732 SheepShaver[29754] *** _NSAutoreleaseNoPool > (): Object 0x414d10 of class NSPathStore2 autoreleased with no pool > in place - just leaking > 2009-05-28 15:34:42.732 SheepShaver[29754] *** _NSAutoreleaseNoPool > (): Object 0x414160 of class NSCFString autoreleased with no pool > in place - just leaking > 2009-05-28 15:34:42.733 SheepShaver[29754] *** _NSAutoreleaseNoPool > (): Object 0x416770 of class NSPathStore2 autoreleased with no pool > in place - just leaking > 2009-05-28 15:34:42.733 SheepShaver[29754] *** _NSAutoreleaseNoPool > (): Object 0x417340 of class NSCFString autoreleased with no pool > in place - just leaking > 2009-05-28 15:34:42.733 SheepShaver[29754] *** _NSAutoreleaseNoPool > (): Object 0x416a10 of class NSMenuItem autoreleased with no pool > in place - just leaking > 2009-05-28 15:34:42.733 SheepShaver[29754] *** _NSAutoreleaseNoPool > (): Object 0x7816fe2c of class NSCFString autoreleased with no pool > in place - just leaking > Unrecognized option '-psn_0_616824833' > Usage: /Users/jjuran/src/cebix/SheepShaver/src/Unix/SheepShaver.app/ > Contents/MacOS/SheepShaver [OPTION...] > > Unix options: > --display STRING > X display to use > > General options: > --disk STRING > device/file name of Mac volume [default=/Users/jjuran/Data/ > macos9.0.4.vol] > --floppy STRING > device/file name of Mac floppy drive [default=none] > --cdrom STRING > device/file names of Mac CD-ROM drive [default=none] > --extfs STRING > root path of ExtFS [default=/Users/jjuran/Data/Shared/] > --scsi0 STRING > SCSI target for Mac SCSI ID 0 [default=none] > --scsi1 STRING > SCSI target for Mac SCSI ID 1 [default=none] > --scsi2 STRING > SCSI target for Mac SCSI ID 2 [default=none] > --scsi3 STRING > SCSI target for Mac SCSI ID 3 [default=none] > --scsi4 STRING > SCSI target for Mac SCSI ID 4 [default=none] > --scsi5 STRING > SCSI target for Mac SCSI ID 5 [default=none] > --scsi6 STRING > SCSI target for Mac SCSI ID 6 [default=none] > --screen STRING > video mode [default=win/800/600] > --windowmodes NUMBER > bitmap of allowed window video modes [default=0] > --screenmodes NUMBER > bitmap of allowed fullscreen video modes [default=0] > --seriala STRING > device name of Mac serial port A [default=/dev/cu.usbmodem] > --serialb STRING > device name of Mac serial port B [default=/dev/null] > --rom STRING > path of ROM file [default=/Users/jjuran/Library/ROM Images/ROM > Update 1.0] > --bootdrive NUMBER > boot drive number [default=0] > --bootdriver NUMBER > boot driver number [default=0] > --ramsize NUMBER > size of Mac RAM in bytes [default=536870912] > --frameskip NUMBER > number of frames to skip in refreshed video modes [default=8] > --gfxaccel BOOL > turn on QuickDraw acceleration [default=true] > --nocdrom BOOL > don't install CD-ROM driver [default=false] > --nonet BOOL > don't use Ethernet [default=false] > --nosound BOOL > don't enable sound output [default=false] > --nogui BOOL > disable GUI [default=true] > --noclipconversion BOOL > don't convert clipboard contents [default=false] > --ignoresegv BOOL > ignore illegal memory accesses [default=true] > --jit BOOL > enable JIT compiler [default=true] > --jit68k BOOL > enable 68k DR emulator [default=false] > --keyboardtype NUMBER > hardware keyboard type [default=5] > > Platform-specific options: > --ether STRING > device name of Mac ethernet adapter [default=slirp] > --etherconfig STRING > path of network config script [default=none] > --keycodes BOOL > use keycodes rather than keysyms to decode keyboard [default=true] > --keycodefile STRING > path of keycode translation file [default=/Users/jjuran/ > Applications/SheepShaver-2.3/keycodes.sdl] > --mousewheelmode NUMBER > mouse wheel support mode (0=page up/down, 1=cursor up/down) > [default=0] > --mousewheellines NUMBER > number of lines to scroll in mouse wheel mode 1 [default=3] > --dsp STRING > audio output (dsp) device name [default=/dev/dsp] > --mixer STRING > audio mixer device name [default=/dev/mixer] > --ignoresegv BOOL > ignore illegal memory accesses [default=true] > --idlewait BOOL > sleep when idle [default=true] > > Boolean options are specified as '--OPTION true|on|yes' or > '--OPTION false|off|no'. The key is "Unrecognized option '-psn_0_616824833'" -- it's not expecting to be invoked as a Mac application. I used these commands to build, in src/Unix: NO_CONFIGURE=1 ACLOCAL_FLAGS="-I m4" ./autogen.sh ./configure --enable-sdl-static --enable-sdl-video --enable-sdl-audio --enable-vosf=no make make SheepShaver_app Josh |