home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / x / 15673 < prev    next >
Encoding:
Text File  |  1992-08-26  |  1.7 KB  |  55 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!gatech!news.ans.net!cmcl2!acf3!shengj
  3. From: shengj@acf3.nyu.edu (Jia Sheng)
  4. Subject: Building X11R5 under hpux6.5 --- HELP!
  5. Message-ID: <1992Aug26.192618.23298@cmcl2.nyu.edu>
  6. Keywords: X11R5
  7. Sender: notes@cmcl2.nyu.edu (Notes Person)
  8. Nntp-Posting-Host: acf3.nyu.edu
  9. Organization: New York University
  10. Date: Wed, 26 Aug 1992 19:26:18 GMT
  11. Lines: 42
  12.  
  13.  
  14. Hi, I have been trying to build X11R5 under hpux6.5 last couple days. Now 
  15. 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. /**** Xfuncs.h ****/
  33. #if (__STDC__ && !defined(X_NOT_STDC_ENV) && !defined(sun) && !defined(macII)) |
  34. | defined(SVR4) || defined(hpux) || defined(_IBMR2)
  35. #include <string.h>
  36. #define bcopy(b1,b2,len) memmove(b2, b1, (int)(len))
  37. #define bzero(b,len) memset(b, 0, (int)(len))
  38. #define bcmp(b1,b2,len) memcmp(b1, b2, (int)(len))
  39.  
  40. In /usr/include/memory.h(hpux6.5), only memset are defined:
  41. /**** <memory.h> ****/
  42. /* @(#) $Revision: 27.1 $ */       
  43. extern char
  44.         *memccpy(),
  45.         *memchr(),
  46.         *memcpy(),
  47.         *memset();
  48.  
  49. What is memmove? How can I fix this problem?
  50.  
  51. --
  52. Jonathan J. Sheng
  53. Theoretical Chemistry, NYU
  54. (212)998-8439
  55.