[comp.unix.ultrix] Building X11R4 under UltrixV4.1 on a DS5000

jmpclar@athena.mit.edu (Jean-Marie Clarisse) (02/20/91)

Hi,
I am trying to build X11R4 under UltrixV4.1 on a DS 5000, and contrarly to most of the people
(from what I've seen in the posted messages) I'm running into trouble at compiling time.
The compiler is the cc (MIPS) compiler and it gives error messages when making files
in .../mit/clients/xterm, for the following files:
	main.c
	charproc.c
	misc.c
and here are the details from the file make.world:
 >everything is fine up to here

making all in ./clients/xterm...
rm -f main.o
cc -c -O -Wf,-XNh2000 -Olimit 2000  -I../../.       -DUTMP   main.c
ccom: Error: main.c, line 823: illegal lhs of assignment operator
                        ((int)(((&_iob[2]))->_file)) = i;
      --------------------------------------------------^
*** Error code 1

>.../... then:

cc -O -Wf,-XNh2000 -Olimit 2000  -I../../.       -c charproc.c
ccom: Warning: charproc.c, line 1388: illegal structure pointer combination
                        if (func == bitset) {
      ------------------------------------^
ccom: Warning: charproc.c, line 1401: illegal structure pointer combination
                                if((j = func == bitset ? 132 : 80) !=
      -------------------------------------------------^

>etc...
>.../... then again:

cc -O -Wf,-XNh2000 -Olimit 2000  -I../../.       -c misc.c
ccom: Error: misc.c, line 426: illegal lhs of assignment operator
                                ((int)(((&_iob[2]))->_file)) = 2;
      ----------------------------------------------------------^
*** Error code 1

> and everything goes fine after that.

I would appreciate any suggestions. Thanks in advance.

Jean-Marie Clarisse

reply to: jmc@chf.mit.edu