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

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!usc!rpi!uwm.edu!linac!att!rutgers!cmcl2!acf3!shengj
  2. From: shengj@acf3.nyu.edu (Jia Sheng)
  3. Newsgroups: comp.sys.hp
  4. Subject: Building X11R5 under hpux6.5 --- HELP!
  5. Keywords: X11R5
  6. Message-ID: <1992Aug26.192906.23690@cmcl2.nyu.edu>
  7. Date: 26 Aug 92 19:29:06 GMT
  8. Sender: notes@cmcl2.nyu.edu (Notes Person)
  9. Organization: New York University
  10. Lines: 43
  11. Nntp-Posting-Host: acf3.nyu.edu
  12.  
  13.  
  14. Hi, I have been trying to bulid X11R5 on HP9k/360(hpux6.5) last couple days. 
  15. Now all Xlibs have been compiled through, but when linking objects to 
  16. excutables, one routine _memmove is missing:
  17.  
  18. for example:
  19.  
  20.         cc -o xman ScrollByL.o handler.o man.o buttons.o help.o  search.o global
  21. s.o main.o misc.o tkfuncs.o vendor.o -O -Wc,-Nd4000,-Ns4100,-Ne700,-Np200,-Nw300
  22.  -DX_NOT_STDC_ENV -DMALLOC_0_RETURNS_NULL -DX_NOT_POSIX  ../.././lib/Xaw/libXaw.
  23. a ../.././lib/Xmu.a ../.././lib/Xt/libXt.a ../.././extensions/lib/libXext
  24. .a  ../.././lib/X/libX11.a
  25. ld: Undefined external -
  26.         _memmove
  27. ld: output file still contains undefined symbols
  28. ld: (Warning) did not generate an output file
  29. *** Error code 1
  30.  
  31. I believe the problem is in "X11/Xfuncs.h"
  32.  
  33. /**** Xfuncs.h ****/
  34. #if (__STDC__ && !defined(X_NOT_STDC_ENV) && !defined(sun) && !defined(macII)) |
  35. | defined(SVR4) || defined(hpux) || defined(_IBMR2)
  36. #include <string.h>
  37. #define bcopy(b1,b2,len) memmove(b2, b1, (int)(len))
  38. #define bzero(b,len) memset(b, 0, (int)(len))
  39. #define bcmp(b1,b2,len) memcmp(b1, b2, (int)(len))
  40.  
  41. In /usr/include/memory.h(hpux6.5), only memset are defined:
  42. /**** <memory.h> ****/
  43. /* @(#) $Revision: 27.1 $ */       
  44. extern char
  45.         *memccpy(),
  46.         *memchr(),
  47.         *memcpy(),
  48.         *memset();
  49.  
  50. What is memmove? How can I fix this problem?
  51.  
  52. --
  53. Jonathan J. Sheng
  54. Theoretical Chemistry, NYU
  55. (212)998-8439
  56.