Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 1999 13:59:01 +0200 (CEST)
From:      Nick Hibma <hibma@skylink.it>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        current@FreeBSD.ORG
Subject:   Re: LINT trouble... 
Message-ID:  <Pine.BSF.4.10.9908291353240.14271-100000@heidi.plazza.it>
In-Reply-To: <16481.935925040@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

Sorry about that. You are right. Some confusion here on what sources I
was compiling with. I had fixed the problem in my sources. A cvs diff
does not show the difference against HEAD but current version of file.

Cheers,

Nick

On Sun, 29 Aug 1999, Poul-Henning Kamp wrote:

> 
> These are current sources.
> 
> This patch fixes the problem for me:
> 
> Index: usbdi_util.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/dev/usb/usbdi_util.c,v
> retrieving revision 1.10
> diff -u -r1.10 usbdi_util.c
> --- usbdi_util.c	1999/08/29 01:18:32	1.10
> +++ usbdi_util.c	1999/08/29 11:08:26
> @@ -43,10 +43,10 @@
>  #include <sys/kernel.h>
>  #include <sys/malloc.h>
>  #include <sys/proc.h>
> -#include <sys/device.h>
>  #if defined(__FreeBSD__)
>  #include <sys/bus.h>
>  #endif
> +#include <sys/device.h>
>  
>  #include <dev/usb/usb.h>
>  #include <dev/usb/usbhid.h>
> In message <Pine.BSF.4.10.9908291224330.2498-100000@heidi.plazza.it>, Nick Hibm
> a writes:
> >
> >Please retry with current sources. I can' t reproduce the problem, but
> >I remember the error message, and having fixed it.
> >
> >Nick
> >
> >
> >On Sun, 29 Aug 1999, Poul-Henning Kamp wrote:
> >
> >> 
> >> schizo# !!
> >> make
> >> cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include opt_global.h -elf  ../../dev/usb/usbdi_util.c
> >> In file included from ../../dev/usb/usbdi_util.c:48:
> >> ../../sys/bus.h:42: `devclass' defined as wrong kind of tag
> >> *** Error code 1
> >> 
> >> Stop in /usr/src/sys/compile/LINT.
> >> schizo# 
> >> 
> >> --
> >> Poul-Henning Kamp             FreeBSD coreteam member
> >> phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
> >> FreeBSD -- It will take a long time before progress goes too far!
> >> 
> >> 
> >> To Unsubscribe: send mail to majordomo@FreeBSD.org
> >> with "unsubscribe freebsd-current" in the body of the message
> >> 
> >> 
> >
> >-- 
> >e-Mail: hibma@skylink.it
> >
> >
> >
> 
> --
> Poul-Henning Kamp             FreeBSD coreteam member
> phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
> FreeBSD -- It will take a long time before progress goes too far!
> 
> 

-- 
e-Mail: hibma@skylink.it




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908291353240.14271-100000>