build.mak file not found
-
- Posts: 11
- Joined: Thu May 03, 2007 7:50 am
build.mak file not found
every time i go to compile something i get this error /lib/build.mak file not found. I'm running ubuntu linux if that helps.
Makefile:21: /lib/build.mak: No such file or directory
Makefile:21: /lib/build.mak: No such file or directory
-
- Posts: 13
- Joined: Wed Nov 22, 2006 12:28 am
-
- Posts: 11
- Joined: Thu May 03, 2007 7:50 am
-
- Posts: 11
- Joined: Thu May 03, 2007 7:50 am
I think i know what went wrong with the install instead of me doing ./toolchain.sh i did ./toolchain-sudo.sh . So now i did that and i got this error;
ERROR: Set $PSPDEV before continuing.
../depends/check-pspdev.sh: Failed.
oh nevermind i found the problem i forgot to put in the toolchain.sh file
## Set up the environment.
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
and now it is installing hope this works.
This is a little bit of what i get while doing this
ERROR: Set $PSPDEV before continuing.
../depends/check-pspdev.sh: Failed.
oh nevermind i found the problem i forgot to put in the toolchain.sh file
## Set up the environment.
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
and now it is installing hope this works.
This is a little bit of what i get while doing this
Code: Select all
gcc -DHAVE_CONFIG_H -I. -I../../binutils -I. -D_GNU_SOURCE -I. -I../../binutils -I../bfd -I../../binutils/../bfd -I../../binutils/../include -I../../binutils/../intl -I../intl -DLOCALEDIR="\"/usr/local/pspdev/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -D_LARGEFILE64_SOURCE -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ../../binutils/addr2line.c
gcc -DHAVE_CONFIG_H -I. -I../../binutils -I. -D_GNU_SOURCE -I. -I../../binutils -I../bfd -I../../binutils/../bfd -I../../binutils/../include -I../../binutils/../intl -I../intl -DLOCALEDIR="\"/usr/local/pspdev/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -D_LARGEFILE64_SOURCE -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ../../binutils/readelf.c
-
- Posts: 13
- Joined: Wed Nov 22, 2006 12:28 am
-
- Posts: 11
- Joined: Thu May 03, 2007 7:50 am
-
- Posts: 11
- Joined: Thu May 03, 2007 7:50 am
I tried to compile the 3.50 downgrader to see if i could get it to work and i still get this.
cotyrothery@cotyrothery-desktop:~/Desktop/src/Downgrader350$ make
make -C decryptprx decryptprx.prx
make[1]: psp-config: Command not found
make[1]: Entering directory `/home/cotyrothery/Desktop/src/Downgrader350/decryptprx'
Makefile:21: /lib/build.mak: No such file or directory
make[1]: *** No rule to make target `/lib/build.mak'. Stop.
make[1]: Leaving directory `/home/cotyrothery/Desktop/src/Downgrader350/decryptprx'
make: *** [decryptprx/decryptprx.prx] Error 2
cotyrothery@cotyrothery-desktop:~/Desktop/src/Downgrader350$
cotyrothery@cotyrothery-desktop:~/Desktop/src/Downgrader350$ make
make -C decryptprx decryptprx.prx
make[1]: psp-config: Command not found
make[1]: Entering directory `/home/cotyrothery/Desktop/src/Downgrader350/decryptprx'
Makefile:21: /lib/build.mak: No such file or directory
make[1]: *** No rule to make target `/lib/build.mak'. Stop.
make[1]: Leaving directory `/home/cotyrothery/Desktop/src/Downgrader350/decryptprx'
make: *** [decryptprx/decryptprx.prx] Error 2
cotyrothery@cotyrothery-desktop:~/Desktop/src/Downgrader350$
-
- Posts: 11
- Joined: Thu May 03, 2007 7:50 am
Here's a post on setting up the ps3toolchain under cygwin, but the process is very similar for the psptoolchain:
http://forums.ps2dev.org/viewtopic.php?p=55107#55107
http://forums.ps2dev.org/viewtopic.php?p=55107#55107
Enjoy.14. edit .bash_profile and add the following lines to the bottom.
-
- Posts: 11
- Joined: Thu May 03, 2007 7:50 am