Hi everybody,
I'm running on alpha-dec-osf4.0 station and using ROOT Version 2.23/12.
I have a problem on using gdb and I don't know the origin.
I defined environement variables on my personal directory.
> setenv ROOTSYS mydirectory/root
>setenv LD_LIBRARY_PATH $ROOTSYS/lib
Then I compile and run a cc code , the makefile is given below
LDFLAGS = -g
CC = g++
CXX = g++
LINKER = $(CC)
ROOTCFLAGS = $(shell $(ROOTSYS)/bin/root-config --cflags)
ROOTLIBS = $(shell $(ROOTSYS)/bin/root-config --libs)
ROOTGLIBS = $(shell $(ROOTSYS)/bin/root-config --glibs)
CXXFLAGS = -g $(ROOTCFLAGS)
LIBS = $(ROOTLIBS) -lMinuit
GLIBS = $(ROOTGLIBS) -lMinuit
CCNAME = fit
OBJ = $(CCNAME).o
SRC = $(CCNAME).cc
all: $(CCNAME)
$(CCNAME): $(OBJ) $(SRC)
$(LINKER) $(LDFLAGS) -o $(CCNAME) $(OBJ) $(LIBS)
$(SOFLAGS)
$(CCNAME).o: $(SRC) fit.h
$(CC) -c $(CCNAME).cc $(CXXFLAGS)
When I try to run it with gdb I have this error message : /sbin/loader:
Fatal Error: Unresolved symbol in /root/lib/libGX11.so:
AddClass__XPCcsPXv_v
where /root is the root system version ???
What do I wrong?
Thank you.
Regards,
Lionel Neukermans.
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:21 MET