Hi rooters, I am using Root2.25.0 on Sun's Solaris with g++, and am having a strange problem when linking root libraries with others. (I built libxxx.so for root2.25.0 with g++.) I have many object files which were precompiled with g++. These object files were from many xxx.C files which have nothing to do with ROOT. I want to use these object files as well as the access to ROOT files. So, I have a small program that calls TFile's member functions as well as routines in these object files. When I link all these, with first of all ROOT libraries and then others such as -lnag16 -lnag18 and /SUNWspro/SC5.0/lib -lF77 -lM77 -lmopt -lsunmath -lm. I get the following 3 out of 23 messages: /home/hp/ROOT/lib/libCore.so: undefined reference to `tan@@SUNW_1.1' /home/hp/ROOT/lib/libCore.so: undefined reference to `cos@@SUNW_1.1' /home/hp/ROOT/lib/libCore.so: undefined reference to `sqrt@@SUNW_1.1' Note all these other libraries are the ones that I usually link with when not using ROOT at all. Any suggestions? Thanks, HP
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET