[luau] ics412: operating systems
William N Luoma
luoma at hawaii.edu
Sat Oct 26 20:02:00 PDT 2002
I checked the /usr/ccs/lib directory. no relevant libs.
Ran `nm -Cp libstdc++.a` and found the symbols for
stl-inst.o, the object file for "instantiation" file
stl-inst.cc. No references to my missing symbol.
I think the lib just wasn't built right.
Thanks for your time.
Bill
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/collect2 -V -Y
>P,/usr/ccs/lib:/usr/lib -Qy -o map
>/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/crt1.o
>/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/crti.o
>/usr/ccs/lib/values-Xa.o
>/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/crtbegin.o
>-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4
>-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/../../../../sparc-sun-solaris2.8/lib
>-L/usr/ccs/bin -L/usr/ccs/lib
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/../../..
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/var/tmp/ccml04MG.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc
>/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/crtend.o
>/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/crtn.o
Hmm, the only thing that might cause a problem is the -L options I
highlighted above. The path for -L/usr/ccs/lib comes before
-L/usr/local/lib. Thus, if a libstdc++.so exists in that directory, it
would be picked up instead of the /usr/local/lib. See if this is the
case. If not, it might actually be a bug in the compiler, or the way the
compiler was built.
--jc
--
Jimen Ching (WH6BRR) jching at flex.com wh6brr at uhm.ampr.org
More information about the LUAU
mailing list