Help compiling Swiss
Help compiling Swiss
Here's the output. Any help would be greatly appreciated.
> "make"
dol.c
exi.c
gcm.c
main.c
patcher.c
swiss.c
sidestep.c
ssaram.c
deviceHandler.c
deviceHandler-DVD.c
dvd.c
ata.c
c:/Swiss/cube/swiss/source/devices/fat/ata.c: In function '_ataDriveIdentify':
c:/Swiss/cube/swiss/source/devices/fat/ata.c:203:3: warning: left shift count >= width of type
deviceHandler-FAT.c
frag.c
deviceHandler-CARD.c
deviceHandler-Qoob.c
c:/Swiss/cube/swiss/source/devices/qoob/deviceHandler-Qoob.c: In function 'deviceHandler_Qoob_init':
c:/Swiss/cube/swiss/source/devices/qoob/deviceHandler-Qoob.c:88:2: warning: implicit declaration of function 'ipl_set_config'
deviceHandler-WODE.c
wode.c
cheats.c
gcars.c
qchparse.c
backdrop.c
banner.c
gcdvdicon.c
greentick.c
hddicon.c
qoobicon.c
redcross.c
sdicon.c
FrameBufferMagic.c
IPLFontWrite.c
bitmap.c
SlotA-HDD.s
SlotA-SD.s
SlotA-SDHC.s
SlotB-HDD.s
SlotB-SD.s
SlotB-SDHC.s
linking ... swiss.elf
frag.o: In function `get_frag_list':
frag.c:(.text.get_frag_list+0x58): undefined reference to `_FAT_get_fragments'
collect2: ld returned 1 exit status
make[1]: *** [/c/Swiss/cube/swiss/swiss.elf] Error 1
"make": *** [build] Error 2
> Process Exit Code: 2
> Time Taken: 00:25
> "make"
dol.c
exi.c
gcm.c
main.c
patcher.c
swiss.c
sidestep.c
ssaram.c
deviceHandler.c
deviceHandler-DVD.c
dvd.c
ata.c
c:/Swiss/cube/swiss/source/devices/fat/ata.c: In function '_ataDriveIdentify':
c:/Swiss/cube/swiss/source/devices/fat/ata.c:203:3: warning: left shift count >= width of type
deviceHandler-FAT.c
frag.c
deviceHandler-CARD.c
deviceHandler-Qoob.c
c:/Swiss/cube/swiss/source/devices/qoob/deviceHandler-Qoob.c: In function 'deviceHandler_Qoob_init':
c:/Swiss/cube/swiss/source/devices/qoob/deviceHandler-Qoob.c:88:2: warning: implicit declaration of function 'ipl_set_config'
deviceHandler-WODE.c
wode.c
cheats.c
gcars.c
qchparse.c
backdrop.c
banner.c
gcdvdicon.c
greentick.c
hddicon.c
qoobicon.c
redcross.c
sdicon.c
FrameBufferMagic.c
IPLFontWrite.c
bitmap.c
SlotA-HDD.s
SlotA-SD.s
SlotA-SDHC.s
SlotB-HDD.s
SlotB-SD.s
SlotB-SDHC.s
linking ... swiss.elf
frag.o: In function `get_frag_list':
frag.c:(.text.get_frag_list+0x58): undefined reference to `_FAT_get_fragments'
collect2: ld returned 1 exit status
make[1]: *** [/c/Swiss/cube/swiss/swiss.elf] Error 1
"make": *** [build] Error 2
> Process Exit Code: 2
> Time Taken: 00:25
Re: Help compiling Swiss
You need to compile the custom libfat and install it first. I'll be releasing a new binary in an hour or two.
Re: Help compiling Swiss
Thanks! But can you tell me how to compile and install the custom libfat? LoL.
Re: Help compiling Swiss
cd swiss-gc\cube\libfat-frag
make
then copy the .a file into your libs\cube dir.
make
then copy the .a file into your libs\cube dir.
Re: Help compiling Swiss
Wonderful. Thanks!
I was this >< close! I had made the .a file but didn't know what the heck I was supposed to do with it, or if I even had to make it.
I was this >< close! I had made the .a file but didn't know what the heck I was supposed to do with it, or if I even had to make it.
Re: Help compiling Swiss
I've compiled r39 and it's available on googlecode btw
Re: Help compiling Swiss
Ha! I just got done compiling r37, then I saw r38 with just the readme updated, and now r39? I assume all three are the same so I can just use the r37 I already made?
Edit: Just looked at the mingw window and saw the following, I just figurd it had compiled properly.
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/4.5.1/../../../../powerpc-eabi/bin/ld.exe: skipping incompatible c:/devkitPro/libogc/lib/cube\libfat.a when searching for -lfat
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/4.5.1/../../../../powerpc-eabi/bin/ld.exe: cannot find -lfat
collect2: ld returned 1 exit status
make[1]: *** [/c/Swiss/cube/swiss/swiss.elf] Error 1
"make": *** [build] Error 2
Now what did I do wrong? I'll just use your pre-compiled but it's nice to have it working for future use.
Edit: Just looked at the mingw window and saw the following, I just figurd it had compiled properly.
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/4.5.1/../../../../powerpc-eabi/bin/ld.exe: skipping incompatible c:/devkitPro/libogc/lib/cube\libfat.a when searching for -lfat
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/4.5.1/../../../../powerpc-eabi/bin/ld.exe: cannot find -lfat
collect2: ld returned 1 exit status
make[1]: *** [/c/Swiss/cube/swiss/swiss.elf] Error 1
"make": *** [build] Error 2
Now what did I do wrong? I'll just use your pre-compiled but it's nice to have it working for future use.
Re: Help compiling Swiss
Looks like you didn't compile libfat-frag properly.. try building it clean.
Re: Help compiling Swiss
above = a little bit edited post of pspgeek (original post is in "The swiss cheating guide")pspgeek wrote:r33+ doesn't has build errors. You need to compile libfat-frag and overwrite the fat.h,libfatversion.h, and libfat.a in devkitPro\libogc. You need to copy the vgcogc.ld in the downloaded swiss source code to devkitPro\devkitPPC\powerpc-eabi\lib\vgcogc.ld