home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!axion!muppet!ishtar!davidh
- From: davidh@muppet.bt.co.uk (David Hobley)
- Newsgroups: comp.windows.x
- Subject: Re: compile error
- Message-ID: <1992Jul21.131737.7291@muppet.bt.co.uk>
- Date: 21 Jul 92 13:17:37 GMT
- References: <1992Jul21.105610.8785@kth.se>
- Sender: root@muppet.bt.co.uk (Operator)
- Reply-To: davidh@muppet.bt.co.uk
- Organization: British Telecom Research Laboratories
- Lines: 40
-
- In article 8785@kth.se, tomasc@lionfish.tds.kth.se (Tomas Carlsson) writes:
- >In article <1992Jul20.121551.22457@kth.se>, tomasc@lionfish.tds.kth.se (Tomas Carlsson) writes:
- >|> I'm trying to compile a program I've written. I've stolen and
- >|> modified a Makefile but I'm not able to understand this error:
- >|>
- >|> ld: Undefined symbol
- >|> _error
- >|> _pow
- >|> _floor
- >|> _get_wmShellWidgetClass
- >|> _get_applicationShellWidgetClass
- >|> __XtInherit
- >|> _XtToolkitInitialize
- >|> *** Error code 2
- >|>
- > (deleted som stuff here)
- >|>
- >|> In my makefile I use (among others) these flags: (yes, I've
- >|> used devguide)
- >|>
- >|> -lguidexv -lguide -lxview -lolgx -lXmu -lXt -lXext -lX11
- >|>
- >|> I'm using openwindows 3.0, X11R5 on a sun4.
- > ^^^^^^^^^^^^^^^
- >
- >That seems to be the problem (OW 3.0). I tried to compile under
- >OW 2.0 - no problem!
-
- ->Tomas Carlsson
-
- Openwindowns 3 seems to have broken at least the Xmu shared lib.
- Also you have forgotten the math library.
-
- Compile the program statically for a workaround and put -lm on the end.
-
- david
-
-
-
- ---
-