[uae] Re: 0.8.27-RC1 Not working on Mandrake 10 (Official)

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Sun, 24 Oct 2004 05:10:57 -0500

Hi Tamás 

On Sunday 24 October 2004 04:05 am, Vándorffy Tamás wrote:
> Yes indeed, I used the reset button to start the emulation...
> Sutpid of me! :-) When using the pause, it works okay!

Not stupid at all. This was something that used to work, but the behaviour 
changed with the WinUAE 0.8.27 merge. Attached is a simple patch to restore 
the old behaviour.

> Here is another question: :-)
> Now, my e-uae starts up, but it is complaining that it is not able to
> open the uaescsi.device. Now I configured e-uae with the
> --enable-scsi-device parameter, and I installed the necessary libraries
> from the cdrtools package using the install script in src. When the
> configure script runs, it detects the installed libraries in the source
> tree, but does not detect the libscg and libschilly in the system:
> checking for libscg and libschily... no
> checking for libscg and libschily in UAE source tree... yes
> I have these two rpms installed on my system and I've found
> the two libraries in /usr/lib:
> cdrecord-2.01-0.a28.2.100mdk
> cdrecord-devel-2.01-0.a28.2.100mdk
> Now I peeked in the config.log file and I've found this:
> configure:16638: checking for libscg and libschily
> configure:16674: gcc -o conftest   -I/usr/include -I  -L/usr/lib conftest.c
> -lz  -ldl -L  >&5
> gcc: argument to `-L' is missing
> configure:16680: $? = 1
> configure: failed program was:

Yes the "gcc: argument to `-L' is missing" indicates a bug (but it only 
affects you if you're linking against the system version of libsg). I'll fix 

> My question: is it okay, if the configure scripts detects these two
> libraries in the e-uae source tree? Will e-uae compile with the scsi-device
> enabled?

You only need one or the other. If you installed libscg in the source tree 
(with the script provided), and the config script finds it, then I expect 
SCSI support is being compiled in okay.

> Oh, one more thing: I've also set up the UAE_SCSI_DEVICE enviroment
> variable in my bash_profile file and set it to atapi.

Which kernel are you using? If you have a 2.6 kernel and you have an ATAPI 
device, then setting UAE_SCSI_DEVICE to ATAPI (all in upper case) should 

Send me the console output from UAE.

> Thanks again and keep up the good work!!!

You're welcome.

Index: main.c
RCS file: /cvsroot/uaedev/uae/src/main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- main.c      7 Sep 2004 21:05:21 -0000       1.8
+++ main.c      24 Oct 2004 09:57:57 -0000      1.9
@@ -532,7 +532,7 @@
     /* Do a reset on startup. Whether this is elegant is debatable. */
     inputdevice_updateconfig (&currprefs);
-    if (quit_program >= 0)
+//    if (quit_program >= 0)
         quit_program = 2;
     m68k_go (1);

Other related posts: