Closed GoogleCodeExporter closed 9 years ago
------ Build started: Project: Priiloader, Configuration: Release Win32 ------
Performing Makefile project actions
'make' is not recognized as an internal or external command,
operable program or batch file.
Project : error PRJ0019: A tool returned an error code from "Performing
Makefile
project actions"
Build log was saved at "file://c:\Users\chaos945
\Desktop\trunk\priiloader\Release\BuildLog.htm"
Priiloader - 1 error(s), 0 warning(s)
------ Build started: Project: Installer, Configuration: Release Win32 ------
Performing Makefile project actions
'make' is not recognized as an internal or external command,
operable program or batch file.
Project : error PRJ0019: A tool returned an error code from "Performing
Makefile
project actions"
Build log was saved at "file://c:\Users\chaos945
\Desktop\trunk\Installer\Release\BuildLog.htm"
Installer - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
Original comment by chaos...@gmail.com
on 12 Dec 2009 at 5:08
you didn't setup devkitppc right
Original comment by dac...@gmail.com
on 12 Dec 2009 at 9:17
(or windows is failing to see make as a command to build everything... :/ see
the new
wiki)
Original comment by dac...@gmail.com
on 12 Dec 2009 at 2:45
Followed directions in the wiki...log output follows.
Performing Makefile project actions
../Shared/SubWCRev.exe "../." "../Shared/svnrev_template.h" "../Shared/svnrev.h"
SubWCRev: 'c:\priiloader'
Last committed at revision 39
Updated to revision 39
Local modifications found
main.cpp
c:/priiloader/priiloader/source/main.cpp(61):23: error: certs_bin.h: No such
file or
directory
c:/priiloader/priiloader/source/main.cpp: In function 'void SysHackSettings()':
c:/priiloader/priiloader/source/main.cpp(274): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(403): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(463): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(466): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(468): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(477): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp: In function 'void BootMainSysMenu()':
c:/priiloader/priiloader/source/main.cpp(1200): error: 'certs_bin' was not
declared
in this scope
c:/priiloader/priiloader/source/main.cpp(1200): error: 'certs_bin_size' was not
declared in this scope
c:/priiloader/priiloader/source/main.cpp: In function 'void InstallLoadDOL()':
c:/priiloader/priiloader/source/main.cpp(1375): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(1586): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(1603): warning: comparison between
signed
and unsigned integer expressions
linking ... priiloader.elf
powerpc-eabi-g++.exe: main.o: No such file or directory
make[1]: *** [/c/priiloader/priiloader/priiloader.elf] Error 1
make: *** [build] Error 2
Project : error PRJ0019: A tool returned an error code from "Performing
Makefile
project actions"
Original comment by chaos...@gmail.com
on 12 Dec 2009 at 5:00
youre missing the certs.sys from your wii. go get it :P (forgot to add that,
srry.
will add that later on
Original comment by dac...@gmail.com
on 12 Dec 2009 at 5:05
dont forget to rename it to cert.bin when coping to the data folder
Original comment by dac...@gmail.com
on 12 Dec 2009 at 5:08
So I used FSDumper to extract my cert.sys from my wii's NAND. I renamed it to
cert.bin and put the file in the installer & priiloader data folders. My log
output
is as follows.
------ Build started: Project: Priiloader, Configuration: Release Win32 ------
Performing Makefile project actions
../Shared/SubWCRev.exe "../." "../Shared/svnrev_template.h" "../Shared/svnrev.h"
SubWCRev: 'c:\priiloader'
Last committed at revision 39
Updated to revision 39
Local modifications found
main.cpp
c:/priiloader/priiloader/source/main.cpp(61):23: error: certs_bin.h: No such
file or
directory
c:/priiloader/priiloader/source/main.cpp: In function 'void SysHackSettings()':
c:/priiloader/priiloader/source/main.cpp(274): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(403): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(463): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(466): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(468): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(477): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp: In function 'void BootMainSysMenu()':
c:/priiloader/priiloader/source/main.cpp(1200): error: 'certs_bin' was not
declared
in this scope
c:/priiloader/priiloader/source/main.cpp(1200): error: 'certs_bin_size' was not
declared in this scope
c:/priiloader/priiloader/source/main.cpp: In function 'void InstallLoadDOL()':
c:/priiloader/priiloader/source/main.cpp(1375): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(1586): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(1603): warning: comparison between
signed
and unsigned integer expressions
linking ... priiloader.elf
powerpc-eabi-g++.exe: main.o: No such file or directory
make[1]: *** [/c/priiloader/priiloader/priiloader.elf] Error 1
make: *** [build] Error 2
Project : error PRJ0019: A tool returned an error code from "Performing
Makefile
project actions"
Build log was saved at "file://c:\priiloader\priiloader\Release\BuildLog.htm"
Priiloader - 4 error(s), 9 warning(s)
------ Skipped Build: Project: Installer, Configuration: Release Win32 ------
Project not selected to build for this solution configuration
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========
Original comment by chaos...@gmail.com
on 13 Dec 2009 at 5:32
did you try to clean the project first?
clean -> build
or rebuild (if that will clean up everything)
Original comment by dac...@gmail.com
on 13 Dec 2009 at 5:39
[deleted comment]
I cleaned the project then attempted to build/rebuild log follows.
------ Rebuild All started: Project: Priiloader, Configuration: Release Win32
------
Performing Makefile project actions
clean ...
../Shared/SubWCRev.exe "../." "../Shared/svnrev_template.h" "../Shared/svnrev.h"
SubWCRev: 'c:\priiloader'
Last committed at revision 39
Updated to revision 39
Local modifications found
CERT.bin
bin2s -a 32 /c/priiloader/priiloader/data/CERT.bin | powerpc-eabi-as -o
CERT.bin.o
echo "extern const u8" `(echo CERT.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"_end
[];" > `(echo CERT.bin | tr . _)`.h
echo "extern const u8" `(echo CERT.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"[];"
>> `(echo CERT.bin | tr . _)`.h
echo "extern const u32" `(echo CERT.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)
`_size";" >> `(echo CERT.bin | tr . _)`.h
error.cpp
font.cpp
gecko.cpp
hacks.cpp
main.cpp
c:/priiloader/priiloader/source/main.cpp(61):23: error: certs_bin.h: No such
file or
directory
c:/priiloader/priiloader/source/main.cpp: In function 'void SysHackSettings()':
c:/priiloader/priiloader/source/main.cpp(274): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(403): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(463): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(466): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(468): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(477): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp: In function 'void BootMainSysMenu()':
c:/priiloader/priiloader/source/main.cpp(1200): error: 'certs_bin' was not
declared
in this scope
c:/priiloader/priiloader/source/main.cpp(1200): error: 'certs_bin_size' was not
declared in this scope
c:/priiloader/priiloader/source/main.cpp: In function 'void InstallLoadDOL()':
c:/priiloader/priiloader/source/main.cpp(1375): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(1586): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(1603): warning: comparison between
signed
and unsigned integer expressions
settings.cpp
state.cpp
unstub.S
linking ... priiloader.elf
powerpc-eabi-g++.exe: main.o: No such file or directory
make[1]: *** [/c/priiloader/priiloader/priiloader.elf] Error 1
make: *** [build] Error 2
Project : error PRJ0019: A tool returned an error code from "Performing
Makefile
project actions"
Build log was saved at "file://c:\priiloader\priiloader\Release\BuildLog.htm"
Priiloader - 4 error(s), 9 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Original comment by chaos...@gmail.com
on 13 Dec 2009 at 5:54
call it certs.bin not CERT.bin (srry for the confusion ) and rebuild again
youre almost there :P
Original comment by dac...@gmail.com
on 13 Dec 2009 at 7:30
Renamed to 'certs.bin', cleaned, then rebuilt. It generated a dol with errors,
but
it doesn't boot. See my log.
------ Rebuild All started: Project: Priiloader, Configuration: Release Win32
------
Performing Makefile project actions
clean ...
../Shared/SubWCRev.exe "../." "../Shared/svnrev_template.h" "../Shared/svnrev.h"
SubWCRev: 'c:\priiloader'
Last committed at revision 39
Updated to revision 39
Local modifications found
certs.bin
bin2s -a 32 /c/priiloader/priiloader/data/certs.bin | powerpc-eabi-as -o
certs.bin.o
echo "extern const u8" `(echo certs.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"_end
[];" > `(echo certs.bin | tr . _)`.h
echo "extern const u8" `(echo certs.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"[];"
>> `(echo certs.bin | tr . _)`.h
echo "extern const u32" `(echo certs.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)
`_size";" >> `(echo certs.bin | tr . _)`.h
error.cpp
font.cpp
gecko.cpp
hacks.cpp
main.cpp
c:/priiloader/priiloader/source/main.cpp: In function 'void SysHackSettings()':
c:/priiloader/priiloader/source/main.cpp(274): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(403): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(463): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(466): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(468): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(477): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp: In function 'void InstallLoadDOL()':
c:/priiloader/priiloader/source/main.cpp(1375): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(1586): warning: comparison between
signed
and unsigned integer expressions
c:/priiloader/priiloader/source/main.cpp(1603): warning: comparison between
signed
and unsigned integer expressions
settings.cpp
state.cpp
unstub.S
linking ... priiloader.elf
output ... priiloader.dol
wiiload /c/priiloader/priiloader/priiloader.dol
wiiload v0.5
coded by dhewg
set the environment variable WIILOAD to a valid destination.
examples:
usbgecko mode:
set WIILOAD=COM4
tcp mode:
set WIILOAD=tcp:wii
set WIILOAD=tcp:192.168.0.30
usage:
c:\devkitPro\devkitPPC\bin\wiiload.exe <filename> <application arguments>
make: *** [build] Error 1
Project : error PRJ0019: A tool returned an error code from "Performing
Makefile
project actions"
Build log was saved at "file://c:\priiloader\priiloader\Release\BuildLog.htm"
Priiloader - 1 error(s), 9 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Original comment by chaos...@gmail.com
on 13 Dec 2009 at 8:46
warnings aren't to special. the priiloader.dol should boot on your wii if you
put it
on your SD or use wiiload (and apparently your wiiload isn't setup right yet :)
)
Original comment by dac...@gmail.com
on 13 Dec 2009 at 9:08
Trying to boot the DOL & ELF using loadmii (HBC just reboots with no error).
Loadmii
just freezes at the following output for each file:
Loading section .text @ 0x81000220 (0x0005c840 bytes) <ELF
Loading section .text @ 0x81000000 (0x0005ca80 bytes) <DOL
Original comment by chaos...@gmail.com
on 14 Dec 2009 at 5:10
maybe HBC reboot cause the priiloader settings are on autoboot HBC? :P
upload the dol somewhere; ill look at it
Original comment by dac...@gmail.com
on 14 Dec 2009 at 5:48
I mean when I try to install R39 inside HBC it restarts my wii. (it actually
boots
to my installed file USBLoaderGX)
If I try to install the dol inside loadmii I get the outputs posted. See
compiled
dol below...
http://www.crbcomputers.com/priiloader.dol
Original comment by chaos...@gmail.com
on 14 Dec 2009 at 5:57
the priiloader.dol is only priiloader; not the installer thats why :)
you need to build the installer too (set the mode from DEBUg to release in one
of the
top bars in Visual studio and build again; it shouldn't skip the installer then
like
it does now. the load the "installer.dol" in the installer directory :)
to test priiloader i always load the dol in HBC instead of installing it. much
safer
and less work (if i had bootmii as boot2...)
Original comment by dac...@gmail.com
on 14 Dec 2009 at 6:26
Build error from installer.
------ Build started: Project: Installer, Configuration: Release Win32 ------
Performing Makefile project actions
certs.bin
bin2s -a 32 /c/priiloader/Installer/data/certs.bin | powerpc-eabi-as -o
certs.bin.o
echo "extern const u8" `(echo certs.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"_end
[];" > `(echo certs.bin | tr . _)`.h
echo "extern const u8" `(echo certs.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"[];"
>> `(echo certs.bin | tr . _)`.h
echo "extern const u32" `(echo certs.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)
`_size";" >> `(echo certs.bin | tr . _)`.h
su.tik
bin2s -a 32 /c/priiloader/Installer/data/su.tik | powerpc-eabi-as -o su.tik.o
echo "extern const u8" `(echo su.tik | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"_end
[];" > `(echo su.tik | tr . _)`.h
echo "extern const u8" `(echo su.tik | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"[];" >>
`(echo su.tik | tr . _)`.h
echo "extern const u32" `(echo su.tik | sed -e 's/^\([0-9]\)/_\1/' | tr . _)
`_size";" >> `(echo su.tik | tr . _)`.h
su.tmd
bin2s -a 32 /c/priiloader/Installer/data/su.tmd | powerpc-eabi-as -o su.tmd.o
echo "extern const u8" `(echo su.tmd | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"_end
[];" > `(echo su.tmd | tr . _)`.h
echo "extern const u8" `(echo su.tmd | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"[];" >>
`(echo su.tmd | tr . _)`.h
echo "extern const u32" `(echo su.tmd | sed -e 's/^\([0-9]\)/_\1/' | tr . _)
`_size";" >> `(echo su.tmd | tr . _)`.h
main.cpp
c:/priiloader/Installer/source/main.cpp(47):28: error: priiloader_app.h: No
such
file or directory
c:/priiloader/Installer/source/main.cpp: In function 'int main(int, char**)':
c:/priiloader/Installer/source/main.cpp(474): error: 'priiloader_app' was not
declared in this scope
c:/priiloader/Installer/source/main.cpp(474): error: 'priiloader_app_size' was
not
declared in this scope
c:/priiloader/Installer/source/main.cpp(532): error: 'priiloader_app' was not
declared in this scope
c:/priiloader/Installer/source/main.cpp(532): error: 'priiloader_app_size' was
not
declared in this scope
linking ... Installer.elf
powerpc-eabi-g++.exe: main.o: No such file or directory
make[1]: *** [/c/priiloader/Installer/Installer.elf] Error 1
make: *** [build] Error 2
Project : error PRJ0019: A tool returned an error code from "Performing
Makefile
project actions"
Build log was saved at "file://c:\priiloader\Installer\Release\BuildLog.htm"
Installer - 6 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
Original comment by chaos...@gmail.com
on 16 Dec 2009 at 5:04
just wait till i commit again. its cause dolboot never got run that it can't
find the
app that it writes to nand. in my next commit it'll first make the app then
upload
using wiiload...
if you can't wait (it could take a while before i commit again) -> remove the
wiiload
from the priiloader makefile (line 109 it is i think) and build priiloader again
(followed by installer. you can remove the wiiload call from installer's
makefile if
you want too; cause it will error too)
Original comment by dac...@gmail.com
on 16 Dec 2009 at 5:34
Removed 2 lines from installer's & priiloader's makefiles and compiled without
errors. Installed installer.dol from HBC and it boots fine.
Original comment by chaos...@gmail.com
on 16 Dec 2009 at 10:39
Original comment by dac...@gmail.com
on 17 Dec 2009 at 5:48
Original issue reported on code.google.com by
chaos...@gmail.com
on 12 Dec 2009 at 5:07