home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!gatech!news.ans.net!cmcl2!acf3!shengj
- From: shengj@acf3.nyu.edu (Jia Sheng)
- Subject: Building X11R5 under hpux6.5 --- HELP!
- Message-ID: <1992Aug26.192618.23298@cmcl2.nyu.edu>
- Keywords: X11R5
- Sender: notes@cmcl2.nyu.edu (Notes Person)
- Nntp-Posting-Host: acf3.nyu.edu
- Organization: New York University
- Date: Wed, 26 Aug 1992 19:26:18 GMT
- Lines: 42
-
-
- Hi, I have been trying to build X11R5 under 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
-