Rockbox Development > Starting Development and Compiling
svn rockbox (untouched) building with cygwin: loads of errors
Scorpius:
--- 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.
--- End quote ---
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?
AlexP:
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...
--- End quote ---
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:
--- End quote ---
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.
--- End quote ---
Scorpius:
I'm "checking out" downloading source using command
--- Code: ---svn co svn://svn.rockbox.org/rockbox/trunk rockbox
--- End code ---
and
--- Code: ---echo > a.txt
--- End code ---
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: ---echo > a.txt
--- End code ---
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.
saratoga:
--- Quote from: Scorpius on September 19, 2009, 05:30:36 PM ---I'm "checking out" downloading source using command
--- Code: ---svn co svn://svn.rockbox.org/rockbox/trunk rockbox
--- End code ---
--- End quote ---
Did you delete the old rockbox folder before running that command?
Scorpius:
--- 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: ---svn co svn://svn.rockbox.org/rockbox/trunk rockbox
--- End code ---
--- End quote ---
Did you delete the old rockbox folder before running that command?
--- End quote ---
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/
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version