home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14137 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.5 KB

  1. Path: sparky!uunet!mcsun!uknet!axion!muppet!ishtar!davidh
  2. From: davidh@muppet.bt.co.uk (David Hobley)
  3. Newsgroups: comp.windows.x
  4. Subject: Re: compile error
  5. Message-ID: <1992Jul21.131737.7291@muppet.bt.co.uk>
  6. Date: 21 Jul 92 13:17:37 GMT
  7. References: <1992Jul21.105610.8785@kth.se>
  8. Sender: root@muppet.bt.co.uk (Operator)
  9. Reply-To: davidh@muppet.bt.co.uk
  10. Organization: British Telecom Research Laboratories
  11. Lines: 40
  12.  
  13. In article 8785@kth.se, tomasc@lionfish.tds.kth.se (Tomas Carlsson) writes:
  14. >In article <1992Jul20.121551.22457@kth.se>, tomasc@lionfish.tds.kth.se (Tomas Carlsson) writes:
  15. >|> I'm trying to compile a program I've written. I've stolen and
  16. >|> modified a Makefile but I'm not able to understand this error:
  17. >|> 
  18. >|>    ld: Undefined symbol 
  19. >|>       _error 
  20. >|>       _pow
  21. >|>       _floor
  22. >|>       _get_wmShellWidgetClass
  23. >|>       _get_applicationShellWidgetClass
  24. >|>       __XtInherit
  25. >|>       _XtToolkitInitialize
  26. >|>    *** Error code 2
  27. >|> 
  28. >     (deleted som stuff here)
  29. >|>
  30. >|> In my makefile I use (among others) these flags: (yes, I've
  31. >|> used devguide)
  32. >|> 
  33. >|>    -lguidexv -lguide -lxview -lolgx -lXmu -lXt -lXext -lX11
  34. >|> 
  35. >|> I'm using openwindows 3.0, X11R5 on a sun4.
  36. >             ^^^^^^^^^^^^^^^
  37. >
  38. >That seems to be the problem (OW 3.0). I tried to compile under
  39. >OW 2.0 - no problem!
  40.  
  41. ->Tomas Carlsson
  42.  
  43. Openwindowns 3 seems to have broken at least the Xmu shared lib.
  44. Also you have forgotten the math library.
  45.  
  46. Compile the program statically for a workaround and put -lm on the end.
  47.  
  48. david
  49.  
  50.  
  51.  
  52. ---
  53.