Richter64 / usbloader-gui

Automatically exported from code.google.com/p/usbloader-gui
0 stars 0 forks source link

Compile error with libogc r3470 #257

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download, compile, and install the latest libogc from SVN.
2. Try to make usbloader-gui.

What is the expected output? What do you see instead?
Instead of compiling properly, you get the error:
usbloader-gui/source/disc.c:139: error: conflicting types for 'settime'
libogc/include/ogc/lwp_watchdog.h:68: error: previous declaration of
'settime' was here
make[1]: *** [disc.o] Error 1
make: *** [build] Error 2

What version of the product are you using? On what operating system?
Linux
libogc r3470
usbloader-gui r324

Please provide any additional information below.
changing line 139
-     extern void settime(long long);
+     extern void settime(u64);
fixes the problem (but would break compiling with older revisions of libogc).

Original issue reported on code.google.com by DRa...@gmail.com on 12 May 2009 at 2:40

GoogleCodeExporter commented 8 years ago
I'll leave this Issue open for others who are changing to new libogc to know 
that.

Original comment by dimok...@hotmail.de on 12 May 2009 at 10:19

GoogleCodeExporter commented 8 years ago

Original comment by dimok...@hotmail.de on 20 May 2009 at 4:39