btw can you upload it to github (for example), every time I download I have to dos2unix all files

do a search for cudaminer on github and grab it from there. It even has a few (so far unreleased) improvements in it.
Maybe the source tarball in the 2013-12-18 version doesn't yet have the necessary compilation fixes for Linux,
so that's why your cuda compiler still crashes on the spinlock kernel.