Hi,
I've been trying to make buildworld on an aged Compaq DX2 (using newly-
supped CURRENT source) for about a week now, and (modulo the few egcs-looking
failures early on) I am now stuck with compilation failures in doscmd.
I have completely removed /usr/obj/* prior to starting, each time, and the
last time I tried I also wiped /usr/src/* and re-supped. Same error
(below) [note on my machine, /usr/src and /usr/obj are symlinks to /var/src
and /var/obj, respectively).
I have also appended /etc/make.conf to this message.
Just out of interest, why is a make buildworld trying to include X headers?
Machine was previously running CURRENT (supped and compiled quite a while
before the egcs import). It takes about three days to make buildworld,
hence my delay in reporting this... However, I see loads of other people
successfully making world in -current, so I assume it must be something local.
Any pointers appreciated.
[last few log lines from make buildworld follows]
cc -O -pipe -I. -I/usr/X11R6/include -DDISASSEMBLER
-I/usr/obj/var/src/tmp/usr/include -c /var/src/usr.bin/doscmd/trap.c
cc -O -pipe -I. -I/usr/X11R6/include -DDISASSEMBLER
-I/usr/obj/var/src/tmp/usr/include -c /var/src/usr.bin/doscmd/tty.c
/var/src/usr.bin/doscmd/tty.c:36: X11/Xlib.h: No such file or directory
/var/src/usr.bin/doscmd/tty.c:37: X11/Xutil.h: No such file or directory
/var/src/usr.bin/doscmd/tty.c:38: X11/keysym.h: No such file or directory
/var/src/usr.bin/doscmd/tty.c:77: parse error before `*'
/var/src/usr.bin/doscmd/tty.c:77: warning: data definition has no type or
storage class
/var/src/usr.bin/doscmd/tty.c:78: parse error before `win'
/var/src/usr.bin/doscmd/tty.c:78: warning: data definition has no type or
storage class
/var/src/usr.bin/doscmd/tty.c:79: parse error before `*'
/var/src/usr.bin/doscmd/tty.c:79: warning: data definition has no type or
storage class
/var/src/usr.bin/doscmd/tty.c:103: parse error before `gc'
/var/src/usr.bin/doscmd/tty.c:103: warning: data definition has no type or
storage class
/var/src/usr.bin/doscmd/tty.c:104: parse error before `cgc'
/var/src/usr.bin/doscmd/tty.c:104: warning: data definition has no type or
storage class
/var/src/usr.bin/doscmd/tty.c: In function `setgc':
/var/src/usr.bin/doscmd/tty.c:380: `XGCValues' undeclared (first use in this
function)
/var/src/usr.bin/doscmd/tty.c:380: (Each undeclared identifier is reported only
once
/var/src/usr.bin/doscmd/tty.c:380: for each function it appears in.)
/var/src/usr.bin/doscmd/tty.c:380: parse error before `v'
/var/src/usr.bin/doscmd/tty.c:382: `v' undeclared (first use in this function)
/var/src/usr.bin/doscmd/tty.c:393: `GCForeground' undeclared (first use in this
function)
/var/src/usr.bin/doscmd/tty.c:393: `GCBackground' undeclared (first use in this
function)
/var/src/usr.bin/doscmd/tty.c: In function `video_update':
/var/src/usr.bin/doscmd/tty.c:409: `XGCValues' undeclared (first use in this
function)
/var/src/usr.bin/doscmd/tty.c:409: parse error before `v'
/var/src/usr.bin/doscmd/tty.c:484: `v' undeclared (first use in this function)
/var/src/usr.bin/doscmd/tty.c:487: `GXxor' undeclared (first use in this
function)
/var/src/usr.bin/doscmd/tty.c:490: `GXcopy' undeclared (first use in this
function)
/var/src/usr.bin/doscmd/tty.c:492: `GCForeground' undeclared (first use in this
function)
/var/src/usr.bin/doscmd/tty.c:492: `GCFunction' undeclared (first use in this
function)
/var/src/usr.bin/doscmd/tty.c: In function `debug_event':
/var/src/usr.bin/doscmd/tty.c:737: warning: passing arg 1 of `dump_regs' from
incompatible pointer type
/var/src/usr.bin/doscmd/tty.c: In function `video_async_event':
/var/src/usr.bin/doscmd/tty.c:986: `XEvent' undeclared (first use in this
function)
/var/src/usr.bin/doscmd/tty.c:986: parse error before `ev'
/var/src/usr.bin/doscmd/tty.c:994: `ev' undeclared (first use in this function)
/var/src/usr.bin/doscmd/tty.c: At top level:
/var/src/usr.bin/doscmd/tty.c:1126: parse error before `*'
/var/src/usr.bin/doscmd/tty.c: In function `video_event':
/var/src/usr.bin/doscmd/tty.c:1128: `ev' undeclared (first use in this function)
/var/src/usr.bin/doscmd/tty.c:1129: `MotionNotify' undeclared (first use in
this function)
/var/src/usr.bin/doscmd/tty.c:1130: `XMotionEvent' undeclared (first use in
this function)
/var/src/usr.bin/doscmd/tty.c:1130: `me' undeclared (first use in this function)
/var/src/usr.bin/doscmd/tty.c:1130: parse error before `)'
/var/src/usr.bin/doscmd/tty.c:1144: `ButtonRelease' undeclared (first use in
this function)
/var/src/usr.bin/doscmd/tty.c:1145: `XButtonEvent' undeclared (first use in
this function)
/var/src/usr.bin/doscmd/tty.c:1145: `be' undeclared (first use in this function)
/var/src/usr.bin/doscmd/tty.c:1145: parse error before `)'
/var/src/usr.bin/doscmd/tty.c:1162: `ButtonPress' undeclared (first use in this
function)
/var/src/usr.bin/doscmd/tty.c:1163: parse error before `)'
/var/src/usr.bin/doscmd/tty.c:1184: `NoExpose' undeclared (first use in