Page 1 of 1

Hi im Brian. Im new here and I wanted to ask for some help..

Posted: Mon Sep 07, 2009 7:06 am
by chrono31
ok so I got helloworld to work through Wiiload

And now im trying to make different programs

Like I was tryin to make this one:
#include
// ...
SYS_ResetSystem(SYS_RESTART,0,0);


Which is reboot.elf

in programmers notepad I try to make it and it
says: make: ***no target specified and no makefile found

Do I need to make a make file first before I compile it in Programmers Notepad??
If so how?

Thanks for helping a newb :)

I tried to use the make file from helloworld to see if that works but It diden't...

Is there more tuts somewhere? like on this site that can teach me this stuff??

Re: Hi im Brian. Im new here and I wanted to ask for some help..

Posted: Mon Sep 07, 2009 7:55 am
by vuurrobin
you will need a makefile to create the programs.

what kind of errors do you get when using the makefile from hello world.

Re: Hi im Brian. Im new here and I wanted to ask for some help..

Posted: Mon Sep 07, 2009 8:20 am
by chrono31
First I wanna thank you for answering my post. Ive made this post in 4 different forums
and no one seems to care...


As to your qeustion,

when I run Reboot.elf
with helloworld make file
I get this:
> "make"
linking ... Reboot.elf
c:devkitpro/devkit.ppc/bin/../lib/gcc/power-pcgekko/4.2.4/../../../../power-pcgekko/lib/crtmain.o: In function '_crtmain':
e:projects/devkitpro/buildscripts/new-lib1.17.0/libgloss/rs6000/crt.main.c:18: undefined reference to 'main'
collect 2: Id 1 exit status
make [1] : *** [/c/projects/wii/wii Reboot.elf] Error 1
"make": *** [Build] Error 2

Process Exit Code:2
Time Taken: 00:02

Thanks again:)

Just in case my msn is [email protected]
If thats easier.. Just throwin it out there...


Hmmmm I successfully made the elf and dol (Just copied the source file into it)

But now Its not showing up on homebrew....

Re: Hi im Brian. Im new here and I wanted to ask for some help..

Posted: Sun Sep 13, 2009 6:37 pm
by psycorpse
Hey Brian,

Did you get this to work?

Mike