PSP Hacks - Forums

Go Back   PSP Hacks - Forums > PSP Community > PSP Programming & Development

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-08-2009, 09:22 AM
tckotb tckotb is offline
PSP Newbie
 

Join Date: Nov 2009
Posts: 3
tckotb Has a Beginner Reputation
Question PSPDEV help (hello world)

when I try to compile my main.c (classic psp helloworld and makefile) I get pages and pages of errors and warnings and at the end it says:
make: *** [make.o] Error 1

It goes over the file like 3 times, with an error or two for each line. Help? It does the same with cygwin and cmd.

Makefile:
TARGET = hello
OBJS = main.o

CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Hello World

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak

main.c:
http://en.wikibooks.org/wiki/PSP_Pro...ng/Hello_World
Reply With Quote
  #2  
Old 11-08-2009, 09:23 AM
Demonchild's Avatar
Demonchild Demonchild is offline
[S.S.D.D] Moderator
PSP Titan
 

Join Date: Dec 2007
Location: New York City
Posts: 8,474
Demonchild has a spectacular aura aboutDemonchild has a spectacular aura aboutDemonchild has a spectacular aura about
Default

Moved to Programming
Reply With Quote
  #3  
Old 11-08-2009, 09:38 AM
tckotb tckotb is offline
PSP Newbie
 

Join Date: Nov 2009
Posts: 3
tckotb Has a Beginner Reputation
Default

It give a lot of output about implicit declarations and undeclared functions and what-not
Reply With Quote
  #4  
Old 11-08-2009, 10:16 AM
Aaron*1 Aaron*1 is offline
PSP Guru
 

Join Date: Jan 2008
Posts: 1,557
Aaron*1 will become famous soon enoughAaron*1 will become famous soon enough
Default

Check for ANY and ALL errors in the makefile and the mainfile...

If you copy and pasted any speech marks it might be the weird slanted ones which sometimes are used which are wrong...
__________________
Potato.
Reply With Quote
  #5  
Old 11-08-2009, 01:07 PM
Stinkee2's Avatar
Stinkee2 Stinkee2 is offline
Programmer
PSP Enthusiast
 

Join Date: Jul 2009
Location: int main()
Posts: 300
Stinkee2 is on a distinguished road
Default

Can you post all the errors you get?
You should use [C0DE][/C0DE] when posting any source code.
__________________
-----------------------------------------

The Real Brian Peppers (Told From Brother)

=D
By far my favorite quote ever:
"PM Oyabun a bunch of gay pr0n and you're in." - ...BeAkEr...
Other Funny Quotes:
Spoiler:

"Jesse, I need your supercapacitor!" - Ian Flournoy

"Fascism, pronounced fæʃɪzəm" - Wikipedia

Me: "Hang on, Im fertelizing the plant."
Dad: "My hand is gonna fertelize your ass in a minute!" - Dad (RIP)

Last edited by Stinkee2; 11-08-2009 at 01:32 PM.
Reply With Quote
  #6  
Old 11-08-2009, 03:23 PM
MTN's Avatar
MTN MTN is offline
Programmer
PSP Hacks Member
 
Join Date: Jan 2009
Location: ...
Posts: 291
MTN Has a Beginner Reputation
Default

Quote:
Originally Posted by Stinkee2 View Post
Can you post all the errors you get?
You should use [C0DE][/C0DE] when posting any source code.
+ [sp0iler][c0de][/c0de][/sp0iler] if it has a lot of lines ...
i havent read it but to get rid of the implicit declarations make a header file and include everything you use / declare your own functions (e.g. void WTF(int,int); )
Reply With Quote
Reply

Tags
code, coding, dev, hello world, pspdev

 



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:01 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
©