jjfhk / dop-mii

Automatically exported from code.google.com/p/dop-mii
GNU General Public License v3.0
0 stars 0 forks source link

R120 will not build -- Libogc SVN #55

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
UsbStorage.c has problems causing it not to compile.  This is causing the build 
to fail.  Can someone please fix UsbStorage.c?  RuntimeIOSPatch.c could use 
some help also.  I have attached my build log.  Thanks... 

Original issue reported on code.google.com by gsoud...@cox.net on 16 Sep 2010 at 1:08

Attachments:

GoogleCodeExporter commented 8 years ago
I figured out my problem with building Dop-Mii.  I had updated libogc to the 
latest release.  The new version caused UsbStorage.c to not compile.  Thanks...

Original comment by gsoud...@cox.net on 21 Sep 2010 at 5:33

GoogleCodeExporter commented 8 years ago
DOP-Mii WiiBrew Edition will build with SVN libogc. The main branch won't 
though. I personally don't use SVN libogc so there's no chance of the main 
branch being updated to support it until the next official release of libogc.

Original comment by castleva...@yahoo.com on 3 Oct 2010 at 6:42

GoogleCodeExporter commented 8 years ago
Well R125 now builds with libogc 1.8.4 but the app will not run.  The app 
crashes with a stack dump.  I suspect the changes to UsbStorage.c are not 
correct but I am not sure.  There are also compiler warnings that should be 
cleaned up with RuntimeIOSPatch.c and UsbStorage.c. 

Original comment by gsoud...@cox.net on 10 Oct 2010 at 10:53

GoogleCodeExporter commented 8 years ago
I have the same issue, R125 builds ok, however the app crashes immediately at 
loading.

Original comment by jairsi...@gmail.com on 11 Oct 2010 at 8:49

GoogleCodeExporter commented 8 years ago
Yeah, its code in the USB stuff crashing this. If you want, try unplugging your 
USB drive or removing code in the changed functions and hardcoding them to 
return an error.

Original comment by castleva...@yahoo.com on 12 Oct 2010 at 1:30

GoogleCodeExporter commented 8 years ago
I forced return errors and now runs fine :)

*** UsbStorage.c     Mon Oct 11 20:57:57 2010
--- UsbStorageNew.c  Mon Oct 11 20:56:04 2010
***************
*** 485,491 ****
        if(SYS_CreateAlarm(&dev->alarm)<0)
                goto free_and_return;

!       retval = USB_OpenDevice((s32)bus, vid, pid, &dev->usb_fd);
        if(retval < 0)
                goto free_and_return;

--- 485,492 ----
        if(SYS_CreateAlarm(&dev->alarm)<0)
                goto free_and_return;

!       //retval = USB_OpenDevice((s32)bus, vid, pid, &dev->usb_fd);
!       retval = -1;
        if(retval < 0)
                goto free_and_return;

***************
*** 750,755 ****
--- 751,758 ----

  static bool __usbstorage_IsInserted(void)
  {
+
+       return false;

        usb_device_entry *ourusb;
        ourusb->device_id = USB_OH0_DEVICE_ID;

Original comment by jairsi...@gmail.com on 12 Oct 2010 at 2:02

GoogleCodeExporter commented 8 years ago
I've tried SysCheck option and it crashes after displaying IOS28 and before 
displaying IOS22 info. Does anyone is having the same issue?

The IOS56 rev5662 entry is missing in Titles.xml

This is the first time I comment in a googlecode project, so I have a doubt, am 
I hijacking this issue? Maybe I must open a new Issue.

Thanks!

Original comment by jairsi...@gmail.com on 13 Oct 2010 at 7:52

GoogleCodeExporter commented 8 years ago
im trying to compile but i keep getting an error saying no rule to make.

Original comment by bigbadwo...@yahoo.com on 14 Oct 2010 at 7:52

Attachments:

GoogleCodeExporter commented 8 years ago
Try renaming your directory from C:\dop mii to C:\dop-mii, I think it complains 
about the blank.

Original comment by jairsi...@gmail.com on 15 Oct 2010 at 3:37

GoogleCodeExporter commented 8 years ago
thank you it went farther this time but errored out again this time at a 
different spot

Original comment by bigbadwo...@yahoo.com on 15 Oct 2010 at 11:34

Attachments:

GoogleCodeExporter commented 8 years ago
^^
You don't have libxml installed.

Original comment by castleva...@yahoo.com on 16 Oct 2010 at 8:16

GoogleCodeExporter commented 8 years ago
i download libxml 2.2.7 put it in the devkitpro folder but it still isnt working

Original comment by bigbadwo...@yahoo.com on 19 Oct 2010 at 8:03

GoogleCodeExporter commented 8 years ago
You didnt install it correctly. It doesnt go in the devkitpro folder :/ It goes 
in libogc.

Original comment by castleva...@yahoo.com on 20 Oct 2010 at 2:20

GoogleCodeExporter commented 8 years ago
thank you turns out i downloaded the wrong libxml i got it now thank you

Original comment by bigbadwo...@yahoo.com on 20 Oct 2010 at 1:21

GoogleCodeExporter commented 8 years ago
libmxml does *not* go in libogc, it goes in $DEVKITPRO/portlibs/ppc, see 
http://devkitpro.org/wiki/portlibs

Original comment by devkitD...@gmail.com on 26 Oct 2010 at 9:33

GoogleCodeExporter commented 8 years ago
libogc 1.8.5 was released on the 26th of October.

Original comment by repinsk...@gmail.com on 29 Oct 2010 at 3:42

GoogleCodeExporter commented 8 years ago
Fixed for awhile now.

Original comment by castleva...@yahoo.com on 21 Nov 2010 at 4:22