I am rather new to Linux (using Ubuntu 14.04 LTS 64bit), coming from Windows, and am attempting to port over an existing CUDA project of mine.
When linking via
Try to add -pthread at the end of the library list (command line) in the Makefile.
It worked for me.