Problem with -pthread library

Hi! I’ve installed ROOT succesfull on Ubuntu11. I’ve linked thisroot.sh 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?

Hi,

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).

Cheers,
Philippe.