I am trying to use libfat on SuperCard SD, but found it's broken on the latest toolchain.
My OS: archlinux
toolchiain: devkitpro, with gba-dev installed
1.I copy the template from example/gba
2.I included <fat.h>,and add -lfat to Makefile.
3.I use `fatInitDefault()` in my code
4. make and get linking error
I tried using the biosdumper example, and this can compile, but fat init failed
Linking error:undefined reference to `discGetInterface'
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Linking error:undefined reference to `discGetInterface'
Link order is important, libfat references functions in libgba so the order needs to be -lfat -lgba.
I'll have a look & see if I can figure out what's going on with supercard.
I'll have a look & see if I can figure out what's going on with supercard.
Who is online
Users browsing this forum: No registered users and 0 guests