Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems Compiling Popsloader #21

Open
GoogleCodeExporter opened this issue Mar 18, 2015 · 4 comments
Open

Problems Compiling Popsloader #21

GoogleCodeExporter opened this issue Mar 18, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

Hi iam in Windows 7 using Cygwin,mercurial,Pspsdk

As you may know already to compile ProCFW
Is simple by following the instructions
giving in here:

http://code.google.com/p/procfw/wiki/CompilingOnWin

Ok the  first to last steps to compile ProCfw are:

Run to get Updates:
hg clone https://code.google.com/p/procfw/

run to enter Directory
cd ~/procfw

run to make dependencies
make deps

Run to build Nightly
make CONFIG_620=1 NIGHTLY=1 <= Nightly Rev)

-------------------------------------
the question is not ProCfw build
Is how you build popsloader in win 7?

i try to do same steps:

Run to get updates
hg clone https://code.google.com/p/popsloader/ 

Run to enter Directory
cd ~/popsloader/popsloader

not sure what to do after this:
make clean?<it work but ends with error
make?<it work but ends with error
maybe not the right commands?
i get error everytime!
maybe this are not the steps
iam trying to learn as i don't know
much but my brain is asking for some knowledge XD
please help! thanks in advance.

Original issue reported on code.google.com by [email protected] on 4 Sep 2011 at 1:16

@GoogleCodeExporter
Copy link
Author

make PRO_HOME=~/procfw

Original comment by [email protected] on 5 Sep 2011 at 6:04

@GoogleCodeExporter
Copy link
Author

NOPE did not work! 
i want popsloader NOT Pro CFW.

in Windows this are my commands:

cd ~/procfw
make deps
make CONFIG_660=1 NIGHTLY=1

I have try:
cd ~/popsloader <=wont work as the make file is not in that directory.
cd ~/popsloader/popsloader <= this one works

make_clean <=works
make <= comes with and error

Original comment by [email protected] on 6 Sep 2011 at 2:03

@GoogleCodeExporter
Copy link
Author

No. Popsloader requires some libraries from PRO CFW. You just need to provide 
them by specifying PRO_HOME.

cd ~/procfw
make clean
make deps
make CONFIG_660=1 NIGHTLY=1

cd ~/popsloader/popsloader
make clean
make PRO_HOME=~/procfw

next time please paste error log.

Original comment by [email protected] on 6 Sep 2011 at 5:42

@GoogleCodeExporter
Copy link
Author

built procfw with CONFIG_660=1 NIGHTLY=1

then attempted to build popsloader with 
LC_ALL=C make PRO_HOME=../../procfw

make -j4 -C proheaparea
make[1]: Entering directory 
`/home/mkowalski/src/popsloader/popsloader/proheaparea'
psp-gcc -I. -I/home/mkowalski/opt/psp/psp/sdk/include -Os -G0 -Wall -I. -I 
~/635PRO/Common -I ~/635PRO/include -fno-toplevel-reorder -nostartfiles 
-D_PSP_FW_VERSION=635    -c -o main.o main.c
psp-gcc -I. -I/home/mkowalski/opt/psp/psp/sdk/include -Os -G0 -Wall -I. -I 
~/635PRO/Common -I ~/635PRO/include -fno-toplevel-reorder -nostartfiles    -c 
-o imports.o imports.S
psp-build-exports -b exports.exp > exports.c
psp-gcc -I. -I/home/mkowalski/opt/psp/psp/sdk/include -Os -G0 -Wall -I. -I 
~/635PRO/Common -I ~/635PRO/include -fno-toplevel-reorder -nostartfiles 
-D_PSP_FW_VERSION=635    -c -o exports.o exports.c
exports.c:11:17: warning: taking address of expression of type 'void'
exports.c:12:17: warning: taking address of expression of type 'void'
exports.c:13:17: warning: taking address of expression of type 'void'
exports.c:21:17: warning: taking address of expression of type 'void'
exports.c:22:17: warning: taking address of expression of type 'void'
psp-gcc -I. -I/home/mkowalski/opt/psp/psp/sdk/include -Os -G0 -Wall -I. -I 
~/635PRO/Common -I ~/635PRO/include -fno-toplevel-reorder -nostartfiles 
-D_PSP_FW_VERSION=635   -L. -L/home/mkowalski/opt/psp/psp/sdk/lib 
-specs=/home/mkowalski/opt/psp/psp/sdk/lib/prxspecs 
-Wl,-q,-T/home/mkowalski/opt/psp/psp/sdk/lib/linkfile.prx   main.o imports.o 
exports.o  -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet 
-lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser 
-lpspkernel -o proheaparea.elf
psp-fixup-imports proheaparea.elf
psp-prxgen proheaparea.elf proheaparea.prx
rm exports.c
make[1]: Leaving directory 
`/home/mkowalski/src/popsloader/popsloader/proheaparea'
make -j4 -C loader 
make[1]: Entering directory `/home/mkowalski/src/popsloader/popsloader/loader'
psp-gcc -I/home/mkowalski/opt/psp/psp/sdk/include/libc -I. 
-I/home/mkowalski/opt/psp/psp/sdk/include -Os -G0 -Wall -I../common 
-I../../procfw/include -I../../procfw/Common -D_PSP_FW_VERSION=620   -c -o 
main.o main.c
psp-gcc -I/home/mkowalski/opt/psp/psp/sdk/include/libc -I. 
-I/home/mkowalski/opt/psp/psp/sdk/include -Os -G0 -Wall -I../common 
-I../../procfw/include -I../../procfw/Common -D_PSP_FW_VERSION=620   -c -o ui.o 
ui.c
psp-gcc -I/home/mkowalski/opt/psp/psp/sdk/include/libc -I. 
-I/home/mkowalski/opt/psp/psp/sdk/include -Os -G0 -Wall -I../common 
-I../../procfw/include -I../../procfw/Common -D_PSP_FW_VERSION=620   -c -o 
../common/utils.o ../common/utils.c
psp-gcc -I/home/mkowalski/opt/psp/psp/sdk/include/libc -I. 
-I/home/mkowalski/opt/psp/psp/sdk/include -Os -G0 -Wall -I../common 
-I../../procfw/include -I../../procfw/Common -D_PSP_FW_VERSION=620   -c -o 
../common/vsnprintf.o ../common/vsnprintf.c
../common/utils.c:24:24: fatal error: systemctrl.h: No such file or directory
compilation terminated.
make[1]: *** [../common/utils.o] Error 1
make[1]: *** Waiting for unfinished jobs....
../common/vsnprintf.c:27:19: fatal error: utils.h: No such file or directory
compilation terminated.
make[1]: *** [../common/vsnprintf.o] Error 1
main.c:28:19: fatal error: utils.h: No such file or directory
compilation terminated.
make[1]: *** [main.o] Error 1
ui.c:9:19: fatal error: utils.h: No such file or directory
compilation terminated.
make[1]: *** [ui.o] Error 1
make[1]: Leaving directory `/home/mkowalski/src/popsloader/popsloader/loader'
make: *** [all] Error 2
--------------------------------------------------------------------------
all attempted with latest checkouts of both.


btw. worth noting : 

proheaparea/Makefile has a line : 
CFLAGS = -Os -G0 -Wall -I. -I ~/635PRO/Common -I ~/635PRO/include (...)

it's wrong and yet it builds fine.

Original comment by [email protected] on 3 Oct 2011 at 8:38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant