home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / x / 16405 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  12.3 KB

  1. Path: sparky!uunet!destroyer!gumby!wupost!bcserv!bill
  2. From: bill@bcserv.wustl.edu (Eldridge (Bill))
  3. Newsgroups: comp.windows.x
  4. Subject: more of gcc-2.2.2 & X11R5 problems
  5. Date: 9 Sep 92 17:46:29 GMT
  6. Organization: Washington University in Saint Louis, MO USA
  7. Lines: 299
  8. Message-ID: <bill.716060789@bcserv>
  9. NNTP-Posting-Host: bcserv.wustl.edu
  10.  
  11. i'll try to be specific on this.  i've got a sparcstation ipx
  12. running SunOS 4.1.2, and i've having problems compiling
  13. X11R5 using gcc-2.2.2
  14.  
  15. doing a "make World" (no flags), i get lots of "handle_x_errors",
  16. "comparison is always 1 due to limited range of data type", and
  17.  a "warning: cast from pointer to integer of 
  18. different size".  this is at patch-level-6: i've been having
  19. a lot of problems with it, so i copied over the currently 
  20. running version, did a make clean, and then a make World.
  21. i had tried doing this from scratch, ran into problems, tried
  22. moving around the malloc.h, calloc.h and realloc.h files like
  23. the release notes say, and i continue to get about the same
  24. messages after recompiling this about 6 or 7 times, with
  25. small changes.
  26. there's a later patch that could fix this, i'd gladly install
  27. up to patch 17.  it's just the 3-4 hours to compile each
  28. attempt has me wanting to avoid this.  
  29.  
  30. i'm compiling in /usra/local/X11R5_new
  31.  
  32. i enclose the errors, since someone's previous question on this
  33. matter had not had enough documentation to decipher - sorry if 
  34. it's overkill.
  35.  
  36. thanks,
  37. bill  (bill@bcserv.wustl.edu)
  38. ________________________________________________________
  39.  
  40. # cat world.log | grep : | more
  41. Wed Sep  9 04:51:50 CDT 1992
  42. cc -c    -I../../.     -DINCLUDE_ALLOCA_H  -DXFILESEARCHP
  43. ATHDEFAULT=\"/usra/local/X11R5_new/lib/X11/%L/%T/%N%C%S:/
  44. usra/local/X11R5_new/lib/X11/%l/%T/%N%C%S:/usra/local/X11
  45. R5_new/lib/X11/%T/%N%C%S:/usra/local/X11R5_new/lib/X11/%L
  46. /%T/%N%S:/usra/local/X11R5_new/lib/X11/%l/%T/%N%S:/usra/l
  47. ocal/X11R5_new/lib/X11/%T/%N%S\" -DSUNSHLIB -DSHAREDCODE 
  48. -pic -O Intrinsic.c
  49. cc -c -O    -I../../.     -DINCLUDE_ALLOCA_H  -DXFILESEAR
  50. CHPATHDEFAULT=\"/usra/local/X11R5_new/lib/X11/%L/%T/%N%C%
  51. S:/usra/local/X11R5_new/lib/X11/%l/%T/%N%C%S:/usra/local/
  52. X11R5_new/lib/X11/%T/%N%C%S:/usra/local/X11R5_new/lib/X11
  53. /%L/%T/%N%S:/usra/local/X11R5_new/lib/X11/%l/%T/%N%S:/usr
  54. a/local/X11R5_new/lib/X11/%T/%N%S\" Intrinsic.c
  55. pexPc.c: In function `PEXGetPipelineContext':
  56. pexPc.c:1372: warning: cast from pointer to integer of di
  57. fferent size
  58. miInquire.c: In function `inquirePSurfaceChars':
  59. miInquire.c:1233: warning: cast from pointer to integer o
  60. f different size
  61. XTouch.c: In function `handle_x_errors':
  62. XTouch.c:1861: warning: comparison is always 1 due to lim
  63. ited range of data type
  64. XPErrors.c: In function `handle_x_errors':
  65. XPErrors.c:1990: warning: comparison is always 1 due to l
  66. imited range of data type
  67. XSelInput.c: In function `handle_x_errors':
  68. XSelInput.c:970: warning: comparison is always 1 due to l
  69. imited range of data type
  70. XSendEv.c: In function `handle_x_errors':
  71. XSendEv.c:1239: warning: comparison is always 1 due to li
  72. mited range of data type
  73. gc.c: In function `DoChangeGC':
  74. gc.c:104: warning: comparison is always 1 due to limited 
  75. range of data type
  76. gc.c:135: warning: comparison is always 1 due to limited 
  77. range of data type
  78. gc.c:146: warning: comparison is always 1 due to limited 
  79. range of data type
  80. gc.c:157: warning: comparison is always 1 due to limited 
  81. range of data type
  82. gc.c:167: warning: comparison is always 1 due to limited 
  83. range of data type
  84. gc.c:178: warning: comparison is always 1 due to limited 
  85. range of data type
  86. gc.c:390: warning: comparison is always 1 due to limited 
  87. range of data type
  88. Handlers.c: In function `DragOnePointHandler':
  89. Handlers.c:75: warning: cast from pointer to integer of d
  90. ifferent size
  91. Handlers.c:88: warning: cast from pointer to integer of d
  92. ifferent size
  93. Handlers.c: In function `DragTwoPointsHandler':
  94. Handlers.c:585: warning: cast from pointer to integer of 
  95. different size
  96. bmtoa.c: In function `copy_stdin':
  97. bmtoa.c:51: warning: comparison between pointer and integ
  98. er
  99. ld: Undefined symbol
  100. make: Warning: Target `all' not remade because of errors
  101. actions.c: In function `PopdownFileDialogAction':
  102. actions.c:195: warning: cast to pointer from integer of d
  103. ifferent size
  104. handler.c: In function `SendTree':
  105. handler.c:92: warning: cast from pointer to integer of di
  106. fferent size
  107. handler.c: In function `AnyChosen':
  108. handler.c:341: warning: cast from pointer to integer of d
  109. ifferent size
  110. handler.c: In function `SetResourceString':
  111. handler.c:472: warning: cast from pointer to integer of d
  112. ifferent size
  113. handler.c: In function `SetOnlyMatchingWidgets':
  114. handler.c:871: warning: cast to pointer from integer of d
  115. ifferent size
  116. utils.c: In function `_PopdownFileDialog':
  117. utils.c:477: warning: cast from pointer to integer of dif
  118. ferent size
  119. wtree.c: In function `TreeToggle':
  120. wtree.c:156: warning: cast from pointer to integer of dif
  121. ferent size
  122. wtree.c: In function `_TreeSelectNode':
  123. wtree.c:404: warning: cast to pointer from integer of dif
  124. ferent size
  125. In file included from twm.h:297, from gram.c:44:
  126. /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.2/2.2.2/include
  127. /stdlib.h:29: conflicting types for `malloc'
  128. gram.c:1: previous declaration of `malloc'
  129. /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.2/2.2.2/include
  130. /stdlib.h:33: conflicting types for `realloc'
  131. gram.c:1: previous declaration of `realloc'
  132. add_window.c: In function `AddWindow':
  133. add_window.c:798: warning: assignment makes integer from 
  134. pointer without a castadd_window.c: In function `GrabButt
  135. ons':
  136. add_window.c:933: warning: comparison between pointer and
  137.  integer
  138. menus.c:57: warning: initialization of `RootFunction' mak
  139. es integer from pointer without a cast
  140. menus.c: In function `InitMenus':
  141. menus.c:116: warning: assignment makes integer from point
  142. er without a cast
  143. menus.c:120: warning: assignment makes integer from point
  144. er without a cast
  145. menus.c:121: warning: assignment makes integer from point
  146. er without a cast
  147. menus.c: In function `ExecuteFunction':
  148. menus.c:1344: warning: assignment makes integer from poin
  149. ter without a cast
  150. menus.c:1468: warning: comparison between pointer and int
  151. eger
  152. menus.c: In function `DeIconify':
  153. menus.c:2430: warning: comparison between pointer and int
  154. eger
  155. menus.c: In function `Iconify':
  156. menus.c:2510: warning: comparison between pointer and int
  157. eger
  158. events.c: In function `InitEvents':
  159. events.c:133: warning: assignment makes integer from poin
  160. ter without a cast
  161. events.c:134: warning: assignment makes integer from poin
  162. ter without a cast
  163. events.c: In function `RedoIconName':
  164. events.c:952: warning: comparison between pointer and int
  165. eger
  166. events.c: In function `HandleMotionNotify':
  167. events.c:1490: warning: comparison between pointer and in
  168. teger
  169. events.c: In function `HandleButtonRelease':
  170. events.c:1605: warning: assignment makes integer from poi
  171. nter without a cast
  172. events.c:1609: warning: comparison between pointer and in
  173. teger
  174. events.c:1614: warning: comparison between pointer and in
  175. teger
  176. events.c:1643: warning: comparison between pointer and in
  177. teger
  178. events.c:1662: warning: comparison between pointer and in
  179. teger
  180. events.c:1667: warning: comparison between pointer and in
  181. teger
  182. events.c: In function `HandleButtonPress':
  183. events.c:1810: warning: comparison between pointer and in
  184. teger
  185. events.c:1870: warning: comparison between pointer and in
  186. teger
  187. events.c:1887: warning: assignment makes integer from poi
  188. nter without a cast
  189. events.c:1907: warning: assignment makes integer from poi
  190. nter without a cast
  191. events.c:1922: warning: assignment makes integer from poi
  192. nter without a cast
  193.  There are 73 lines left (65%). Press <space> for more, oevents.c:1928: warning: comparison between pointer and in
  194. teger
  195. events.c:1935: warning: comparison between pointer and in
  196. teger
  197. events.c: In function `HandleEnterNotify':
  198. events.c:2143: warning: comparison between pointer and in
  199. teger
  200. make: Warning: Target `all' not remade because of errors
  201. viewres.c: In function `variable_labeltype_callback':
  202. viewres.c:440: warning: cast from pointer to integer of d
  203. ifferent size
  204. viewres.c: In function `toggle_callback':
  205. viewres.c:701: warning: cast from pointer to integer of d
  206. ifferent size
  207. ld: Undefined symbol
  208. make: Warning: Target `all' not remade because of errors
  209. ld: Undefined symbol
  210. make: Warning: Target `all' not remade because of errors
  211. ld: Undefined symbol
  212. make: Warning: Target `all' not remade because of errors
  213. ld: Undefined symbol
  214. make: Warning: Target `all' not remade because of errors
  215. ld: Undefined symbol
  216. make: Warning: Target `all' not remade because of errors
  217. ld: Undefined symbol
  218. make: Warning: Target `all' not remade because of errors
  219. ld: Undefined symbol
  220. make: Warning: Target `all' not remade because of errors
  221. gcc -fstrength-reduce -fpcc-struct-return -c -O    -I../.
  222. ./.     -DBINDIR=\"/usra/local/X11R5_new/bin\" -DXDMDIR=\
  223. "/usra/local/X11R5_new/lib/X11/xdm\"    -DSECURE_RPC   -D
  224. TCPCONN -DUNIXCONN  -DOSMAJORVERSION=4  -DOSMINORVERSION=
  225. 2  '-DDEF_SERVER_LINE=":0 local /usra/local/X11R5_new/bin
  226. /X :0"'  '-DXRDB_PROGRAM="/usra/local/X11R5_new/bin/xrdb"
  227. '  '-DDEF_SESSION="/usra/local/X11R5_new/bin/xterm -ls"' 
  228.  '-DDEF_USER_PATH=":/bin:/usr/bin:/usra/local/X11R5_new/b
  229. in:/usr/ucb"'  '-DDEF_SYSTEM_PATH="/etc:/bin:/usr/bin:/us
  230. ra/local/X11R5_new/bin:/usr/ucb"'  '-DDEF_SYSTEM_SHELL="/
  231. bin/sh"'  '-DDEF_FAILSAFE_CLIENT="/usra/local/X11R5_new/b
  232. in/xterm"'  '-DDEF_XDM_CONFIG="/usra/local/X11R5_new/lib/
  233. X11/xdm/xdm-config"'  '-DDEF_CHOOSER="/usra/local/X11R5_n
  234. ew/lib/X11/xdm/chooser"'  '-DDEF_AUTH_DIR="/usra/local/X1
  235.  There are 49 lines left (77%). Press <space> for more, 1R5_new/lib/X11/xdm"' resource.c
  236. xdmcp.c: In function `all_query_respond':
  237. xdmcp.c:519: warning: comparison is always 0 due to limit
  238. ed range of data type
  239. ld: Undefined symbol
  240. make: Warning: Target `all' not remade because of errors
  241. ld: Undefined symbol
  242. make: Warning: Target `all' not remade because of errors
  243. ld: Undefined symbol
  244. make: Warning: Target `all' not remade because of errors
  245. ld: Undefined symbol
  246. make: Warning: Target `all' not remade because of errors
  247. ld: Undefined symbol
  248. make: Warning: Target `all' not remade because of errors
  249. ld: Undefined symbol
  250. make: Warning: Target `all' not remade because of errors
  251. ld: Undefined symbol
  252. make: Warning: Target `all' not remade because of errors
  253. chamber.c: In function `labInit':
  254. chamber.c:27: warning: passing arg 3 of `XCreateGC' makes
  255.  integer from pointer without a cast
  256. main.c: In function `Setup':
  257. main.c:552: warning: comparison between pointer and integ
  258. er
  259. text.c: In function `change_text':
  260. text.c:182: warning: initialization of `textargs[0].value
  261. ' makes integer from pointer without a cast
  262. bif_lex.c: In function `yylex':
  263. bif_lex.c:398: warning: initialization of `yylex_info.ch1
  264. ' makes integer from pointer without a cast
  265. bif_lex.c:398: warning: initialization of `yylex_info.ch1
  266. _group' makes integer from pointer without a cast
  267. bif_lex.c:398: warning: initialization of `yylex_info.yac
  268. c_pack_not_done integer from pointer without a cast
  269. bif_lex.c:398: warning: initialization of `yylex_info.new
  270. _yacc_pack' makes integer from pointer without a cast
  271. bif_lex.c:398: warning: initialization of `yylex_info.las
  272. t_char_unused' makes integer from pointer without a cast
  273. bif_lex.c:398: warning: initialization of `yylex_info.ret
  274. urn_code' makes integer from pointer without a cast
  275. bif_lex.c:398: warning: initialization of `yylex_info.ini
  276. t_flag' makes integer from pointer without a cast
  277. t_flag' makes integer from pointer without a cast
  278. bif_lex.c:398: warning: initialization of `yylex_info.lin
  279. e_no' makes integer from pointer without a cast
  280. In file included from brf_trv.c:97:
  281. brf_set.h:45: warning: initialization of `total_with_data
  282. .entity_type' makes integer from pointer without a cast
  283. init_bench.c: In function `GetWorkstationInfo':
  284. init_bench.c:858: warning: assignment makes integer from 
  285. pointer without a castinit_bench.c:858: warning: assignme
  286. nt makes integer from pointer without a castinit_bench.c:
  287. 858: warning: assignment makes integer from pointer witho
  288. ut a castinit_b
  289.  
  290.    .
  291.         .
  292.         .
  293.         .
  294.         . (edited - many repeats)
  295.  
  296. brf_except.c:191: warning: assignment makes integer from 
  297. pointer without a castbrf_except.c:191: warning: assignme
  298. nt makes integer from pointer without a castld: Undefined
  299.  symbol
  300. make: Warning: Target `all' not remade because of errors
  301. Wed Sep  9 07:45:11 CDT 1992
  302.  
  303.  
  304. -- 
  305. William M. Eldridge            bill@bcserv.wustl.edu
  306. Biochemistry Department Box 8231    (314) 362-3436
  307. Washington Univ. School of Medicine    (314) 362-7183 (fax)
  308. 660 S. Euclid, St. Louis, MO 63110
  309.