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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Compiling error since move to SVN
« previous next »
  • Print
Pages: [1]

Author Topic: Compiling error since move to SVN  (Read 2301 times)

Offline rossic

  • Member
  • *
  • Posts: 27
Compiling error since move to SVN
« on: January 21, 2007, 08:17:52 PM »
Hi,

I had been compiling from CVS with no problems until the switch to SVN.  I get strange warnings and errors since.

Here are the errors from a recent attempt:

make[1]: Warning: File `/cygdrive/d/Rockbox/Source/sim/sim/dep-sim' has modification time 1.1 s in the future
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Warning: File `/cygdrive/d/Rockbox/Source/sim/comsim/dep-commonsim' has modification time 0.73 s in the future
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
Header parsed
make[1]: Warning: File `/cygdrive/d/Rockbox/Source/sim/firmware/dep-firmware' has modification time 0.39 s in the future
Header parsed
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `/cygdrive/d/Rockbox/Source/sim/apps/bitmaps/native/dep-bitmaps-native' has modification time 1.2 s in the future
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `/cygdrive/d/Rockbox/Source/sim/apps/bitmaps/remote_native/dep-bitmaps-remotenative' has modification time 1.8 s in the future
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Warning: File `/cygdrive/d/Rockbox/Source/sim/apps/dep-apps' has modification time 0.36 s in the future
make[1]: *** [/cygdrive/d/Rockbox/Source/sim/apps/lang.o] Error 53
make: *** [all] Error 2


At first I wanted to blame the build, but no one else seemed to be having issues.  Then I assumed SVN wasn't downloading all of the files properly (it would freeze while downloading a few times), but even with a tar ball I was getting the same errors (occasionally not finding apps/atoi.o).  Now I'm wondering if the install of SVN or TortoiseSVN has caused something to be misplaced.  Any suggestions ???

Thanks in advance  ;)
Logged

Offline rossic

  • Member
  • *
  • Posts: 27
Re: Compiling error since move to SVN
« Reply #1 on: January 21, 2007, 10:09:42 PM »
Well, I figured out what was wrong with the warnings regarding Clock Skew.  Apparently it means nothing - just that FAT32 file structures are only specific to 2 seconds whereas cygwin is by millisecond.  Thus, Windows may occasionally jump ahead in the future when writing files.  If you run the compiler on NTFS, you will have no problems with Clock Skew.

However, I still get the following errors:

Header parsed
Header parsed
make[1]: *** [/home/rockbox/2007-01-21/build/apps/lang.o] Error 53
make: *** [all] Error 2

Any thoughts?
Logged

Offline rossic

  • Member
  • *
  • Posts: 27
Re: Compiling error since move to SVN ("lang.c"?)
« Reply #2 on: January 22, 2007, 12:24:54 AM »
Haha... Another post...

After a lot of searching, I found something strange.  I have attached the stdout and stderr output as a file.  

The last line (before it fails to compile) says:
"CC lang.c"  
and thus fails to build the lang.o file.

However, there is no "lang.c" file within the source.  There is also no "lang.h" file, but it is referenced in the "language.c" file.  Has there been some naming convention changed that was not updated in the auto build of the makefile?  Where is this lang.c file that I don't have?  

I imagine people are pretty crazy right now trying to restore the page, so I'll try to be patient for a few days...

Thanks

[attachment deleted by admin, too old]
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: Compiling error since move to SVN
« Reply #3 on: January 22, 2007, 01:10:48 AM »
lang.c is generated during the build (the GENLANG step in the attached output) and should be available in the folder where you run make. Either lang.c, or the compiled lang.o, seem to be corrupt somehow. Try deleting them (or maybe even run 'make clean') and run make again.

You're correct about the clock skew thing, but the reason you get it is probably that when you updated Cygwin to get SVN, you got a newer version of make too, in which a work-around for this problem isn't enabled.
Logged

Offline rossic

  • Member
  • *
  • Posts: 27
Re: Compiling error since move to SVN
« Reply #4 on: January 22, 2007, 03:34:29 AM »
Thanks for your quick and informative reply.  I was a little afraid that lang.c was generated on the fly because it's not generating it for me  :'(

I've cleaned, verycleaned, and made a few times.  

Don't know if it matters (because the tar ball doesn't work either) but I downloaded SVN from their website, not through cygwin's installer.  Maybe something else is out of date, and I should upgrade my packages anyway.  I'll give it a shot.  Thanks for the perspective.  

If you have any other info regarding GENLANG, and why it might fail me, I'd love to hear it.  
Logged

Offline rossic

  • Member
  • *
  • Posts: 27
Re: Compiling error since move to SVN
« Reply #5 on: January 22, 2007, 07:20:17 AM »
Got fed up and uninstalled / reinstalled cygwin.  It seems to be compiling no problem at the moment.
Wonder what goofed...

Thanks again for the help!

Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Compiling error since move to SVN
 

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

Page created in 0.064 seconds with 15 queries.