Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!ncar!gatech!bloom-beacon!eng.sun.COM!smarks From: smarks@eng.sun.COM (Dick Deadeye) Newsgroups: comp.windows.x Subject: Re: Contool 2.0 on Sun4's Message-ID: <9010191724.AA28327@trantor.Eng.Sun.COM> Date: 19 Oct 90 17:24:12 GMT References: <1990Oct19.120457.21239@maverick.ksu.ksu.edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 30 maverick.ksu.ksu.edu!proot@rutgers.edu (Paul T. Root) writes: | cc -O -o contool {lots of .o files} -L/usr/lib -lX11 -lolgx -lxview | ld: Undefined symbol | _icon_load_svrim The libraries aren't in the right order on the link line. They must be in the following order: -lxview -lolgx -lX11 I'm not 100% sure that this is causing your problem, but getting the libraries in the right order should help a lot. Your message also contained a fragment of a message: | ate; rerun ranlib(1) This looks like the part of the message warning: table of contents for archive is out of date; rerun ranlib(1) It's unlikely that this is causing your problem. But you should probably rerun ranlib on the libraries, if only to get ld to shut up. s'marks Stuart W. Marks ARPA: smarks@eng.sun.com Windows & Graphics Software UUCP: sun!smarks Sun Microsystems, Inc.