re compiling on sun in article apr aio jsc nasa gov mccoy gothamcity jsc nasa gov writes in article qfe wb qzz ez andrew cmu edu wilson swee ws n andrew cmu edu writes i have a piece of x code that compiles fine on pmax ul pmax mach as well as sun mach but whenever it compiles on sun 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 lx the makefile is generated off an imake template can anyone give me pointers as to what i m missing out to compile on a sun well the first are easy you need the math library try adding lm after lx don t know if that s the whole problem but it s a start i think you should try linking to usr lib libxmu a instead of lxmu at least that solved the problem for me
