Problem with -pthread library

Hi! I’ve installed ROOT succesfull on Ubuntu11. I’ve linked on bashrc… but when I launch root-config --cflags, with a makefile to compile a C++ code, on the shell appear: "Nessuna regola per generare l’obiettivo “-pthread”,… " that in english I think the traslation is: “No rule to generate the target -pthread, …”, someone can help me?


Most likely you added root-config -cflags as part of the makefile dependencies of your libraries. root-config result is not a format useful for that. (I.e. just remove it).