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 General
| |-+  Rockbox General Discussion
| | |-+  Today's Trunk Broken
« previous next »
  • Print
Pages: [1]

Author Topic: Today's Trunk Broken  (Read 2685 times)

Offline andryou

  • Member
  • *
  • Posts: 4
Today's Trunk Broken
« on: March 26, 2007, 02:30:26 PM »
Quote
Checked out revision 12928.

After doing a fresh sync with the SVN, and not applying any patches, I get this when I try to compile it (iPod 30 gig):

Quote
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x88): undefined reference to `__compound_literal.4'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0xa4): undefined reference to `__compound_literal.8'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x124): undefined reference to `__compound_literal.17'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x130): undefined reference to `__compound_literal.19'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x13c): undefined reference to `__compound_literal.21'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x1e8): undefined reference to `__compound_literal.31'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x1f4): undefined reference to `__compound_literal.33'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x300): undefined reference to `__compound_literal.47'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x328): undefined reference to `__compound_literal.50'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x364): undefined reference to `__compound_literal.56'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x370): undefined reference to `__compound_literal.58'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x37c): undefined reference to `__compound_literal.60'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x388): undefined reference to `__compound_literal.62'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x394): undefined reference to `__compound_literal.64'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x3a0): undefined reference to `__compound_literal.66'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x3d4): undefined reference to `__compound_literal.70'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x3e0): undefined reference to `__compound_literal.72'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x3f8): undefined reference to `__compound_literal.75'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x404): undefined reference to `__compound_literal.77'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x41c): undefined reference to `__compound_literal.80'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x428): undefined reference to `__compound_literal.82'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x434): undefined reference to `__compound_literal.84'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x440): undefined reference to `__compound_literal.86'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x468): undefined reference to `__compound_literal.89'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x474): undefined reference to `__compound_literal.91'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x498): undefined reference to `__compound_literal.95'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x4cc): undefined reference to `__compound_literal.99'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x4d8): undefined reference to `__compound_literal.101'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x554): undefined reference to `__compound_literal.107'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x7d8): undefined reference to `__compound_literal.135'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x7f0): undefined reference to `__compound_literal.138'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x808): undefined reference to `__compound_literal.141'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x830): undefined reference to `__compound_literal.144'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x83c): undefined reference to `__compound_literal.146'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x864): undefined reference to `__compound_literal.149'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x870): undefined reference to `__compound_literal.151'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x898): undefined reference to `__compound_literal.154'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x8a4): undefined reference to `__compound_literal.156'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x8cc): undefined reference to `__compound_literal.159'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x900): undefined reference to `__compound_literal.163'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x90c): undefined reference to `__compound_literal.165'
/home/user/rockbox/andryou/apps/settings_list.o:(.data+0x9a0): undefined reference to `__compound_literal.177'
collect2: ld returned 1 exit status
make[1]: *** [/home/user/rockbox/andryou/apps/rockbox.elf] Error 1
make: *** [all] Error 2
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Today's Trunk Broken
« Reply #1 on: March 26, 2007, 02:37:35 PM »
Well I'm on the same revision as you - and my build just sailed with no problem...

Albeit I did a gigabeat build - but that's the same toolchain as the iPod.
« Last Edit: March 26, 2007, 02:39:15 PM by GodEater »
Logged

Read The Manual Please

Offline andryou

  • Member
  • *
  • Posts: 4
Re: Today's Trunk Broken
« Reply #2 on: March 26, 2007, 02:40:26 PM »
Thanks for the response.

I'll delete the entire rockbox folder and redownload the latest Trunk, again, in hope that it magically solves itself ;)
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Today's Trunk Broken
« Reply #3 on: March 26, 2007, 02:41:15 PM »
Try an svn revert -R . in your rockbox source directory first - to make sure there are NO changes from what's in the svn tree. (That's lots faster than a complete delete and re-checkout).
Logged

Read The Manual Please

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Today's Trunk Broken
« Reply #4 on: March 26, 2007, 02:43:32 PM »
"make clean" is also quite helpful -- it removes all files previously built, so you can start over. Sometimes there are changes that require you to re-run configure, and finally, make sure you have the required compiler version -- 4.0.3 is _needed_ for the ARM devices.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Today's Trunk Broken
« Reply #5 on: March 26, 2007, 03:43:10 PM »
Quote from: GodEater on March 26, 2007, 02:41:15 PM
Try an svn revert -R . in your rockbox source directory first - to make sure there are NO changes from what's in the svn tree. (That's lots faster than a complete delete and re-checkout).

Thanks for that info, but does that do an update to the latest svn version (it didn't appear to), or just revert changed files to the particular version that was originally downloaded?
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: Today's Trunk Broken
« Reply #6 on: March 26, 2007, 04:03:24 PM »
Quote from: bascule on March 26, 2007, 03:43:10 PM
Quote from: GodEater on March 26, 2007, 02:41:15 PM
Try an svn revert -R . in your rockbox source directory first

Thanks for that info, but does that do an update to the latest svn version (it didn't appear to), or just revert changed files to the particular version that was originally downloaded?

It does the latter, it doesn't use the network at all.
Logged

Offline andryou

  • Member
  • *
  • Posts: 4
Re: Today's Trunk Broken
« Reply #7 on: March 26, 2007, 04:07:15 PM »
It was a false alarm after all ;)

I had a dated compiler version. Now the main part is trying to use Julius' patches and also add the iPod Scroll Wheel Acceleration patch.

Thanks everyone!
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Today's Trunk Broken
« Reply #8 on: March 26, 2007, 04:10:30 PM »
Thanks Bagder. So how does it 'know' what the original file was like, because I just replaced the original file with my modified one when I wanted to create a patch. And thinking about it now, I don't know how it creates a .patch file if it cannot refer to the original for differences and similarly, how does it revert it without the original info?

* bascule wishes he knew more about this...
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline NicolasP

  • Developer
  • Member
  • *
  • Posts: 195
Re: Today's Trunk Broken
« Reply #9 on: March 26, 2007, 04:21:48 PM »
It keeps copies of the original files in a hidden ".svn" directory. That's how it avoids connecting to the server each time.
Logged

Offline Nate!

  • Member
  • *
  • Posts: 235
Re: Today's Trunk Broken
« Reply #10 on: March 26, 2007, 08:26:20 PM »
I was wondering if there was a better process than delete and re-checkout.  

So if I do:
Code: [Select]
svn revert  -R 
svn will remove all of the changes made?  Does the -R mean recursive?  I didn't see that switch in the svn quick reference.

Cool.  Thanks.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Today's Trunk Broken
« Reply #11 on: March 26, 2007, 08:29:42 PM »
Code: [Select]
svn revert -R *
or a folder name.
Logged

Offline Nate!

  • Member
  • *
  • Posts: 235
Re: Today's Trunk Broken
« Reply #12 on: March 26, 2007, 08:35:40 PM »
Nice! thanks.
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: Today's Trunk Broken
« Reply #13 on: March 26, 2007, 09:13:24 PM »
svn revert -R .
(from the rockbox directory)
then a
svn up
must be much nicer to Rockbox.org's bandwidth bill too,  I'd assume.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: Today's Trunk Broken
« Reply #14 on: March 27, 2007, 09:08:24 PM »
Wow, I didn't know about the revert thing. This whole time I just kept another, clean copy of the source in another folder. :D
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Today's Trunk Broken
 

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

Page created in 0.131 seconds with 15 queries.