Hacking Wadmanager 1.4 enhanced compile problem

  • Thread starter Thread starter PhyniX
  • Start date Start date
  • Views Views 1,658
  • Replies Replies 10

PhyniX

Well-Known Member
Member
Joined
Mar 29, 2009
Messages
100
Reaction score
1
Trophies
1
XP
262
Country
Gambia, The
I want compile the Wadmanager 1.4 enhanced by wiiNinja
but i have follow error's

> "make"
fat.c
c:/devkitPro/examples/wii/source/fat.c: In function 'Fat_Mount':
c:/devkitPro/examples/wii/source/fat.c:53: error: too few arguments to function 'fatMount'
make[1]: *** [fat.o] Error 1
"make": *** [build] Error 2

Have anyone a idea ?
 
Look at this thread. Jacobian posted a version on page two that compiles clean, and incorporates the wiiNinja and Sorg mods with a few of his own.
 
hello

I don't modify the source

but i want modify the source !!!

no thank you i have a compiled .dol
 
PhyniX said:
I want compile the Wadmanager 1.4 enhanced by wiiNinja
but i have follow error's

> "make"
fat.c
c:/devkitPro/examples/wii/source/fat.c: In function 'Fat_Mount':
c:/devkitPro/examples/wii/source/fat.c:53: error: too few arguments to function 'fatMount'
make[1]: *** [fat.o] Error 1
"make": *** [build] Error 2

Have anyone a idea ?

It compiles o.k. for me. Make sure you have the latest DevKitPPC and libogc installed. Try reinstalling the environment.

fatmount() takes 4 arguments and the source code I downloaded calls it with 4 arguments.

EDIT: typo
 
TroyTheZombie said:
hmm, i do, yet i get the same error.

Does it have to be compiled out of a specific folder?

Not that I know of.

From fat.h
Code:
extern bool fatMount (const char* name, const DISC_INTERFACE* interface, sec_t startSector, uint32_t cacheSize);

From fat.c
CODEresult = fatMount(dev->mount, dev->interface, lba, 8);

Check if your fat.h has the function defined as I listed.
 
There seems to be a different version of libfat from the version that I built the tool originally. I haven't time to look at it yet. You can either get an older version of the library, or wait until I get a chance to look at it in the next few days.
 
wiiNinja said:
There seems to be a different version of libfat from the version that I built the tool originally. I haven't time to look at it yet. You can either get an older version of the library, or wait until I get a chance to look at it in the next few days.

I've compiled it using libfat 1.0.2, libfat 1.0.3, libfat 1.0.4 (latest) and libfat 20081205 and all worked fine.

???
 

Site & Scene News

Popular threads in this forum