smurk-too / wii-softchip

Automatically exported from code.google.com/p/wii-softchip
0 stars 0 forks source link

Compile Issue #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please fill out the following information:

Problem Disc:
--------------------------------------------------
Disc Region:NONE
Wii Region:PAL
cIOS Version:cIOS rev7

Which SoftChip revision are you using? trying to compile r68
--------------------------------------------------

Please describe the issue you're having - unable to compile, error at
storage.cpp

$ make
main.cpp
SoftChip.cpp
DIP.cpp
cIOS.cpp
Logger.cpp
Input.cpp
Configuration.cpp
Console.cpp
Storage.cpp
c:/devkitpro/loader/source/Storage/Storage.cpp: In member function 'void
Storage
::Release_FAT()':
c:/devkitpro/loader/source/Storage/Storage.cpp:75: error: 'PI_INTERNAL_SD'
was n
ot declared in this scope
c:/devkitpro/loader/source/Storage/Storage.cpp:77: error:
'fatUnsafeUnmount' was
 not declared in this scope
make[1]: *** [Storage.o] Error 1
make: *** [build] Error 2
--------------------------------------------------

Please provide any additional information below.
--------------------------------------------------

Original issue reported on code.google.com by lavers418@hotmail.com on 8 Dec 2008 at 6:43

GoogleCodeExporter commented 8 years ago
Did you update libogc AND libfat?

Original comment by nintendo...@kaffeeschluerfer.com on 8 Dec 2008 at 7:20

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I had the same problem, I used the wiki to update and compile libfat and libogc 
to 
current GIT versions and it fixed it... It should fix it for you too stev, 
follow it 
closely : http://wiki.softchip-mod.com/index.php/Windows_Build_Guide

I now have the following error but I think its a problem with my compile :

Warning: writable and executable segment 0
Error: TEXT segment 0 memory size (0xda520) does not equal file size (0x5fd00)

Original comment by Hellfe...@gmail.com on 8 Dec 2008 at 7:42

GoogleCodeExporter commented 8 years ago
Please use libogc AND libfat from Repository.

Original comment by luccax@gmail.com on 8 Dec 2008 at 3:57

GoogleCodeExporter commented 8 years ago
yeah, picked up on that one pretty quickly, but now get the 

Warning: writable and executable segment 0
Error: TEXT segment 0 memory size (0xda520) does not equal file size (0x5fd00)

left with an .elf but no .dol

Original comment by lavers418@hotmail.com on 9 Dec 2008 at 12:47

GoogleCodeExporter commented 8 years ago
Issue Accepted. New libogc gives the "TEXT segment 0 memory size" error and the 
new
libfat gives the "not declared" erros. I'll make some tests tomorrow to test if
everything is stable. Sorry for that.

Original comment by luccax@gmail.com on 9 Dec 2008 at 11:20

GoogleCodeExporter commented 8 years ago
Just replace rvl.ld with the one from the DEVKITPPC/powerpc-gekko/lib dir. Don't
forget to change the default base address to 0x80a00100. Or simply download the
attached file. That should solve your problem.

Original comment by ilduder...@googlemail.com on 11 Dec 2008 at 2:42

Attachments:

GoogleCodeExporter commented 8 years ago
r69 works with the latest libs.

Original comment by luccax@gmail.com on 11 Dec 2008 at 7:30