home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16582 < prev    next >
Encoding:
Text File  |  1992-11-13  |  2.2 KB  |  52 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!wjin
  3. From: wjin@cs.uh.edu (W. Woody Jin)
  4. Subject: XView Problem
  5. Message-ID: <1992Nov13.095134.29647@menudo.uh.edu>
  6. Summary: Simple program doesn't compile.
  7. Keywords: SLS, compilations, XView programming
  8. Sender: usenet@menudo.uh.edu (USENET News System)
  9. Nntp-Posting-Host: modigliani.cs.uh.edu
  10. Organization: University of Houston
  11. Date: Fri, 13 Nov 1992 09:51:34 GMT
  12. Lines: 38
  13.  
  14.  
  15. I am a novice in XView programming (just started to read
  16. O'Reilly's XView programming Book).
  17. And I have a problem in compiling the first example in the book,
  18.  
  19. which is quit.c.
  20.  
  21. When compiling it, I get the following error messages :
  22. cc quit.c -lxview -lolgx -lX11
  23. In file included from /usr/include/xview/base.h:12, 
  24. from /usr/include/xview/attr.h:19, from /usr/include/xview/pkg.h:26, 
  25. from /usr/include/xview/pkg_public.h:19, from /usr/include/xview/generic.h:39,
  26. from /usr/include/xview/xview_xvin.h:41, from /usr/include/xview/xview.h:18, 
  27. from quit.c:1:
  28. /usr/include/malloc.h:42: warning: `malloc' declared inline after being called
  29. /usr/include/malloc.h:43: warning: `calloc' declared inline after being called
  30. quit.c: In function `main':
  31. quit.c:20: warning: passing arg 1 of `xv_create' makes integer from pointer with
  32. out a cast
  33. /usr/lib/libxview.a(ndet_loop.o): Undefined symbol _svc_fdset referenced from te
  34. xt segment
  35. /usr/lib/libxview.a(ndet_loop.o): Undefined symbol _svc_fdset referenced from te xt segment 
  36. /usr/lib/libxview.a(ndet_loop.o): Undefined symbol _svc_getreqset referenced fro m text segment
  37.  
  38. The XView book is the most recent one (which describes ver 3.0), so it 
  39. should work with the current xview port to Linux.
  40. BTW, I am using  most recent version of SLS package.
  41.  
  42. Thanks.
  43.  
  44. -- 
  45. ____   ____  ____ ____________________________________ (___) _________________
  46. |  |   |  |  |  |  W. Woody Jin (wjin@cs.uh.edu)       (o o)      Moo.... 
  47. |  |   |  |__|  |  PhD Student. Research Asst.  o=======\ /  I'm  a Cow Lover.
  48. |  |   |        |  Dept. of Computer Science   / |     ||O   My wife  was born
  49. \  |---|  |--|  |  University of Houston      `  ||'---||    in Cow year. Mooo
  50.  \____/|__|  |__| _______________________________^^    ^^_____________________
  51.  
  52.