Problem using make command- Linux

support for the ARM toolchain
Post Reply
RomPirate
Posts: 1
Joined: Mon Oct 29, 2012 11:02 pm

Problem using make command- Linux

Post by RomPirate » Mon Oct 29, 2012 11:13 pm

Hello

I am having a problem running the make command for the examples for devkitARM

I have installed devkitARM as instructed at: http://devkitpro.org/wiki/Getting_Started/devkitARM
The folder structure is:
/usr/local/devkitPro
/usr/local/devkitPro/devkitARM
/usr/local/devkitPro/libnds/
/usr/local/examples/nds/

When I run "make" inside of /examples/nds, I get the following error:

Code: Select all

Makefile:6: *** "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM".  Stop.
I have already added the Enviornmental variable to my .bashrc file, in fact typing "echo $DEVKITARM" will give me:

Code: Select all

/usr/local/devkitPro/devkitARM
typing "echo $DEVKITPRO" gives:

Code: Select all

/usr/local/devkitPro/devkitARM
I have even tried:

Code: Select all

export DEVKITPRO=/usr/local/devkitPro/devkitARM
before the make command and still get the same error.

I seem to have the same problem as the OP here: http://devkitpro.org/viewtopic.php?f=2&t=395&start=20 who somehow fixed it but never said how

I would appreciate any help :D

mtheall
Posts: 210
Joined: Thu Feb 03, 2011 10:47 pm

Re: Problem using make command- Linux

Post by mtheall » Mon Nov 05, 2012 7:08 pm

You haven't realized there are two environment variables:

Code: Select all

export DEVKITPRO=/usr/local/devkitPro
export DEVKITARM=${DEVKITPRO}/devkitARM

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests