Since last week, I keep getting this error when trying to compile C++ programs that use ROOT functions such as histograms:
/tmp/ccaOk6lo.o: In function __static_initialization_and_destruction_0(int, int)': analyse124b.C:(.text+0x1655): undefined reference toTVersionCheck::TVersionCheck(int)’
/tmp/ccaOk6lo.o: In function .L826': analyse124b.C:(.text+0x3ffd): undefined reference toTStorage::ObjectAlloc(unsigned int)‘
analyse124b.C:(.text+0x403d): undefined reference to `TH1F::TH1F(char const*, char const*, int, double, double)’
I am using Kubuntu 7.10 with KDE 3.58. For compiling I use gcc via makefile. As far as I am aware of, I did not change anything in my system in the last weeks. Neither did I add any ROOT functions to my programs that weren’t included before.