home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!irfu.se!jhd
- From: jhd@irfu.se (Jan D.)
- Subject: Re: X11R5 on hpux 8.07
- Message-ID: <1992Sep1.191549.1125@irfu.se>
- Date: Tue, 1 Sep 1992 19:15:49 GMT
- References: <1992Sep1.083553.2934@hp9000.csc.cuhk.hk>
- Organization: Swedish Institute of Space Physics, Uppsala, Sweden
- Lines: 39
-
- In article <1992Sep1.083553.2934@hp9000.csc.cuhk.hk> a006700@hp9000.csc.cuhk.hk (Tang Sammy) writes:
- >
- >Hi all,
- >
- >Has anyone try building the X11R5 on HP-UX 8.07?
- >It seems that everything is ok except that the main.c for
- >xterm when compiled with -DSYSV. It complainted "_file undefined"
- >with an error number 1588.
- >
- >I'm not too sure on what things I've missed in building the R5,
- >the release note is a bit too heavy to me and if I've not missed
- >anything in the docs, the steps for building it should be very straight.
- >
- >Any comments and sorry if this is a FAQ.
- >
- >Thanks in advance.
- >
- >Sammy
-
- HP has a slightly different stdio structure.
-
- Change this
-
- stderr->_file = i;
-
- to this
-
- #ifdef __hpux
- stderr->__fileL = i & 0377;
- stderr->__fileH = (i >> 8) & 0377;
- #else
- stderr->_file = i;
- #endif
-
- and you're set (soory, but I don't remember the line number).
-
- Jan D.
-
-
-