Login  •  Register


The time is now: Wed May 22, 2013 12:56 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 2 of 2 [ 47 posts ]    Go to page Previous  1, 2
Print view Previous topic  |  Next topic
Author Message
 Post subject:
PostPosted: Fri Apr 01, 2005 9:53 pm 
Offline
Forum All-Star
User avatar

Joined: Mon May 20, 2002 11:50 am
Posts: 1214
Location: Ouraion
Apple Personnal Diagnostics is a retail product. You may be able to order it from Apple, or find it somewhere else like eBay. Some older Software Recovery CDs for Apple Certified Technicians have APD on it as well.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sat Apr 02, 2005 4:46 pm 
Offline
Mac Mechanic

Joined: Tue Mar 15, 2005 6:55 pm
Posts: 161
oh ok. anyways, could we obtain from gb his "official" way to compile sheepshaver and basilisk? like, something to make a script out of it or something? i bet he indeed has a cript with the whole thing. gb, can you share with us?


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sat Apr 02, 2005 11:42 pm 
Offline
Forum All-Star
User avatar

Joined: Mon May 20, 2002 11:50 am
Posts: 1214
Location: Ouraion
He probably just runs the same commands we use.

I haven't been able to CVS SheepShaver for a couple weeks. I can CVS Basilisk II though.

I updated the Bash scripts I created last year to reflect the changes in the build process for Windows. Feel free to post any corrections to the scripts that I'm overlooking.

Download: http://people.delphiforums.com/JAWIV/fi ... cripts.zip

I had to build the Dialog Utility from sources to get these scripts to work under Cygwin (put in bin directory).

Download: http://people.delphiforums.com/JAWIV/files/dialog.zip

Image


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sun Apr 03, 2005 5:34 am 
Offline
Mac Mechanic

Joined: Tue Mar 15, 2005 6:55 pm
Posts: 161
Code:
cd SheepShaver/src/Windows
NO_CONFIGURE=1 ../Unix/autogen.sh


thats the problem, cuz when done that, it says :

Code:
 + Running aclocal: aclocal: Couldn't find configure.ac nor configure.in file
done.
 + Running autoheader: autoheader: no input file
done.
 + Running autoconf: autoconf: no input file
done.


..well at least for me. what does it do when u try the same commands? and didnt even try with basilisk, im givin up on basilisk since i just cant fix that grey screen startup problem :(

by the way, what is Builds and installs SheeepNet for??


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Apr 04, 2005 10:58 am 
Offline
Forum All-Star
User avatar

Joined: Mon May 20, 2002 11:50 am
Posts: 1214
Location: Ouraion
As mentioned, I haven't been able the CVS into SheepShaver for a couple of weeks. You are getting those errors about file not found because you don't have the SheepShaver folder/source downloaded.

Sheepnet is the Ethernet driver for Linux that Basilisk II and SheepShaver use. I'm not up-to-date with whether it works with the current builds of B2/SS or whether their broken.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Apr 04, 2005 11:12 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3126
Location: Sittard, The Netherlands
GB reported he repaired the sheep_net module, also to be used with 2.6 kernels. It haven't been able to compile the module.
Maybe you can?

Cat_7


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Apr 04, 2005 11:26 am 
Offline
Forum All-Star
User avatar

Joined: Mon May 20, 2002 11:50 am
Posts: 1214
Location: Ouraion
Gwenole helped me out in the following thread on my forum: http://forums.delphiforums.com/MacEmula ... msg=5443.1

I'm going to have 4 nights off from work in another 24 hours and will try getting things to work sometime then.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Apr 04, 2005 2:43 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3126
Location: Sittard, The Netherlands
Hello,

That thread you refer to is from last year. Somewhere in the development list GB stated the new sheep_net module could be build from source on 2.6 kernels now. The files are in place: BasiliskII/src/Unix/Linux/NetDriver

My Suse installation seems to miss some files (modversions.h)

I have no complete Mandrake install available right now :cry:

Maybe you can compile the module and make it available somewhere?

Cat_7


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Apr 04, 2005 3:17 pm 
Offline
Mac Mechanic

Joined: Tue Mar 15, 2005 6:55 pm
Posts: 161
oh, did a fresh cvs checkout and it works splendidly witht the code you gave

Code:
cd SheepShaver
make links
cd SheepShaver/src/Windows
NO_CONFIGURE=1 ../Unix/autogen.sh
./configure
make


btw, didnt check if i really had to but added if_arp.h in usr/Unix/net in both basilisk and sheepshaver folders

anyways, how do you know what has changed into a CVS? cuz i wonder if anything changed since last official build


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Apr 04, 2005 3:53 pm 
Offline
Forum All-Star
User avatar

Joined: Mon May 20, 2002 11:50 am
Posts: 1214
Location: Ouraion
Doh! I found out if you have a file called SheepShaver.exe in the same directory you are trying to checkout SheepShaver from under Cygwin, no SheepShaver source tree is created.

I should follow the basilisk-cvs mailing list to keep track of what's going on myself.

PS: I updated the createss.sh script with the following

Code:
        BuildSW)
            clear
                cd SheepShaver/src/Windows
                NO_CONFIGURE=1 ../Unix/autogen.sh
                ./configure --enable-jit-compiler --enable-sdl-video --enable-sdl-audio --with-gtk=no | tee sheepshaverconfigout.wri
                make  | tee sheepshavermakeout.wri
                strip SheepShaver.exe
                cd ../../..;;


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Apr 04, 2005 11:42 pm 
Offline
Mac Mechanic

Joined: Tue Mar 15, 2005 6:55 pm
Posts: 161
cool :) funnily it seems like GB didnt do the strip thing on the last official build. anyways, probably a stupid question but doe it change anything to put

Code:
./configure --enable-jit-compiler --enable-sdl-video --enable-sdl-audio --with-gtk=no


instead of just ./configure? i should try tho... i also should try without putting any net/if_arp.h to see if its still necessary....


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Tue Apr 05, 2005 5:41 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3126
Location: Sittard, The Netherlands
If you enter

./configure --help

you will see the options you have when configuring. The default settings are also shown.

Cat_7


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Tue Apr 05, 2005 6:34 pm 
Offline
Mac Mechanic

Joined: Tue Mar 15, 2005 6:55 pm
Posts: 161
i compiled with that

Code:
./configure --enable-jit-compiler --enable-sdl-video --enable-sdl-audio --with-gtk=no


and it didnt change anything. compared the two binaries and its not a byte smaller or bigger. weird isnt it?


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Tue Apr 05, 2005 6:40 pm 
Offline
Forum All-Star
User avatar

Joined: Mon May 20, 2002 11:50 am
Posts: 1214
Location: Ouraion
It seems you need to delete the SheepShaver.exe already located in src\Windows to create a new executable? (I thought if there was a change in the object files, a new binary would overwrite an older one.)


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Tue Apr 05, 2005 6:43 pm 
Offline
Mac Mechanic

Joined: Tue Mar 15, 2005 6:55 pm
Posts: 161
dont worry, i carefully did that before i ./configure with the options and make it. and nuthin changed between the binary built with no options and between the one with alot of options.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Tue Apr 05, 2005 7:44 pm 
Offline
Forum All-Star
User avatar

Joined: Mon May 20, 2002 11:50 am
Posts: 1214
Location: Ouraion
It should create a GTK-enabled executable with no configure flags. Enable JIT may be enabled by default now. The additional sdl flags were required to create a SDL-enabled binary (on Windows or Linux). I'm not sure what the NO_CONFIGURE=1 ../Unix/autogen.sh line is for (always autogen unless NO_CONFIGURE is set to yes).


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Wed Apr 06, 2005 5:23 am 
Offline
Real Swell Guy!

Joined: Tue Jun 22, 2004 4:20 am
Posts: 116
Mac Emu wrote:
It should create a GTK-enabled executable with no configure flags. Enable JIT may be enabled by default now. The additional sdl flags were required to create a SDL-enabled binary (on Windows or Linux). I'm not sure what the NO_CONFIGURE=1 ../Unix/autogen.sh line is for (always autogen unless NO_CONFIGURE is set to yes).


There is no GTK GUI for Windows. I don't want users to download an extra (huge) set of libraries. Besides, SDL is enabled by default for Windows, there is no alternative. At last, NO_CONFIGURE=1 ../Unix/autogen.sh is only useful to regenerate the configure script if configure.ac changed (which doesn't happen often).


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Wed Apr 06, 2005 4:22 pm 
Offline
Mac Mechanic

Joined: Tue Mar 15, 2005 6:55 pm
Posts: 161
ok, by the way, gb, i guess you dont often use sheepshaver in windows, but just to let you know, pressing makes the Start menu of Windows pop up, its quite annoying while playing such a game as DukeNukem. and also, cant force quit an app in MacOS, cuz just Alt(the PC position)+Esc hides the sheepshaver window.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Thu Apr 07, 2005 6:26 am 
Offline
Real Swell Guy!

Joined: Tue Jun 22, 2004 4:20 am
Posts: 116
OK, I assume you were talking about the Windows key?


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Thu Apr 07, 2005 1:09 pm 
Offline
Mac Mechanic

Joined: Tue Mar 15, 2005 6:55 pm
Posts: 161
Quote:
pressing makes the Start menu of Windows pop up


oops yeah i meant pressing the windows key :?


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sat Jul 23, 2005 8:58 am 
Offline
Space Cadet

Joined: Sat Jul 23, 2005 8:53 am
Posts: 1
CFran2 wrote:
so, i took the if_net.h file off google and put it in BasiliskII/src/Unix/net/



Hi,

I spent the last 30 minutes to find this file on the net, using several search engines with no success (I found "if_arp.h"). I have no access to a linux computer, so can someone give me a link where I can dowload this file ?

Thanks,

Thierry B.


Top
 Profile  
Post a reply  
PostPosted: Thu Jul 28, 2005 12:25 pm 
Offline
Space Cadet

Joined: Sun May 26, 2002 1:05 pm
Posts: 3
Location: Royston, UK
I'm trying to compile sheepshaver CVS on cygwin.

After fixing the missing include in ether_dummy.cpp that was stopping me on monday, ( #include "cpu_emulation.h" for those interested...) I now get the following error :-


Code:
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp -o obj/basic-dyngen-ops.o
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:37: warning: register used for two
   global register variables
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:38: warning: register used for two
   global register variables
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:39: warning: register used for two
   global register variables
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:40: warning: register used for two
   global register variables
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp: In function `void
   op_execute(uint8*, basic_cpu*)':
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:305: error: parse error before `
   op_exec_return_offset'
make: *** [obj/basic-dyngen-ops.o] Error 1


Have I forgotten to do somthing? Or can I not compile this using cygwin?

I can get BasilliskII to build with no problems...

Update...

Installed updates to cygwin, (gcc --version reports 3.4.4, was reporting 3.3.3 before) error has changed slightly...

Code:
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:37: warning: register used for two global register variables
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:38: warning: register used for two global register variables
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:39: warning: register used for two global register variables
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:40: warning: register used for two global register variables
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp: In function `void op_execute(uint8*, basic_cpu*)':
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:305: error: expected `)' before '(' token
make: *** [obj/basic-dyngen-ops.o] Error 1


k, Update 2

Adding :-

#define ASM_SIZE(NAME) ""

at line 124 of dyngen-exec.h fixed the above problem.... now got another...

Code:
obj/ether.o:ether.cpp:(.text+0x3e3): undefined reference to `AO_get_ethernet_address(unsigned int)'
obj/ether.o:ether.cpp:(.text+0x558): undefined reference to `AO_disable_multicast(unsigned int)'
obj/ether.o:ether.cpp:(.text+0x76d): undefined reference to `AO_transmit_packet(unsigned int)'
obj/ether.o:ether.cpp:(.text+0x182c): undefined reference to `AO_enable_multicast(unsigned int)'
obj/ether.o:ether.cpp:(.text+0x19b2): undefined reference to `AO_disable_multicast(unsigned int)'
obj/sheepshaver_glue.o:sheepshaver_glue.cpp:(.text+0xead): undefined reference to `AO_transmit_packet(unsigned int)'
obj/sheepshaver_glue.o:sheepshaver_glue.cpp:(.text+0xebd): undefined reference to `AO_disable_multicast(unsigned int)'
obj/sheepshaver_glue.o:sheepshaver_glue.cpp:(.text+0xecd): undefined reference to `AO_enable_multicast(unsigned int)'
obj/sheepshaver_glue.o:sheepshaver_glue.cpp:(.text+0xedd): undefined reference to `AO_get_ethernet_address(unsigned int)'
collect2: ld returned 1 exit status
make: *** [SheepShaver.exe] Error 1


/Chip.


Top
 Profile  
Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 2 of 2 [ 47 posts ]    Go to page Previous  1, 2


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group