Robert Loke writes: > Trying to link the root stuff on a SGI, I got the problem of unresolved > symbols. The following symbols are acquainted: > > SmcCloseConnection > SmcModifyCallbacks > SmcClientID > SmcOpenConnection > SmcGetIceConnection > IceConnectionNumber > SmcSetProperties > SmcDeleteProperties > IceProcessMessages > SmcSaveYourselfDone > SmcInteractDone > SmcInteractRequest > SmcRequestSaveYourselfPhase2 > > > Following libs have been linked: > > -L$(ROOTSYS)/lib -lBase -lCint -lClib -lCont -lFunc -lGraf \ > -lGraf3d -lHist -lHtml -lMeta -lMinuit -lNet \ > -lPostscript \ > -lProof -lTree -lUnix -lZip -lGpad -lGX11 -lMotif \ > -lWidgets -lX3d -L/usr/local/X11R6/lib -lXm -lXpm \ > -lXt -lXext -lX11 -lg++ -lm -ldl -Wl,-u,__builtin_new \ > -Wl,-u,__builtin_delete -Wl,-u,__nw__FUiPv > Hi Robert, The following is valid for both SGI IRIX 5.3 and 6.2 (I list only libraries containing SmcCloseConnection): -------------------------------------------------------------------------------- /home/lv0/murat>foreach lib (dir /usr/lib/*.a) foreach? echo ----------------------- $lib foreach? nm $lib | grep SmcCloseConnection foreach? end ----------------------- /usr/lib/libICE.a [311] | 0| |Proc | |Undefined| SmcCloseConnection [3] | 1760| |Proc |end=5 int |Text | SmcCloseConnection [4] | 924| |End |ref=3 |Text | SmcCloseConnection [74] | 1760| |Proc |ref=3 |Text | SmcCloseConnection ----------------------- /usr/lib/libSM.a [311] | 0| |Proc | |Undefined| SmcCloseConnection [3] | 1760| |Proc |end=5 int |Text | SmcCloseConnection [4] | 924| |End |ref=3 |Text | SmcCloseConnection [74] | 1760| |Proc |ref=3 |Text | SmcCloseConnection ----------------------- /usr/lib/libXt.a [311] | 0| |Proc | |Undefined| SmcCloseConnection [3] | 1760| |Proc |end=5 int |Text | SmcCloseConnection [4] | 924| |End |ref=3 |Text | SmcCloseConnection [74] | 1760| |Proc |ref=3 |Text | SmcCloseConnection ----------------------- /usr/lib/libXt_s.a [2518] | 258739688| |Proc |end=5 int |Text | SmcCloseConnection [2519] | 924| |End |ref=2518 |Text | SmcCloseConnection [3434] | 258739688| |Proc |ref=2518 |Text | SmcCloseConnection -------------------------------------------------------------------------------- use -Wl,-ySmcCloseConnection option (with gcc) to figure where SmcCloseConnection is being referenced from. Redards, Pasha
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:20 MET