make error help

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
doc.o
Posts: 6
Joined: Wed Jul 26, 2006 3:59 pm

make error help

Post by doc.o »

This annoying error keeps coming up the files are currently there.

Image

please help.
User avatar
daurnimator
Posts: 38
Joined: Sun Dec 11, 2005 8:36 pm
Location: melbourne, australia

Post by daurnimator »

i'd say you're missing a makefile - or you've copied someone elses, and have no idea what you're doing
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Your $PS2SDK is empty. You can tell by it trying to access '/samples/Makefile.pref'.

Reread the instructions that came with your toolchain installation, specifically the part about environment variables.
doc.o
Posts: 6
Joined: Wed Jul 26, 2006 3:59 pm

Post by doc.o »

ooPo wrote:Your $PS2SDK is empty. You can tell by it trying to access '/samples/Makefile.pref'.

Reread the instructions that came with your toolchain installation, specifically the part about environment variables.
But it isn't the files are there current in my folder it doesn't make any sense. Proof below.

Image
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

It is trying to access '$PS2SDK/samples/Makefile.pref'. Usually if $PS2SDK is set properly it will look in '/usr/local/ps2dev/ps2sdk/samples/Makefile.pref'. Since your $PS2SDK isn't set, or is empty, it is looking in '/samples/Makefile.pref'.

Reread the part in the README.TXT about setting the proper environment variables.
Post Reply