(Answer) (Category) Linux on PowerPC FAQ-O-Matic : (Category) Languages and Compilers :
I'm getting link errors on symbols like 'SmcCloseConnection' and 'IceConnectionNumber'.
Add -lICE -lSM to your compile (link) options.

In general, you can find missing symbols on your system by doing
a 'nm libwhatever.a' on each libwhatever you want to check. So if
you're missing a symbol 'sym', here's a brute-force way to look for
it in every library on your system:

find / -name lib\*.a -exec nm {} \| grep sym \;

Note it'll take find a long time to just find all the libraries.
You can improve on this. But this is a good first start, to make sure
you find and check every library.

jonh@cs.dartmouth.edu
jonh@cs.dartmouth.edu
[Append to This Answer]
Previous: (Answer) The compiler can't find iostream.h (or) where are the C++ headers and libraries?
Next: (Answer) Is there a java for Mklinux/linux-pmac?
This document is: http://www.jonh.net/cgi-bin/lppcfom/fom?file=146
[Search] [Appearance]
This is a Faq-O-Matic 2.717d.
Hosted by anduin.org and SourceForge Logo