Hello Rooters,
I was able to fix Internal Compiler Error when compiling EventDict.cxx
(see http://root.cern.ch/root/roottalk/roottalk99/1899.html)
in root/test directory by replacing -O compiler option with -g.
This allows to compile and link 4 programs in root/test directory,
namely hsimple, minexam, tstring, and vvector. Linking Event and tcollex
failed because of undefined symbols
ld: Software Generation Utilities - Solaris/ELF (3.0)
Undefined first referenced
symbol in file
__ti7TObject Event.o
__tf7TObject Event.o
ld: Software Generation Utilities - Solaris/ELF (3.0)
Undefined first referenced
symbol in file
__ti7TObject tcollex.o
__tf7TObject tcollex.o
ld: fatal: Symbol referencing errors. No output written to tcollex
Linking vmatrix and vlazy failed because of undefined symbols
ld: Software Generation Utilities - Solaris/ELF (3.0)
Undefined first referenced
symbol in file
__tf11TLazyMatrix vmatrix.o
__ti11TLazyMatrix vmatrix.o
ld: fatal: Symbol referencing errors. No output written to vmatrix
ld: Software Generation Utilities - Solaris/ELF (3.0)
Undefined first referenced
symbol in file
__tf11TLazyMatrix vlazy.o
__ti11TLazyMatrix vlazy.o
ld: fatal: Symbol referencing errors. No output written to vlazy
Linking the rest of the programs, i.e., failed because of undefined symbols
in libGpad.so, libGui.so, libGX11.so. For example
ld: Software Generation Utilities - Solaris/ELF (3.0)
Undefined first referenced
symbol in file
__6TGraphiPfT2 /data1/cern/root/lib/libGpad.so
SetX1__4TBoxf /data1/cern/root/lib/libGpad.so
GetterMethod__11TDataMember /data1/cern/root/lib/libGui.so
GetName__C6TNamed /data1/cern/root/lib/libGpad.so
SetFillColor__8TAttFills /data1/cern/root/lib/libGpad.so
SetTextFont__8TAttTexts /data1/cern/root/lib/libGpad.so
SetOption__5TPavePCc /data1/cern/root/lib/libGpad.so
_vt.12TFileHandler /data1/cern/root/lib/libGui.so
Modify__10TAttMarker /data1/cern/root/lib/libGX11.so
ShowMembers__10TCanvasImpR16TMemberInspectorPc /data1/cern/root/lib/libGui.so
Below is a part of modified Makefile located in /root/test directory used
to compile and link programs.
ObjSuf = o
SrcSuf = cxx
ExeSuf =
DllSuf = so
EVENTLIB = $(EVENTO)
OutPutOpt = -o
ROOTCFLAGS =
ROOTLIBS = -lBase -lCint -lClib -lCont -lFunc -lGraf -lGraf3d -lHist \
-lHtml -lMatrix -lMeta -lMinuit -lNet -lPhysics -lPostscript \
-lProof -lRint -lTree -lUnix -lZip \
-L/usr/openwin/lib -L/usr/ccs/lib -lXpm -lX11 \
-lgen -ldl -lnsl -lm -lsocket
ROOTGLIBS = -lGpad -lGui -lGX11 -lX3d \
-L/usr/openwin/lib -L/usr/ccs/lib \
-lXpm -lX11 -lgen -ldl -lnsl -lm -lsocket
# Solaris
CXX = g++
CXXFLAGS = -g -v -fPIC -I/$(ROOTSYS)/include
LD = g++
LDFLAGS = -g -v
SOFLAGS = -G
CXXFLAGS += $(ROOTCFLAGS)
LIBS = $(ROOTLIBS)
GLIBS = $(ROOTGLIBS)
I appreciate any hints.
Michal Lijowski
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET