Re: Consistent errors making buildworld

1999-04-17 Thread Joe Abley
On Fri, Apr 16, 1999 at 09:45:29PM -0400, Luoqi Chen wrote:
> Do you have an empty /usr/X11R6/include?

Ah, yes I do. Thanks for that :)

> The Makefile assumes you have the
> header files if the directory /usr/X11R6/include is present and tries to
> build the X version of doscmd. This assumption may not be true though. I'll
> change the Makefile to check for /usr/X11R6/include/X11/X.h instead. By the
> way, X headers only take 4M disk space, you might want to consider installing
> them.

Hav done. I'm a little confused as to why they weren't there already,
actually, as I was certain I had compiled and installed XFree86 from
the port... Ah well :) Whatever.



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message



Re: Consistent errors making buildworld

1999-04-16 Thread Luoqi Chen
Do you have an empty /usr/X11R6/include? The Makefile assumes you have the
header files if the directory /usr/X11R6/include is present and tries to
build the X version of doscmd. This assumption may not be true though. I'll
change the Makefile to check for /usr/X11R6/include/X11/X.h instead. By the
way, X headers only take 4M disk space, you might want to consider installing
them.

-lq


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message



Consistent errors making buildworld

1999-04-16 Thread Joe Abley
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