Damir Buskulic wrote: > > Hi, > > I'm still turning around with solaris. I'm trying to build a makefile > that works to rebuild root with gcc (in fact egcs 1.0.2). I have the > bunch of undefined references that is shown below. Does somebody know > where are these defined ? I was supposing they where somewhere in libg++ > or libstdc++. nope. I'm stuck (probably not the last time) > > Thanks for any help > > Damir > > ospite@gacrux:src> CC -g -o /home/ospite/damir/root/bin/cint > MAIN_cppmain.o -L/home/ospite/damir/root/lib -lCint -lm -ltermcap -lgen > -ldl -lg++ -lstdc++ > ild: (undefined symbol) filebufiPci -- referenced in > /home/ospite/damir/root/lib/libCint.so > ild: (undefined symbol) sputbackc__9streambufc -- referenced in > /home/ospite/damir/root/lib/libCint.so > ild: (undefined symbol) __11fstreambaseiimbufc -- referenced in > /home/ospite/damir/root/lib/libCint.so > ild: (undefined symbol) _7filebuf.openprot -- referenced in > /home/ospite/damir/root/lib/libCint.so > ild: (undefined symbol) attach__7filebufi -- referenced in > /home/ospite/damir/root/lib/libCint.so > ild: (undefined symbol) __10ostrstreamiPciiufc -- referenced in > /home/ospite/damir/root/lib/libCint.so Damir, In our installation procedure for Solaris with gcc, we define the following variables: CXX g++ CC gcc LD g++ CXXOPT [cxxdbg]//' -fPIC -c' CCOPT [ccdbg]//' -fPIC -c' LDOPT [cxxdbg]//' -o' SLOPT [cxxdbg]//' -shared -o' LIBS '-L$ROOTSYS/lib '//[rlibs]//' -L/usr/openwin/lib _ -lXpm -lX11 -lg++ -lm -lgen -ldl -lsocket' LIBSX '$ROOTSYS/lib/libXpm.a -lX11 -g++' CICXXOPT [cxxdbg]//' -fPIC -DG__REGEXP1 -DG__UNIX -DG__SHAREDLIB _ -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -c' CICCOPT [ccdbg]//' -fPIC -DG__REGEXP1 -DG__UNIX -DG__SHAREDLIB _ -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -c' CILDOPT [cxxdbg]//' -o' CILIBS '-L$ROOTSYS/lib -lCint -L/usr/lib -lm -ltermcap -lbsd -ldl -lg++ -rdynamic' This procedure was tested a long time ago. If you succeeded in making a Makefile, let us know. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET