From: Joshua J. <jj...@gm...> - 2008-01-02 11:10:48
|
I was able to build SheepShaver with two caveats: I had to append -framework AppKit to the g++ -o SheepShaver link command to avoid these errors: > /usr/bin/ld: Undefined symbols: > .objc_class_name_NSMenuItem > .objc_class_name_NSNib > .objc_class_name_NSObject > .objc_class_name_NSWindow > _NSApp > _NSLog > _objc_msgSend > .objc_class_name_NSMutableArray > .objc_class_name_NSOpenPanel > .objc_class_name_NSSavePanel > .objc_class_name_NSString > _objc_msgSendSuper > collect2: ld returned 1 exit status > make: *** [SheepShaver] Error 1 I also had to explicitly specify 'make SheepShaver_app' instead of just 'make', whereas the end of configure's output says 'Configuration done. Now type "make".' Having built SheepShaver.app, I noticed that the application bundle lacks its usual icon, although the icon file is present in the bundle's Resources and I didn't notice any obvious differences from the working copy of SheepShaver I have. Attempting to launch the newly-built SheepShaver produces this console output: > SheepShaver V2.3 by Christian Bauer and Mar"c" Hellwig > 2008-01-02 02:54:19.328 SheepShaver[26459] *** _NSAutoreleaseNoPool > (): Object 0x311a80 of class NSPathStore2 autoreleased with no pool > in place - just leaking > 2008-01-02 02:54:19.328 SheepShaver[26459] *** _NSAutoreleaseNoPool > (): Object 0x314f60 of class NSCFString autoreleased with no pool > in place - just leaking > 2008-01-02 02:54:19.328 SheepShaver[26459] *** _NSAutoreleaseNoPool > (): Object 0x315700 of class NSPathStore2 autoreleased with no pool > in place - just leaking > 2008-01-02 02:54:19.329 SheepShaver[26459] *** _NSAutoreleaseNoPool > (): Object 0x312c20 of class NSCFString autoreleased with no pool > in place - just leaking > 2008-01-02 02:54:19.329 SheepShaver[26459] *** _NSAutoreleaseNoPool > (): Object 0x3145a0 of class NSMenuItem autoreleased with no pool > in place - just leaking > 2008-01-02 02:54:19.329 SheepShaver[26459] *** _NSAutoreleaseNoPool > (): Object 0x7816fe2c of class NSCFString autoreleased with no pool > in place - just leaking > Unrecognized option '-psn_0_33554433' > 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=134217728] > --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'. If I open SheepShaver.app/Contents/Resources/SheepShaver in the Finder, I get this in Terminal: > SheepShaver V2.3 by Christian Bauer and Mar"c" Hellwig > 2008-01-02 03:05:40.159 SheepShaver[26480] *** _NSAutoreleaseNoPool > (): Object 0x30df10 of class NSPathStore2 autoreleased with no pool > in place - just leaking > 2008-01-02 03:05:40.159 SheepShaver[26480] *** _NSAutoreleaseNoPool > (): Object 0x310890 of class NSCFString autoreleased with no pool > in place - just leaking > 2008-01-02 03:05:40.160 SheepShaver[26480] *** _NSAutoreleaseNoPool > (): Object 0x311d40 of class NSPathStore2 autoreleased with no pool > in place - just leaking > 2008-01-02 03:05:40.160 SheepShaver[26480] *** _NSAutoreleaseNoPool > (): Object 0x3122d0 of class NSCFString autoreleased with no pool > in place - just leaking > 2008-01-02 03:05:40.160 SheepShaver[26480] *** _NSAutoreleaseNoPool > (): Object 0x3155a0 of class NSMenuItem autoreleased with no pool > in place - just leaking > 2008-01-02 03:05:40.160 SheepShaver[26480] *** _NSAutoreleaseNoPool > (): Object 0x7816fe2c of class NSCFString autoreleased with no pool > in place - just leaking > ERROR: Cannot connect to X server . > Bus error Which suggests that I really have SheepShaver for X11, not OS X, even though I followed the build instructions quoted in my previous message. Josh |