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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  [FIXED]Can't Compile on 5G SVN due to alarm_menu.c?
« previous next »
  • Print
Pages: [1]

Author Topic: [FIXED]Can't Compile on 5G SVN due to alarm_menu.c?  (Read 4946 times)

Offline Thecoolgman

  • Member
  • *
  • Posts: 55
    • Xylem
[FIXED]Can't Compile on 5G SVN due to alarm_menu.c?
« on: August 13, 2009, 08:39:17 PM »
I've started using SVN for compiling since the current build is gone And I have this issue when compiling: And no I do not have an patches that affect the alarm menu.
« Last Edit: August 16, 2009, 03:41:16 AM by Thecoolgman »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9137
Re: Can't Compile on 5G SVN due to alarm_menu.c?
« Reply #1 on: August 13, 2009, 08:54:02 PM »
Do you have any patches at all? 

Logged

Offline Thecoolgman

  • Member
  • *
  • Posts: 55
    • Xylem
Re: Can't Compile on 5G SVN due to alarm_menu.c?
« Reply #2 on: August 13, 2009, 09:07:22 PM »
I have done a clean build and got the same thing. I don't know what's going on.
« Last Edit: August 13, 2009, 09:29:15 PM by Thecoolgman »
Logged

Offline Blue Dude

  • Member
  • *
  • Posts: 19
Re: Can't Compile on 5G SVN due to alarm_menu.c?
« Reply #3 on: August 13, 2009, 11:44:52 PM »
It looks like it might be a problem with english.lang, and it just happens to show up in the alarm menu.

Start completely from scratch:
svn up
cd build
make reconf
make clean
make

A change in a language file can sometimes compile funky, but make clean should take care of it.  If you've applied any patch that affects a language file, it might fail again.  If all this fails, check out a completely new working copy to another directory and build from that.
Logged

Offline Thecoolgman

  • Member
  • *
  • Posts: 55
    • Xylem
Re: Can't Compile on 5G SVN due to alarm_menu.c?
« Reply #4 on: August 14, 2009, 02:00:04 AM »
No that did not work. Ugh, my head hurts.
« Last Edit: August 14, 2009, 05:44:58 AM by Thecoolgman »
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Can't Compile on 5G SVN due to alarm_menu.c?
« Reply #5 on: August 14, 2009, 04:00:28 AM »
How did you checkout the source from SVN?  Did you use the command-line "svn" from within cygwin, or a GUI SVN program, such as tortoisesvn?

apps/alarm_menu.c is suspiciously early in the alphabet, which makes me think it's the first file using language strings that fails.  One problem could be that you've checked out the source code using Windows-style line endings (i.e. CR and LF), whereas your cygwin install is configured to use Unix-style line endings (i.e. just LF).  This can cause strange things to happen.
Logged

Offline Thecoolgman

  • Member
  • *
  • Posts: 55
    • Xylem
Re: Can't Compile on 5G SVN due to alarm_menu.c?
« Reply #6 on: August 14, 2009, 04:03:40 AM »
I used Tortoise SVN and used this tutorial in the wiki: http://www.rockbox.org/twiki/bin/view/Main/UsingCygwinAndTortoiseSVN
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Can't Compile on 5G SVN due to alarm_menu.c?
« Reply #7 on: August 14, 2009, 04:33:57 AM »
Quote from: Thecoolgman on August 14, 2009, 04:03:40 AM
I used Tortoise SVN and used this tutorial in the wiki: http://www.rockbox.org/twiki/bin/view/Main/UsingCygwinAndTortoiseSVN

So your cygwin is definitely configured to use DOS (CR+LF) line endings?

I'm not sure how you can check, but maybe just typing "echo > a.txt" will tell you.  If the resulting a.txt file is 1 byte in size, then you're still using Unix line-endings, if it's two bytes, then it's correctly configured with CR+LF.
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1062
Re: Can't Compile on 5G SVN due to alarm_menu.c?
« Reply #8 on: August 14, 2009, 05:14:57 AM »
Please verify that your build directory is entirely empty before you run configure
Logged

Offline Thecoolgman

  • Member
  • *
  • Posts: 55
    • Xylem
Re: Can't Compile on 5G SVN due to alarm_menu.c?
« Reply #9 on: August 14, 2009, 05:44:28 AM »
Quote
So your cygwin is definitely configured to use DOS (CR+LF) line endings?

I'm not sure how you can check, but maybe just typing "echo > a.txt" will tell you.  If the resulting a.txt file is 1 byte in size, then you're still using Unix line-endings, if it's two bytes, then it's correctly configured with CR+LF.

I think I found the problem. It came out 1 KB like you said. Should I just Delete my Cygwin Folder and instal again using CR+LF?
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  [FIXED]Can't Compile on 5G SVN due to alarm_menu.c?
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.045 seconds with 21 queries.