From: mccoy@gothamcity.jsc.nasa.gov (Daniel McCoy)
Subject: Re: compiling on sun4_411
Reply-To: mccoy@gothamcity.jsc.nasa.gov
Organization: I-NET Inc.
Lines: 27

In article qfe00WB2QzZ7EZ@andrew.cmu.edu, Wilson Swee <ws8n+@andrew.cmu.edu> () writes:
|>    I have a piece of X code that compiles fine on pmax-ul4, pmax_mach, as
|>well as sun4_mach, but whenever it compiles on sun4_411, it gives me 
|>undefined ld errors:
|>_sin
|>_cos
|>_pow
|>_floor
|>_get_wmShellWidgetClass
|>_get_applicationShellWidgetClass
|>
|>The following libraries that I linked it to are:
|>-lXaw -lXmu -lXt -lXext -lX11
|>
|>The makefile is generated off an imake template.
|>Can anyone give me pointers as to what I'm missing out to compile on
|>a sun4_411?

Well, the first 2 are easy.  You need the math library.  Try adding -lm after
-lX11.  Don't know if that's the whole problem but it's a start.

---
Daniel J. McCoy           |=> SPACE  <=|                   I-NET, Inc.
NASA Mail Code PT4        |=> IS     <=|             TEL: 713-483-0950
NASA/Johnson Space Center |=> OUR    <=|             FAX: 713-244-5698
Houston, Texas 77058      |=> FUTURE <=| mccoy@gothamcity.jsc.nasa.gov

