Shared object on IRIX...

From: Andrew Askew (padley) (askew@physics.rice.edu)
Date: Fri Aug 20 1999 - 17:21:42 MEST


Hi Rooters,

I'm not certain whether this is a kai question or an actual ROOT question
but since it pertains to the compilation of a shared object for ROOT using
the Makefile provided (modified by adding my own dependencies and files of
course).  The make sucessfully compiles all of the object files, but when
it attempts to link them using KCC, I keep getting protests of:
no output from nm and
/usr/products/IRIX6n32/root/v2_22_09/lib/libZip.so: no symbols
for all of the libraries linked in and my object files.  Here are the
options as they are set in the Makefile (stolen from the ROOT website):
ObjSuf        = o
SrcSuf        = cpp
ExeSuf        =
DllSuf        = so
EVENTLIB      = $(EVENTO)
OutPutOpt     = -o

ROOTGLIBS     = -lGpad -lGui -lGX11 -lX3d

# SGI with KCC
CXX           = KCC
CXXFLAGS      = -I$(ROOTSYS)/include --signed_chars --display_error_number
--diag_suppress 68 --diag_suppress 191
LD            = KCC
LDFLAGS       = -g -Wl,-u,__builtin_new -Wl,-u,__builtin_delete
-Wl,-u,__nw__FUiPv
SOFLAGS       = -Wl,-soname
ROOTLIBS      = -L$(ROOTSYS)/lib -lBase -lCint -lClib -lCont -lFunc \
                -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit
-lNet \
                -lPostscript -lProof -lTree -lUnix -lZip
LIBS          = $(ROOTLIBS) -lm # -ldl
GLIBS         = $(ROOTLIBS) $(ROOTGLIBS) -lXpm -lX11 -lm -lPW -ldl




#------------------------------------------------------------------------------

Thanks,
Andrew Askew



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET