Date: Wed, 29 Sep 2004 13:04:49 -0700 From: Manfred Antar <null@pozo.com> To: Randy Bush <randy@psg.com>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: usb compile issue Message-ID: <6.1.2.0.2.20040929130342.039b3e98@pozo.com> In-Reply-To: <16731.4176.332039.982508@roam.psg.com> References: <16731.4176.332039.982508@roam.psg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 12:43 PM 9/29/2004, Randy Bush wrote: >-current on i386 > >two days ago, kernel compiled fine. with just now cvsup, i blow chunks. > >cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/dev/usb/usb_quirks.c >cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/dev/usb/usb_subr.c >/usr/src/sys/dev/usb/usb_subr.c: In function `usbd_setup_pipe': >/usr/src/sys/dev/usb/usb_subr.c:823: error: `Some' undeclared (first use in this function) >/usr/src/sys/dev/usb/usb_subr.c:823: error: (Each undeclared identifier is reported only once >/usr/src/sys/dev/usb/usb_subr.c:823: error: for each function it appears in.) >/usr/src/sys/dev/usb/usb_subr.c:823: error: syntax error before "device" >/usr/src/sys/dev/usb/usb_subr.c: At top level: >/usr/src/sys/dev/usb/usb_subr.c:832: warning: type defaults to `int' in declaration of `pipe' >/usr/src/sys/dev/usb/usb_subr.c:832: error: `p' undeclared here (not in a function) >/usr/src/sys/dev/usb/usb_subr.c:832: warning: data definition has no type or storage class >/usr/src/sys/dev/usb/usb_subr.c:833: error: syntax error before "return" >/usr/src/sys/dev/usb/usb_subr.c:92: warning: 'usbd_getnewaddr' declared `static' but never defined >/usr/src/sys/dev/usb/usb_subr.c:101: warning: 'usbd_kill_pipe' declared `static' but never defined >/usr/src/sys/dev/usb/usb_subr.c:103: warning: 'usbd_probe_and_attach' declared `static' but never defined >/usr/src/sys/dev/usb/usb_subr.c:105: warning: 'usb_cookie_no' defined but not used >*** Error code 1 > >Stop in /usr/obj/usr/src/sys/ROAM. >*** Error code 1 > >Stop in /usr/src. >*** Error code 1 There is a extra "*/" comment on line 822 remove it and it will compile ================================== || null@pozo.com || || Ph. (415) 681-6235 || ==================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.2.0.2.20040929130342.039b3e98>