Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  undefined reference in libmad?
« previous next »
  • Print
Pages: [1]

Author Topic: undefined reference in libmad?  (Read 1473 times)

Offline fofoca

  • Member
  • *
  • Posts: 3
undefined reference in libmad?
« on: January 01, 2013, 11:42:45 AM »
Hi, I'm trying to compile rb for Sansa Clip+ for the first time in a couple of years. I'm using saratoga's Ubuntu VirtualBox setup and the 3.12 source from github. I get the following error:
Code: [Select]
...
LD mpegplayer.rock
CC rocklib_aux.c
<snip>/rockbox/build/lib/rbcodec/codecs/libmad-mpeg.a(frame.o):(.rodata+0x140): undefined reference to `mad_layer_III'
collect2: ld returned 1 exit status
make: *** [<snip>/rockbox/build/apps/plugins/mpegplayer/mpegplayer.rock] Error 1
make: *** Waiting for unfinished jobs....
None of the previous steps reported a problem, so I'm at a loss...  :'(


Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: undefined reference in libmad?
« Reply #1 on: January 01, 2013, 12:12:39 PM »
The Rockbox code is not hosted on github. If someone mirrors it there it's fine but nothing we can support. Use git.rockbox.org.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline fofoca

  • Member
  • *
  • Posts: 3
Re: undefined reference in libmad?
« Reply #2 on: January 01, 2013, 12:37:40 PM »
Sorry, my thoughtless typo. I did use git.rockbox.org.
Logged

Offline fofoca

  • Member
  • *
  • Posts: 3
Re: undefined reference in libmad?
« Reply #3 on: January 01, 2013, 04:12:15 PM »
OK, fixed it. Apparently something died during the compilation and one of the object files had a length of 0. Deleted it, reran the make, it worked.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  undefined reference in libmad?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.062 seconds with 15 queries.