Re: COMPILATION-BUGS_KERNEL-2.5.18
Greg KH (greg@kroah.com)
Tue, 28 May 2002 10:55:23 -0700
On Mon, May 27, 2002 at 04:32:42PM +0200, d_vangreg wrote:
> #################
>
> COMPILATION-BUG-3 encountered while executing: 'make modules'
> ........................
> /opt/gcc304a/bin/gcc -D__KERNEL__ -I/usr/src/linux-2.5.18/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=athlon -DMODULE -DMODVERSIONS -include
> /usr/src/linux-2.5.18/include/linux/modversions.h
> -DKBUILD_BASENAME=usbvideo -DEXPORT_SYMTAB -c -o usbvideo.o usbvideo.c
> usbvideo.c: In function `usbvideo_StartDataPump':
> usbvideo.c:1906: structure has no member named `next'
> usbvideo.c:1908: structure has no member named `next'
> make[3]: *** [usbvideo.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.5.18/drivers/usb/media'
> make[2]: *** [_modsubdir_media] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.5.18/drivers/usb'
> make[1]: *** [_modsubdir_usb] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.5.18/drivers'
> make: *** [_mod_drivers] Error 2
>
>
> PROPOSED-SOLUTION-3:
> replacing string '->next' with string '->urb_list.next'
> in file: linux/drivers/usb/media/usbvideo.c lines: 1906, 1908
Eeek, NO!
The ->next field is now gone. The driver needs to be changed due to
this core USB change. See the cpia and audio USB drivers for how to do
this properly.
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/