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