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
| | |-+  svn rockbox (untouched) building with cygwin: loads of errors
« previous next »
  • Print
Pages: [1] 2

Author Topic: svn rockbox (untouched) building with cygwin: loads of errors  (Read 6273 times)

Offline Scorpius

  • Member
  • *
  • Posts: 16
svn rockbox (untouched) building with cygwin: loads of errors
« on: September 18, 2009, 08:45:29 AM »
I have installed cygwin (in DOS mode) following exact cygwinDevelopment wiki steps. However, I get load of errors during build. And I have not touched the code. Any idea why the errors? svn rocbox source is supposed to be quite fine...

« Last Edit: September 18, 2009, 08:47:26 AM by Scorpius »
Logged

Offline cpu98

  • Member
  • *
  • Posts: 22
  • A hidden POWER user. Loves acoustics.
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #1 on: September 18, 2009, 10:07:15 AM »
Unix mode seems to be needed if you used 'svn co'.

http://forums.rockbox.org/index.php?topic=22478.0
http://www.rockbox.org/wiki/UsingCygwinAndTortoiseSVN

edit:
svn checks out original file (LF).
cygwin environment is set for CR+LF,
causing newline mismatch.

tortoisesvn converts them to CR+LF.
Dos mode(CR+LF) is for tortoisesvn?

Set it unix mode and try again...
« Last Edit: September 18, 2009, 11:25:04 AM by cpu98 »
Logged

Offline Scorpius

  • Member
  • *
  • Posts: 16
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #2 on: September 18, 2009, 01:32:30 PM »
hmm..did that and now I get another error:


 ???
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #3 on: September 18, 2009, 02:01:46 PM »
Did you clean your build directory before trying to make again?  Try "make clean" or "make veryclean" and see if it will build properly.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Scorpius

  • Member
  • *
  • Posts: 16
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #4 on: September 18, 2009, 02:13:01 PM »
Quote from: Chronon on September 18, 2009, 02:01:46 PM
Did you clean your build directory before trying to make again?  Try "make clean" or "make veryclean" and see if it will build properly.

I did this (I always do before make), and exactly same this occurs...
 ???

EDIT: seriously, whats with the cygwin evinronement??? I downloaded 2009-06-19 version with should be super stable (3.3 release) and same damn thing!

keymap-ipod.c, no rule to make target.

Please help guys.
« Last Edit: September 19, 2009, 05:12:56 AM by Scorpius »
Logged

Offline cpu98

  • Member
  • *
  • Posts: 22
  • A hidden POWER user. Loves acoustics.
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #5 on: September 19, 2009, 06:41:32 AM »
Follow http://www.rockbox.org/wiki/CygwinInstallWithScreenShots
and then

svn co svn://svn.rockbox.org/rockbox/trunk rockbox
cd rockbox
mkdir build
cd build
../tools/configure
22
enter
enter
make

Hooray!
Works just fine.
Uninstall cygwin and try that again.


edit:I think you didn't do 'svn co' after you set it to unix mode....
Just rmdir rockbox dir and checkout again and make!
« Last Edit: September 19, 2009, 06:47:38 AM by cpu98 »
Logged

Offline Scorpius

  • Member
  • *
  • Posts: 16
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #6 on: September 19, 2009, 09:47:37 AM »
Quote from: cpu98 on September 19, 2009, 06:41:32 AM
Follow http://www.rockbox.org/wiki/CygwinInstallWithScreenShots
and then

svn co svn://svn.rockbox.org/rockbox/trunk rockbox
cd rockbox
mkdir build
cd build
../tools/configure
22
enter
enter
make

Hooray!
Works just fine.
Uninstall cygwin and try that again.


I did exaclty like you and still same thing. I actually noticed that
Code: [Select]
export PATH=/usr/local/arm-elf/bin:$PATH
does not work as arm-elf is not there but in /opt/arm/arm-elf/bin. I put also this to path but still same thing.

does that darn keaymap-ipod.c need some other compiler that is needed?

This is insane, how it is even possible to get diffenet installation between users, who install usin identical methods. Cygwin fault?
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #7 on: September 19, 2009, 09:51:15 AM »
Quote from: cpu98 on September 19, 2009, 06:41:32 AM
edit:I think you didn't do 'svn co' after you set it to unix mode....
Just rmdir rockbox dir and checkout again and make!


Did you try this?
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline Scorpius

  • Member
  • *
  • Posts: 16
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #8 on: September 19, 2009, 11:20:31 AM »
Quote from: AlexP on September 19, 2009, 09:51:15 AM
Quote from: cpu98 on September 19, 2009, 06:41:32 AM
edit:I think you didn't do 'svn co' after you set it to unix mode....
Just rmdir rockbox dir and checkout again and make!


Did you try this?

$svn co
svn: Try 'svn help' for more info
svn: Not enough arguments provided.

If you mean
Code: [Select]
svn co svn://svn.rockbox.org/rockbox/trunk rockbox
then yes, I did exaxlty like tutorial says...
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #9 on: September 19, 2009, 11:32:52 AM »
What he means is, have you deleted your downloaded source and re-checked it out using

svn co svn://svn.rockbox.org/rockbox/trunk rockbox

since you changed the line endings.  The source you checked out before fixing the line endings error won't work.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline Scorpius

  • Member
  • *
  • Posts: 16
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #10 on: September 19, 2009, 11:36:54 AM »
Quote from: AlexP on September 19, 2009, 11:32:52 AM
What he means is, have you deleted your downloaded source and re-checked it out using

svn co svn://svn.rockbox.org/rockbox/trunk rockbox

since you changed the line endings.  The source you checked out before fixing the line endings error won't work.
yes, but what line checking do you mean? I have not done any line checking and actually don't know what you mean. I just installed cygwin like advised in wiki and done svn.

so do I have to make some kind of line checking/fixing after svn download rockbox source? how?
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #11 on: September 19, 2009, 11:40:04 AM »
I didn't mention line checking anywhere...

I'm referring to you having fixed the line endings used by cygwin as you instructed by cpu98:

Quote from: cpu98 on September 18, 2009, 10:07:15 AM
Unix mode seems to be needed if you used 'svn co'.

http://forums.rockbox.org/index.php?topic=22478.0
http://www.rockbox.org/wiki/UsingCygwinAndTortoiseSVN

edit:
svn checks out original file (LF).
cygwin environment is set for CR+LF,
causing newline mismatch.

tortoisesvn converts them to CR+LF.
Dos mode(CR+LF) is for tortoisesvn?

Set it unix mode and try again...

and you said you had done:

Quote from: Scorpius on September 18, 2009, 01:32:30 PM
hmm..did that and now I get another error:

Edit:  Let's be really clear:

1)  How are you checking out the source?  Using svn co ... or using TortoiseSVN?

2)  What are the line endings set to in cygwin?  Dos or unix?  You can check like this:

Quote from: linuxstb on August 14, 2009, 04:33:57 AM
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 [...] configured with CR+LF.
« Last Edit: September 19, 2009, 11:44:45 AM by AlexP »
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline Scorpius

  • Member
  • *
  • Posts: 16
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #12 on: September 19, 2009, 05:30:36 PM »
I'm "checking out" downloading source using command
Code: [Select]
svn co svn://svn.rockbox.org/rockbox/trunk rockbox
and
Code: [Select]
echo > a.txt
produces 1kb of file, so everything should be OK. But no, not working.

Also tried another aproach; downloaded tortoisesvn, reinstalled cygwin with DOS mode, now
Code: [Select]
echo > a.txt
produces 2kb of file, so everything should be OK.
I "check out" i.e. download latest code with "svn checkout" style like in wiki and try building

guess what..I get exacly same errors like this poster  :'(

So both methods tried, doing definitely like should and no go.

No I can say my head really hurts.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #13 on: September 19, 2009, 05:40:12 PM »
Quote from: Scorpius on September 19, 2009, 05:30:36 PM
I'm "checking out" downloading source using command
Code: [Select]
svn co svn://svn.rockbox.org/rockbox/trunk rockbox


Did you delete the old rockbox folder before running that command?
Logged

Offline Scorpius

  • Member
  • *
  • Posts: 16
Re: svn rockbox (untouched) building with cygwin: loads of errors
« Reply #14 on: September 20, 2009, 02:40:32 AM »
Quote from: saratoga on September 19, 2009, 05:40:12 PM
Quote from: Scorpius on September 19, 2009, 05:30:36 PM
I'm "checking out" downloading source using command
Code: [Select]
svn co svn://svn.rockbox.org/rockbox/trunk rockbox


Did you delete the old rockbox folder before running that command?

Yes. I can honestly say I've done precisely like both wikis advice (svn and tortoise svn methods) but because these problems persist there has to be a flaw with somewhere else. Any ideas? os? filesystem?

cpu98 or somebody else: Could you please be so kind that you upload all the contents of your cygwin and newest rockbox folder to my ftp ( I gave you anonymous access)[/url][/url] so I can compile my code? or can you compile it for me? I just have 240G iPod video and thus I have added 2 lines in config-ipodvideo.h nothing else. config-ipodvideo.h is yn my ftp.

thanks

my ftp servo is ftp://deka.dy.fi/Public/
« Last Edit: September 20, 2009, 02:42:28 AM by Scorpius »
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  svn rockbox (untouched) building with cygwin: loads of errors
 

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

Page created in 0.099 seconds with 14 queries.