Re: src/sys/dev/syscons/scvesactl.c broken

2000-10-09 Thread Doug Barton

Poul-Henning Kamp wrote:
> 
> In message <[EMAIL PROTECTED]>, Doug Barton writes:
> >Poul-Henning Kamp wrote:
> >>
> >> Are you sure your tree is entirely in sync ?
> >
> >   Yes... I've checked it several times.
> >
> >> I can't reproduce your problem here with the NOTES/LINT kernel...
> 
> OK, found it, two negative options in NOTES/LINT prevented a lot
> of syscons code from being covered by NOTES/LINT.
> 
> I'll commit in a sec...

Cool... you da man. :)

Doug
-- 
"The dead cannot be seduced."
- Kai, "Lexx"

Do YOU Yahoo!?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: src/sys/dev/syscons/scvesactl.c broken

2000-10-09 Thread Poul-Henning Kamp

In message <[EMAIL PROTECTED]>, Doug Barton writes:
>Poul-Henning Kamp wrote:
>> 
>> Are you sure your tree is entirely in sync ?
>
>   Yes... I've checked it several times. 
> 
>> I can't reproduce your problem here with the NOTES/LINT kernel...

OK, found it, two negative options in NOTES/LINT prevented a lot
of syscons code from being covered by NOTES/LINT.

I'll commit in a sec...

--
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: src/sys/dev/syscons/scvesactl.c broken

2000-10-08 Thread Doug Barton

Poul-Henning Kamp wrote:
> 
> Are you sure your tree is entirely in sync ?

Yes... I've checked it several times. 
 
> I can't reproduce your problem here with the NOTES/LINT kernel...

The following patch got my kernel compiled and running, although I
can't say it's the right thing to do. I'll cvsup again and do a cvs
update -A just to double check, but I'm pretty sure that this is a good
tree, and it's happening for me on two different machines with similar
kernel confs. 

Doug

Index: scvesactl.c
===
RCS file: /usr/ncvs/src/sys/dev/syscons/scvesactl.c,v
retrieving revision 1.16
diff -u -r1.16 scvesactl.c
--- scvesactl.c 2000/10/08 21:33:54 1.16
+++ scvesactl.c 2000/10/09 06:37:05
@@ -35,6 +35,8 @@
 #include 
 #include 
 #include 
+#include 
+#include 
 
 #include 
 


 
> >   Version 1.16 of src/sys/dev/syscons/scvesactl.c, removing
> > broke the kernel build for me. Attached is the
> >relevant log, and my kernel file.


-- 
"The dead cannot be seduced."
- Kai, "Lexx"

Do YOU Yahoo!?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: src/sys/dev/syscons/scvesactl.c broken

2000-10-08 Thread Poul-Henning Kamp


Are you sure your tree is entirely in sync ?

I can't reproduce your problem here with the NOTES/LINT kernel...

>   Version 1.16 of src/sys/dev/syscons/scvesactl.c, removing
> broke the kernel build for me. Attached is the
>relevant log, and my kernel file. 

--
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



src/sys/dev/syscons/scvesactl.c broken

2000-10-08 Thread Doug Barton

Version 1.16 of src/sys/dev/syscons/scvesactl.c, removing
 broke the kernel build for me. Attached is the
relevant log, and my kernel file. 

Doug
-- 
"The dead cannot be seduced."
- Kai, "Lexx"

Do YOU Yahoo!?

cc -c -O -march=pentiumpro -pipe -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL 
-include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../dev/syscons/scvesactl.c
In file included from ../../dev/syscons/scvesactl.c:41:
../../dev/fb/fbreg.h:57: syntax error before `video_adapter_t'
../../dev/fb/fbreg.h:57: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:58: syntax error before `video_adapter_t'
../../dev/fb/fbreg.h:58: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:59: syntax error before `*'
../../dev/fb/fbreg.h:59: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:60: syntax error before `*'
../../dev/fb/fbreg.h:60: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:61: syntax error before `*'
../../dev/fb/fbreg.h:61: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:62: syntax error before `*'
../../dev/fb/fbreg.h:63: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:64: syntax error before `*'
../../dev/fb/fbreg.h:65: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:66: syntax error before `*'
../../dev/fb/fbreg.h:66: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:67: syntax error before `*'
../../dev/fb/fbreg.h:67: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:68: syntax error before `*'
../../dev/fb/fbreg.h:68: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:69: syntax error before `*'
../../dev/fb/fbreg.h:69: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:70: syntax error before `*'
../../dev/fb/fbreg.h:70: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:71: syntax error before `*'
../../dev/fb/fbreg.h:71: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:72: syntax error before `*'
../../dev/fb/fbreg.h:72: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:73: syntax error before `*'
../../dev/fb/fbreg.h:73: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:74: syntax error before `*'
../../dev/fb/fbreg.h:74: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:75: syntax error before `*'
../../dev/fb/fbreg.h:76: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:77: syntax error before `*'
../../dev/fb/fbreg.h:77: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:82: syntax error before `*'
../../dev/fb/fbreg.h:82: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:83: syntax error before `*'
../../dev/fb/fbreg.h:83: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:84: syntax error before `*'
../../dev/fb/fbreg.h:84: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:85: syntax error before `*'
../../dev/fb/fbreg.h:86: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:87: syntax error before `*'
../../dev/fb/fbreg.h:87: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:88: syntax error before `*'
../../dev/fb/fbreg.h:88: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:154: syntax error before `*'
../../dev/fb/fbreg.h:154: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:155: syntax error before `*'
../../dev/fb/fbreg.h:155: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:157: syntax error before `*'
../../dev/fb/fbreg.h:158: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:162: syntax error before `*'
../../dev/fb/fbreg.h:162: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:164: syntax error before `*'
../../dev/fb/fbreg.h:164: warning: type defaults to `int' in declaration of 
`vid_get_adapter'
../../dev/fb/fbreg.h:164: warning: data definition has no type or storage class
../../dev/fb/fbreg.h:202: syntax error before `video_adapter_t'
../../dev/fb/fbreg.h:202: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:203: syntax error before `video_adapter_t'
../../dev/fb/fbreg.h:204: warning: function declaration isn't a prototype
../../dev/fb/fbreg.h:206: syntax error before `*'
../../dev/fb/fbreg.h:206: warning: function declaration isn't a prototype
In file included from ../../dev/syscons/scvesactl.c:42:
../../dev/syscons/syscons.h:278: field `smode' has incomplete type
../../dev/syscons/syscons.h:607: syntax error before `*'
../../dev/syscons/syscons.h:607: warning: function declaration isn't a prototype
../../dev/syscons/scve