home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp / 9672 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.7 KB  |  52 lines

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!cmcl2!acf3!shengj
  2. From: shengj@acf3.nyu.edu (Jia Sheng)
  3. Newsgroups: comp.sys.hp
  4. Subject: Compiling X11R5 on HP9k/360 --- HELP!
  5. Keywords: X11R5
  6. Message-ID: <1992Aug25.194312.23397@cmcl2.nyu.edu>
  7. Date: 25 Aug 92 19:43:12 GMT
  8. Sender: notes@cmcl2.nyu.edu (Notes Person)
  9. Organization: New York University
  10. Lines: 39
  11. Nntp-Posting-Host: acf3.nyu.edu
  12.  
  13.  
  14. Hi, after applying all patches on X11R5 source, I started to compile it on
  15. HP9000/360(hpux6.5). Everything went smoothly except when buliding libXmu,
  16. there is one error message:
  17.  
  18.     cc -c -O -Wc,-Nd4000,-Ns4100,-Ne700,-Np200,-Nw300 -DX_NOT_STDC_ENV -DMALLOC_0_RETURNS_NULL -DX_NOT_POSIX   -I../../.  -DSYSV     Xct.c
  19. "Xct.c", line 293: size_t undefined
  20. "Xct.c", line 293: incorrect function
  21. "Xct.c", line 293: incorrect function
  22. "Xct.c", line 325: size_t undefined
  23. "Xct.c", line 325: incorrect function
  24. "Xct.c", line 325: incorrect function
  25. *** Error code 1
  26.  
  27. /****** line 293 of Xct.c ******/
  28.     bcopy((char *)enc, (char *)ptr, len);
  29. /****** line 325 of Xct.c ******/
  30.     bcopy((char *)data->item, (char *)priv->itembuf, data->item_length);
  31.  
  32. I trace it to X11/Xfuncs.h
  33.  
  34. /****** Xfuncs.h ******/
  35.  
  36. #if (__STDC__ && !defined(X_NOT_STDC_ENV) && !defined(sun) && !defined(macII)) || defined(SVR4) || defined(hpux) || defined(_IBMR2)
  37. #include <string.h>
  38. #define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
  39. #define bzero(b,len) memset(b, 0, (size_t)(len))
  40. #define bcmp(b1,b2,len) memcmp(b1, b2, (size_t)(len))
  41.  
  42. Anybody know how to fix this problem?
  43.  
  44.  
  45. Jonathan J. Sheng
  46. Theoretical Chemistry, NYU
  47. (212)998-8439
  48. --
  49. Jonathan J. Sheng
  50. Theoretical Chemistry, NYU
  51. (212)998-8439
  52.