WiiRd forum

USB Gecko Related => USB Gecko Dev => Topic started by: Kamek on April 07, 2009, 01:33:38 AM

Title: Compiling Gecko OS
Post by: Kamek on April 07, 2009, 01:33:38 AM
I can't seem to compile Gecko OS properly. I get the following errors:

> "make"
apploader.c
e:/Wii/GeckoOS/source/apploader.c:91: error: conflicting types for 'settime'
c:/devkitPro/libogc/include/ogc/lwp_watchdog.h:68: error: previous declaration of 'settime' was here
e:/Wii/GeckoOS/source/apploader.c: In function 'apploader':
e:/Wii/GeckoOS/source/apploader.c:396: warning: assignment makes integer from pointer without a cast
e:/Wii/GeckoOS/source/apploader.c:410: warning: implicit declaration of function 'sdio_Startup'
e:/Wii/GeckoOS/source/apploader.c:413: error: 'PI_INTERNAL_SD' undeclared (first use in this function)
e:/Wii/GeckoOS/source/apploader.c:413: error: (Each undeclared identifier is reported only once
e:/Wii/GeckoOS/source/apploader.c:413: error: for each function it appears in.)
e:/Wii/GeckoOS/source/apploader.c:413: error: invalid use of void expression
e:/Wii/GeckoOS/source/apploader.c:414: warning: implicit declaration of function 'fatUnsafeUnmount'
e:/Wii/GeckoOS/source/apploader.c:418: warning: implicit declaration of function 'sdio_Deinitialize'
make[1]: *** [apploader.o] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:01


Am I using an outdated version of the source code, or did I just set it up wrong?
Title: Re: Compiling Gecko OS
Post by: Blaster99 on April 07, 2009, 09:44:12 AM
Hi,

i had the same problem. I suggest you are using the newest DevkitPro.
The sourcecode was build using an older version of DevKitpro, i think it was 1.4.7.

Try using this older 1.4.7, this should work (although i still did not make it to compile so that its working).

Bye
  Blaster99
Title: Re: Compiling Gecko OS
Post by: Jassim on April 07, 2009, 11:16:34 AM
i had the same problem and eventually i just gave up with it.
Title: Re: Compiling Gecko OS
Post by: Panda On Smack on April 07, 2009, 01:04:22 PM
I think when the newest version come out you will be able to compile it because it's being made with the latest version of the devkit
Title: Re: Compiling Gecko OS
Post by: agrs700 on April 07, 2009, 11:30:40 PM
Quote from: Jassim on April 07, 2009, 11:16:34 AM
i had the same problem and eventually i just gave up with it.
LOL
Title: Re: Compiling Gecko OS
Post by: Kamek on April 08, 2009, 02:33:26 AM
Okay, so it's not something I'm doing wrong. Thanks   :cool:
Title: Re: Compiling Gecko OS
Post by: brkirch on April 09, 2009, 06:14:30 PM
Quote from: Panda On Smack on April 07, 2009, 01:04:22 PM
I think when the newest version come out you will be able to compile it because it's being made with the latest version of the devkit
I've actually decided I won't be releasing the source (I apologize for changing my stance on that.  I originally thought the source for the new version was under the same license as the source for the previous one, but when I found out it wasn't I decided it would be best not to release the source so that it doesn't end up being completely copied into a backup loader).

Since I won't be releasing the source for the next version, I figured the least I can do is fix up the old sources to compile on newer versions of devkitpro:
http://brkirch.googlepages.com/Gecko107b.7z (http://brkirch.googlepages.com/Gecko107b.7z)

You shouldn't need to do anything special to get those fixed sources to compile correctly, you don't even need to change rvl.ld.
Title: Re: Compiling Gecko OS
Post by: Kamek on April 09, 2009, 11:00:24 PM
Thanks  ;D
Title: Re: Compiling Gecko OS
Post by: Blaster99 on April 10, 2009, 12:33:23 PM
Hi,

thank you so much brkirch. Finally i can compile :)

Bye
  Blaster99
Title: Re: Compiling Gecko OS
Post by: matt123337 on April 20, 2009, 12:10:50 AM
Thanks birkrich! now to try that idea I had...