Linking error while compiling CUDA SDK in Ubuntu 12.04

Linking error while compiling CUDA SDK in Ubuntu 12.04
Following the installation guide provided by CUDA website, all the dependency libraries are installed through apt-get:

sudo apt-get install freeglut3-dev build-essential libx11-dev

libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev

When compiling the SDK, still get the error:

../../lib/librendercheckgl_x86_64.a(rendercheck_gl.cpp.o): In function `CheckBackBuffer::checkStatus(char const*, int, bool)’:

rendercheck_gl.cpp:(.text+0xfbb): undefined reference to `gluErrorString’

collect2: ld returned 1 exit status

Tried several times uninstall and install again, and finally find the post: http://forums.developer.nvidia.com/devforum/discussion/3486/linkingmake-error-while-compiling-sdk-on-ubuntu-11-10/p1 solving this problem:

The problem is in the ~/NVIDIA_GPU_Computing_SDK/C/common/common.mk

Lines like:

LIB += … ${OPENGLLIB} …. $(RENDERCHECKGLLIB) …

should have the two in reverse.

StarPU

StarPU
Traditional processors have reached architectural limits which heterogeneous multicore designs and hardware specialization (e.g. coprocessors, accelerators, …) intend to address. However, exploiting such machines introduces numerous challenging issues at all levels, ranging from programming models and compilers to the design of scalable hardware solutions. The design of efficient runtime systems for these architectures is a critical issue. StarPU typically makes it much easier for high performance libraries or compiler environments to exploit heterogeneous multicore machines possibly equipped with GPGPUs or Cell processors: rather than handling low-level issues, programmers may concentrate on algorithmic concerns.Portability is obtained by the means of a unified abstraction of the machine. StarPU offers a unified offloadable task abstraction named “codelet”. Rather than rewriting the entire code, programmers can encapsulate existing functions within codelets.