home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / rec / games / diplomac / 85 < prev    next >
Encoding:
Text File  |  1992-11-16  |  3.8 KB  |  93 lines

  1. Newsgroups: rec.games.diplomacy
  2. Path: sparky!uunet!caen!destroyer!news.iastate.edu!tarjan
  3. From: tarjan@iastate.edu (RC Cola)
  4. Subject: Re: Computer Diplomacy
  5. Message-ID: <BxtIFF.3uB@news.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames, IA
  8. References: <1992Nov15.090525.3288@reed.edu> <1992Nov16.143844.17439@cs.tu-berlin.de>
  9. Date: Mon, 16 Nov 1992 16:42:48 GMT
  10. Lines: 81
  11.  
  12. In article <1992Nov16.143844.17439@cs.tu-berlin.de> larsbuet@cs.tu-berlin.de (Lars Buettner) writes:
  13. >I'm interested in using mapit (PD program for nice dip scenes in postscript).
  14. >But nobody I know ever heard of it. Maybe 'good old germany' is to far away
  15. >from diplomacies world. So how can I obtain a copy of mapit ?
  16. >
  17. >Thanks. Lars
  18. >
  19.  
  20. Well I have it,, But I get these errors every time I try to compile..
  21. (it is version 1.2)
  22. If there is a more recent version.. please tell me!!
  23.  
  24.  
  25. vincent% cc -o mapit mapit.c
  26. ccom: Warning: mapit.c, line 131: illegal combination of pointer and integer, op =
  27.             info_file = strdup(optarg);
  28.       --------------------------------^
  29. ccom: Warning: mapit.c, line 150: illegal combination of pointer and integer, op =
  30.             ps_file = strdup(optarg);
  31.       ------------------------------^
  32. ccom: Warning: mapit.c, line 409: illegal combination of pointer and integer, op =
  33.               orders[ordernum] = strdup(country);
  34.       ------------------------------------------^
  35. ccom: Warning: mapit.c, line 490: illegal combination of pointer and integer, op =
  36.           units[unitcount].country = strdup(country);
  37.       ----------------------------------------------^
  38. ccom: Warning: mapit.c, line 569: illegal combination of pointer and integer, op =
  39.             p2 = strdup(p0);          
  40.       ---------------------^
  41. ccom: Warning: mapit.c, line 678: illegal combination of pointer and integer, op =
  42.             orders[ordernum] = strdup(new);
  43.       ------------------------------------^
  44. ccom: Warning: mapit.c, line 683: illegal combination of pointer and integer, op =
  45.             graphics[graphicnum] = strdup(newg);
  46.       -----------------------------------------^
  47. ccom: Warning: mapit.c, line 852: illegal combination of pointer and integer, op =
  48.               units[unitcount].country = strdup(country);
  49.       --------------------------------------------------^
  50. ccom: Warning: mapit.c, line 1001: illegal combination of pointer and integer, op =
  51.             units[unitcount].country = strdup(country);
  52.       ------------------------------------------------^
  53. ccom: Warning: mapit.c, line 1199: illegal combination of pointer and integer, op =
  54.               orders[ordernum] = strdup(country);
  55.       ------------------------------------------^
  56. ccom: Warning: mapit.c, line 1271: illegal combination of pointer and integer, op =
  57.             units[unitcount].country = strdup(country);
  58.       ------------------------------------------------^
  59. ccom: Warning: mapit.c, line 1279: illegal combination of pointer and integer, op =
  60.           orders[ordernum] = strdup(new);
  61.       ----------------------------------^
  62. ccom: Warning: mapit.c, line 1491: illegal combination of pointer and integer, op =
  63.             nation[nationcount] = strdup(copy);
  64.       ----------------------------------------^
  65. ccom: Warning: mapit.c, line 1517: illegal combination of pointer and integer, op =
  66.               map[mapcount].nick = strdup(nick);
  67.       -----------------------------------------^
  68. ccom: Warning: mapit.c, line 1518: illegal combination of pointer and integer, op =
  69.               map[mapcount].name = strdup(name);
  70.       -----------------------------------------^
  71. ccom: Warning: mapit.c, line 1521: illegal combination of pointer and integer, op =
  72.               map[mapcount].nicks = strdup(nicks);
  73.       -------------------------------------------^
  74. ld
  75. Undefined:
  76. strdup
  77. vincent% 
  78.  
  79. And that is it..
  80.  
  81.  
  82. Any suggestions?
  83.  
  84. tarjan@iastate.edu
  85. Scot Kight
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.