forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

One error during make(include?)

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
maxhoov



Joined: 12 Jul 2005
Posts: 5

PostPosted: Tue Jul 12, 2005 11:41 am    Post subject: One error during make(include?) Reply with quote

I run start.bat,and navigate to target-path(X:\PSPDev\psp\sdk\samples\sdktest).
type make,and I get an error:
MAKE Version 5.2 (...)
Error makefile 15: Command syntax error
*** 1 errors during make ***


I don't know what's wrong with it.So I want someone help me.
Thx for your help!
Code:

//filename:start.bat
set path=%path%;X:\PSPDev\bin
set PSPSDK=X:\PSPDev\psp\sdk
cmd X:\PSPDev\psp\sdk\samples\sdktest

Code:

//filename:makefile
01  TARGET = sdktest
02  OBJS = main.o
03
04  INCDIR =
05  CFLAGS = -O2 -G0 -Wall
06  CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
07  ASFLAGS = $(CFLAGS)
08
09  LIBDIR =
10  LDFLAGS =
11 
12  EXTRA_TARGETS = EBOOT.PBP
13  PSP_EBOOT_TITLE = SDK Test v1.0
14
15  include $(PSPSDK)/lib/build.mak

/maxhoov
Back to top
View user's profile Send private message
rinco



Joined: 21 Jan 2005
Posts: 255
Location: Canberra, Australia

PostPosted: Tue Jul 12, 2005 12:14 pm    Post subject: Reply with quote

I'm guessing the error is in line 15 of the included file... ie:

Code:
$(error $$(PSPSDK) is undefined.  Use "PSPSDK := $$(shell psp-config --pspsdk-path)" in your Makefile)
Back to top
View user's profile Send private message
maxhoov



Joined: 12 Jul 2005
Posts: 5

PostPosted: Tue Jul 12, 2005 12:41 pm    Post subject: Reply with quote

>>>rinco
I've tried,and matters remain just as they were.

Thx for your help!

/maxhoov
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Tue Jul 12, 2005 2:10 pm    Post subject: Reply with quote

GNU Make is required.
Back to top
View user's profile Send private message
maxhoov



Joined: 12 Jul 2005
Posts: 5

PostPosted: Tue Jul 12, 2005 3:07 pm    Post subject: Reply with quote

>>>mrbrown
U're right!
I think it's the root of the problem.
Thank u very much!
Would u give me a link to get GNU make(for win32)?
Thank u very very very much!!!:-)

/maxhoov
Back to top
View user's profile Send private message
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Tue Jul 12, 2005 3:41 pm    Post subject: Reply with quote

Get cygwin: www.cygwin.com/setup.exe
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
maxhoov



Joined: 12 Jul 2005
Posts: 5

PostPosted: Tue Jul 12, 2005 4:02 pm    Post subject: Reply with quote

>>>agoln
Thx!:)

/maxhoov
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group