home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8599 < prev    next >
Encoding:
Text File  |  1992-08-19  |  986 b   |  42 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!caen!umeecs!umn.edu!harry
  3. From: harry@atlas.socsci.umn.edu (Kuo-Chen Chang)
  4. Subject: compiling error in gcc.2.2.2d
  5. Message-ID: <harry.714229718@puff.socsci.umn.edu>
  6. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  7. Nntp-Posting-Host: puff.socsci.umn.edu
  8. Organization: University of Minnesota
  9. Date: Wed, 19 Aug 1992 13:08:38 GMT
  10. Lines: 30
  11.  
  12. Hello there.  I just installed gcc 2.2.2d on my 486.  And I could not wait
  13. to try the new compiler.  TO my surprise, I got some complains:
  14.  
  15. /usr/include/stdlib.h:55: conflicting types for "div_t"
  16. /usr/include/linux/types.h:68: previous declaration of "div_t"
  17. /usr/include/stdlib.h:62: conflicting types for "ldiv_t"
  18. /usr/include/linux/types.h:69: previous declaration of "ldiv_t"
  19.  
  20. Did I miss something?
  21.  
  22. My compiling command is:
  23.  
  24. gcc -o poas -lm poas.c
  25.  
  26. The source code includes
  27.  
  28. <stdio.h>
  29. <malloc.h>
  30. <string.h>
  31. <math.h>
  32. <time.h>
  33. <ctype.h>
  34. <stdlib.h>
  35.  
  36. Any suggestion?
  37.  
  38. Thanks.   
  39.  
  40.     ---Harry
  41.  
  42.