I don't think this has been posted here yet, i could be wrong. I was having a lot of compiling issues including many I have seen posted. I finally found out what the problem was. Some SVN revisions i tried apparently were made on a windows computer which terminate lines in text files with CR-LF. Which is fine for windows but on linux this causes major problems because linux terminates lines with CR only and treats LF like a red headed step child.
If you did not understand any of that, don't worry about it. All you need to know is there is a way to fix all of the files.
First, you will need to install dos2unix, if your distro doesnt already have it.
On a Debian or other Linux distro that has apt-get you would do
Code:
sudo apt-get tofrodos
For other distros you need to do
Code:
sudo wget http://tofrodos.sourceforge.net/download/tofrodos-1.7.8.tar.gz
sudo tar xvfz tofrodos-1.7.8.tar.gz
Now that you have the files you need, we need to run a command to recursivly change all of the files in your trunk directory (because dos2unix doesnt have a recursive switch)
Code:
sudo dos2unix `find /path/to/your/trunk -type f`
Thats it! Just make sure you change what I've highlited to the path to your trunk directory.
After running that, the code compiled fine for me without errors.
Good luck everyone!