libfat error

Ask/talk about LibXenon Development/Compiling
jesseed

libfat error

Postby jesseed » Tue Jun 25, 2013 1:54 pm

Can some one please help me, i get an error trying to compile the file example from libxenon.
I get the following error:

jesse@EdubuntuTS:~/libxenon-testing/libxenon-testing/devkitxenon/examples/xenon/file/browser$ make
[main.c]
linking ... browser.elf
/usr/local/xenon/usr/lib/libfat.a(disc.o): In function `get_io_usbstorage':
/home/jesse/fat-xenon/libxenon/../source/disc.c:51: undefined reference to `usb2mass_ops'
/home/jesse/fat-xenon/libxenon/../source/disc.c:51: undefined reference to `usb2mass_ops'
collect2: error: ld returned 1 exit status
make[1]: *** [/home/jesse/libxenon-testing/libxenon-testing/devkitxenon/examples/xenon/file/browser/browser.elf] Error 1
make: *** [build] Error 2
jesse@EdubuntuTS:~/libxenon-testing/libxenon-testing/devkitxenon/examples/xenon/file/browser$

I can't find where "usb2mass_ops" is defined (as it is external in disc.c).

Thanks

User avatar
tuxuser
Administrator
Administrator
Posts: 301
Joined: Sat Feb 19, 2011 4:53 pm
Location: Germany
Contact:

Re: libfat error

Postby tuxuser » Thu Jun 27, 2013 9:49 pm

Can you specifiy which git repository of libxenon you are using, which branch?

I have no problems compiling it with the current Repo: https://github.com/Free60Project/libxenon - master branch

do a: git pull
and let it build libxenon again: ./build-xenon-toolchain libxenon

Greetz
I have no idea what I am doing but atleast I am trying

Swizzy
Team
Team
Posts: 43
Joined: Sun Sep 01, 2013 9:53 pm

Re: libfat error

Postby Swizzy » Sun Sep 01, 2013 9:55 pm

It's probably also in the fat-xenon so run ./build-xenon-toolchain libs aswell one more time after pulling

SonicKiller
User
User
Posts: 6
Joined: Fri Dec 21, 2012 4:34 pm

Re: libfat error

Postby SonicKiller » Mon Dec 30, 2013 11:50 pm

Hi,

Had the same problem too, solved it by respecting the new variables names "usb2mass_ops_0".

Created a topic here about the modification and problems it can create :

http://libxenon.org//viewtopic.php?t=5


Return to “LibXenon”

Who is online

Users browsing this forum: No registered users and 1 guest