Error compiling a program with ROOT 5.32 Kubuntu11.10 64bit

See [url]Linking problem to libTree.so
Also, instead of manually setting all flags, try:
root-config --cxx --cflags -o huga huga.cpp root-config --glibs