Date: Tue, 2 Apr 2002 10:32:06 +0700 (NOVST) From: nnd@mail.nsk.ru (Nickolay Dudorov) To: current@freebsd.org Subject: Re: latest kernel busted Message-ID: <200204020332.g323W6w5025052@nnd.itfs.nsk.su> In-Reply-To: <20020401.202016.34812439.imp@village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <20020401.202016.34812439.imp@village.org> "M. Warner Losh" <imp@village.org> wrote: > ===> umodem > cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/dev -I@/../include -fno-common -g -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:840: syntax error before `uio' > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: In function `umodemread': > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:841: number of arguments doesn't match prototype > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:156: prototype declaration > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: `dev' undeclared (first use in this function) > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: (Each undeclared identifier is reported only once > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:845: for each function it appears in.) > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:852: `uio' undeclared (first use in this function) > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:852: `flag' undeclared (first use in this function) > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: At top level: > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1089: conflicting types for `umodem_set_line_coding' > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:188: previous declaration of `umodem_set_line_coding' > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c: In function `umodem_set_line_coding': > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1097: incompatible type for argument 1 of `bcmp' > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1109: incompatible type for argument 3 of `usbd_do_request' > /dell/imp/FreeBSD/src/sys/modules/umodem/../../dev/usb/umodem.c:1116: invalid type argument of `unary *' > *** Error code 1 > > Ideas? > > Warner Next patch at least unbreaks the kernel building for me. N.Dudorov ========================================================================= Index: sys/dev/usb/umodem.c =================================================================== RCS file: /home/CVS/src/sys/dev/usb/umodem.c,v retrieving revision 1.38 diff -b -u -r1.38 umodem.c --- sys/dev/usb/umodem.c 1 Apr 2002 21:30:36 -0000 1.38 +++ sys/dev/usb/umodem.c 2 Apr 2002 02:06:53 -0000 @@ -837,7 +837,7 @@ } int -umodemread(dev_t dev, uio *uio, int flag) +umodemread(dev_t dev, struct uio *uio, int flag) { struct umodem_softc *sc; struct tty *tp; @@ -1085,7 +1085,7 @@ } usbd_status -umodem_set_line_coding(struct umodem_softc *sc, usb_cdc_line_state_t state) +umodem_set_line_coding(struct umodem_softc *sc, usb_cdc_line_state_t *state) { usb_device_request_t req; usbd_status err; 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?200204020332.g323W6w5025052>