home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!cmcl2!acf3!shengj
- From: shengj@acf3.nyu.edu (Jia Sheng)
- Newsgroups: comp.sys.hp
- Subject: Compiling X11R5 on HP9k/360 --- HELP!
- Keywords: X11R5
- Message-ID: <1992Aug25.194312.23397@cmcl2.nyu.edu>
- Date: 25 Aug 92 19:43:12 GMT
- Sender: notes@cmcl2.nyu.edu (Notes Person)
- Organization: New York University
- Lines: 39
- Nntp-Posting-Host: acf3.nyu.edu
-
-
- Hi, after applying all patches on X11R5 source, I started to compile it on
- HP9000/360(hpux6.5). Everything went smoothly except when buliding libXmu,
- there is one error message:
-
- cc -c -O -Wc,-Nd4000,-Ns4100,-Ne700,-Np200,-Nw300 -DX_NOT_STDC_ENV -DMALLOC_0_RETURNS_NULL -DX_NOT_POSIX -I../../. -DSYSV Xct.c
- "Xct.c", line 293: size_t undefined
- "Xct.c", line 293: incorrect function
- "Xct.c", line 293: incorrect function
- "Xct.c", line 325: size_t undefined
- "Xct.c", line 325: incorrect function
- "Xct.c", line 325: incorrect function
- *** Error code 1
-
- /****** line 293 of Xct.c ******/
- bcopy((char *)enc, (char *)ptr, len);
- /****** line 325 of Xct.c ******/
- bcopy((char *)data->item, (char *)priv->itembuf, data->item_length);
-
- I trace it to 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, (size_t)(len))
- #define bzero(b,len) memset(b, 0, (size_t)(len))
- #define bcmp(b1,b2,len) memcmp(b1, b2, (size_t)(len))
-
- Anybody know how to fix this problem?
-
-
- Jonathan J. Sheng
- Theoretical Chemistry, NYU
- (212)998-8439
- --
- Jonathan J. Sheng
- Theoretical Chemistry, NYU
- (212)998-8439
-