home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!cs.utexas.edu!usc!rpi!uwm.edu!linac!att!rutgers!cmcl2!acf3!shengj
- From: shengj@acf3.nyu.edu (Jia Sheng)
- Newsgroups: comp.sys.hp
- Subject: Building X11R5 under hpux6.5 --- HELP!
- Keywords: X11R5
- Message-ID: <1992Aug26.192906.23690@cmcl2.nyu.edu>
- Date: 26 Aug 92 19:29:06 GMT
- Sender: notes@cmcl2.nyu.edu (Notes Person)
- Organization: New York University
- Lines: 43
- Nntp-Posting-Host: acf3.nyu.edu
-
-
- Hi, I have been trying to bulid X11R5 on HP9k/360(hpux6.5) last couple days.
- Now all Xlibs have been compiled through, but when linking objects to
- excutables, one routine _memmove is missing:
-
- for example:
-
- cc -o xman ScrollByL.o handler.o man.o buttons.o help.o search.o global
- s.o main.o misc.o tkfuncs.o vendor.o -O -Wc,-Nd4000,-Ns4100,-Ne700,-Np200,-Nw300
- -DX_NOT_STDC_ENV -DMALLOC_0_RETURNS_NULL -DX_NOT_POSIX ../.././lib/Xaw/libXaw.
- a ../.././lib/Xmu.a ../.././lib/Xt/libXt.a ../.././extensions/lib/libXext
- .a ../.././lib/X/libX11.a
- ld: Undefined external -
- _memmove
- ld: output file still contains undefined symbols
- ld: (Warning) did not generate an output file
- *** Error code 1
-
- I believe the problem is in "X11/Xfuncs.h"
-
- /**** Xfuncs.h ****/
- #if (__STDC__ && !defined(X_NOT_STDC_ENV) && !defined(sun) && !defined(macII)) |
- | defined(SVR4) || defined(hpux) || defined(_IBMR2)
- #include <string.h>
- #define bcopy(b1,b2,len) memmove(b2, b1, (int)(len))
- #define bzero(b,len) memset(b, 0, (int)(len))
- #define bcmp(b1,b2,len) memcmp(b1, b2, (int)(len))
-
- In /usr/include/memory.h(hpux6.5), only memset are defined:
- /**** <memory.h> ****/
- /* @(#) $Revision: 27.1 $ */
- extern char
- *memccpy(),
- *memchr(),
- *memcpy(),
- *memset();
-
- What is memmove? How can I fix this problem?
-
- --
- Jonathan J. Sheng
- Theoretical Chemistry, NYU
- (212)998-8439
-