Hi,
I don’t know what happens but suddenly I cannot compile any more my codes. This is the error:
/afs/cern.ch/atlas/software/releases/17.0.0/LCGCMT/LCGCMT_60b/InstallArea/i686-slc5-gcc43-opt/bin/…/…/…/…/…/sw/lcg/app/releases/ROOT/5.28.00b/i686-slc5-gcc43-opt/root/lib/libCore.so: undefined reference to `std::basic_ostream<char, std::char_traits >& std::__ostream_insert<char, std::char_traits >(std::basic_ostream<char, std::char_traits >&, char const*, int)@GLIBCXX_3.4.9’
i tried to compile a code like
int main(){}
with this makefile:
[size=85]ROOTCFLAGS = $(shell root-config --cflags)
ROOTLIBS = $(shell root-config --libs)
ROOTGLIBS = $(shell root-config --glibs)
CXX = g++
CXXFLAGS =-I$(ROOTSYS)/include -O -Wall -fPIC
LD = g++
LDFLAGS = -g
SOFLAGS = -shared
CXXFLAGS += $(ROOTCFLAGS)
LIBS = $(ROOTLIBS)
GLIBS = $(ROOTGLIBS)
OBJS = dummy.o
dummy: $(OBJS)
$(CXX) -o $@ $(OBJS) $(CXXFLAGS) $(LIBS)
suffix rule
.cc.o:
$(CXX) -c $(CXXFLAGS) $(GDBFLAGS) $<
clean
clean:
rm -f *~ *.o *.o~ core[/size]
I tried both with 32 and 63 bit environment. Do you have any idea what’s wrong?