📄 67140
字号:
Newsgroups: comp.windows.xPath: cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!bb3.andrew.cmu.edu!news.sei.cmu.edu!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!menudo.uh.edu!uuneo!sugar!neuralogFrom: neuralog@NeoSoft.com (Neuralog)Subject: Re: compiling on sun4_411Organization: NeoSoft Communications Services -- (713) 684-5900Date: Wed, 21 Apr 1993 13:36:52 GMTMessage-ID: <C5u5tI.B8@sugar.neosoft.com>References: <Yfo=qfe00WB2QzZ7EZ@andrew.cmu.edu> <1993Apr20.132914.907@aio.jsc.nasa.gov>Lines: 27In article <1993Apr20.132914.907@aio.jsc.nasa.gov> mccoy@gothamcity.jsc.nasa.gov writes:>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.>>---I "think" you should try linking to /usr/lib/libXmu.a instead of -lXmu. At least that solved the problem for me!
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -