Hacking Wadmanager 1.4 enhanced compile problem

PhyniX

Well-Known Member
OP
Member
Joined
Mar 29, 2009
Messages
100
Trophies
0
XP
251
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 ?
 

mtb-bfh

Well-Known Member
Newcomer
Joined
Apr 8, 2009
Messages
97
Trophies
0
XP
49
Country
United States
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.
 

PhyniX

Well-Known Member
OP
Member
Joined
Mar 29, 2009
Messages
100
Trophies
0
XP
251
Country
Gambia, The
hello

I don't modify the source

but i want modify the source !!!

no thank you i have a compiled .dol
 

fogbank

Well-Known Member
Member
Joined
Oct 28, 2008
Messages
413
Trophies
0
XP
56
Country
United States
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
 

fogbank

Well-Known Member
Member
Joined
Oct 28, 2008
Messages
413
Trophies
0
XP
56
Country
United States
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.
 

wiiNinja

Well-Known Member
Member
Joined
Jan 13, 2009
Messages
645
Trophies
1
XP
1,805
Country
United States
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.
 

fogbank

Well-Known Member
Member
Joined
Oct 28, 2008
Messages
413
Trophies
0
XP
56
Country
United States
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

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @PandaPandel, irl or in the game?