Compiling Gecko OS

Started by Kamek, April 07, 2009, 01:33:38 AM

Previous topic - Next topic

Kamek

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?

Blaster99

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
If you like my codes, please click the thank you button !

Jassim

i had the same problem and eventually i just gave up with it.

do NOT pm me to request a code or if you have any problems with my code.
[spoiler]http://cristgaming.com/pirate.swf[/spoiler]



Panda On Smack

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

agrs700

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
Click here to level up my brawl card

Hacking status:(Pal)
- None

Kamek

Okay, so it's not something I'm doing wrong. Thanks   :cool:

brkirch

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

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.

Kamek


Blaster99

Hi,

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

Bye
  Blaster99
If you like my codes, please click the thank you button !

matt123337

Thanks birkrich! now to try that idea I had...