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

  1. Xref: sparky comp.windows.x:14485 comp.windows.x.apps:643 alt.sources:1772
  2. Newsgroups: comp.windows.x,comp.windows.x.apps,alt.sources
  3. Path: sparky!uunet!usc!elroy.jpl.nasa.gov!ucla-cs!lanai.cs.ucla.edu!william
  4. From: william@lanai.cs.ucla.edu (William Cheng)
  5. Subject: Re: XPaint 2.0 Beta 2 Release Information
  6. Message-ID: <1992Jul28.043710.11803@cs.ucla.edu>
  7. Sender: usenet@cs.ucla.edu (Mr Usenet)
  8. Nntp-Posting-Host: lanai.cs.ucla.edu
  9. Organization: UCLA Computer Science Department
  10. References: <l76c4kINNa20@spim.mips.com>
  11. Date: Tue, 28 Jul 92 04:37:10 GMT
  12. Lines: 38
  13.  
  14. In article <l76c4kINNa20@spim.mips.com> koblas@mips.com (David Koblas) writes:
  15. >The second beta release of XPaint 2.0 is now available for use, it can
  16. >be FTPed from export.lcs.mit.edu or found in a recent alt.sources
  17. >posting.
  18. >
  19. >From the README file:
  20. >-------
  21. >
  22. >                              XPAINT 2.0 Beta 2
  23. >
  24. >.
  25. >.
  26. >.
  27. >
  28. >There is one REQURIREMENT, which is that you have a compiler that
  29. >understands void* and prototypes.
  30.  
  31. When I try to compile this on a SPARC running SunOS 4.1.1 with version
  32. 2.2.2 of gcc, I get the following error messages when compiling Options.c:
  33.  
  34.   gcc -g -ansi   -c Operation.c 
  35.   In file included from Operation.c:18:
  36.   /usr/include/stdlib.h:18: conflicting types for `abort'
  37.   <built-in>:0: previous declaration of `abort'
  38.   /usr/include/stdlib.h:26: conflicting types for `exit'
  39.   <built-in>:0: previous declaration of `exit'
  40.   Operation.c: In function `OperationInit':
  41.   Operation.c:201: warning: assignment makes integer from pointer without a cast
  42.   Operation.c:222: warning: passing arg 3 of `XtAddCallback' from incompatible
  43.       pointer type
  44.   make: *** [Operation.o] Error 1
  45.  
  46. The only line I changed in Makefile is to add 'CC=gcc'.  What am I doing
  47. wrong?  Thanks in advance!
  48. -- 
  49. Bill Cheng // UCLA Computer Science Department // (310) 575-4507
  50. 3564-C Boelter Hall // Los Angeles, California 90024 // USA
  51. william@CS.UCLA.EDU      ...!{uunet|ucbvax}!cs.ucla.edu!william
  52.