DragonNeos / popsloader

Automatically exported from code.google.com/p/popsloader
0 stars 0 forks source link

Problems Compiling Popsloader #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 jvhellra...@gmail.com on 4 Sep 2011 at 1:16

GoogleCodeExporter commented 9 years ago
make PRO_HOME=~/procfw

Original comment by popsd...@gmail.com on 5 Sep 2011 at 6:04

GoogleCodeExporter commented 9 years ago
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 jvhellra...@gmail.com on 6 Sep 2011 at 2:03

GoogleCodeExporter commented 9 years ago
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 popsd...@gmail.com on 6 Sep 2011 at 5:42

GoogleCodeExporter commented 9 years ago
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 yoshi...@gmail.com on 3 Oct 2011 at 8:38