Re: usb compile issue

From: Dieter Franzke <lists_at_eyenovation.de>
Date: Wed, 29 Sep 2004 22:30:44 +0200
Hi,

* Randy Bush <randy_at_psg.com> [040929 21:43]:
> -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
> 

got the same a few hours ago.
meanwhile fixed.
I did a cvsup and now it works fine...

ciao

dieter
Received on Wed Sep 29 2004 - 18:30:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:14 UTC