All pastes #278101 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-12-13 21:05 UTC
rendered paste body
gcc -O3 -D__KERNEL__ -DMODULE -Wall -DMODVERSIONS -funroll-loops -frerun-cse-after-loop -funroll-all-loops -fomit-frame-pointer -nostdinc -I /usr/src/linux/include -I `dirname \`gcc -print-libgcc-file-name\``/include/ -include /usr/src/linux/include/linux/modversions.h -c -o usbvideo.o usbvideo.c
cc1: /usr/src/linux/include/linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/asm/processor.h:18,
                 from /usr/src/linux/include/asm/thread_info.h:17,
                 from /usr/src/linux/include/linux/thread_info.h:21,
                 from /usr/src/linux/include/linux/spinlock.h:12,
                 from /usr/src/linux/include/linux/capability.h:45,
                 from /usr/src/linux/include/linux/sched.h:7,
                 from usbvideo.c:18:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
usbvideo.c:26:27: linux/wrapper.h: No such file or directory
In file included from /usr/src/linux/include/linux/irq.h:21,
                 from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/hardirq.h:7,
                 from /usr/src/linux/include/linux/interrupt.h:11,
                 from /usr/src/linux/include/linux/usb.h:15,
                 from usbvideo.h:22,
                 from usbvideo.c:32:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/hardirq.h:7,
                 from /usr/src/linux/include/linux/interrupt.h:11,
                 from /usr/src/linux/include/linux/usb.h:15,
                 from usbvideo.h:22,
                 from usbvideo.c:32:
/usr/src/linux/include/linux/irq.h: At top level:
/usr/src/linux/include/linux/irq.h:76: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:78,
                 from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/hardirq.h:7,
                 from /usr/src/linux/include/linux/interrupt.h:11,
                 from /usr/src/linux/include/linux/usb.h:15,
                 from usbvideo.h:22,
                 from usbvideo.c:32:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
usbvideo.c: In function `usbvideo_rvmalloc':
usbvideo.c:88: warning: implicit declaration of function `mem_map_reserve'
usbvideo.c: In function `usbvideo_rvfree':
usbvideo.c:105: warning: implicit declaration of function `mem_map_unreserve'
usbvideo.c: In function `usbvideo_ClientIncModCount':
usbvideo.c:713: warning: implicit declaration of function `__MOD_INC_USE_COUNT'
usbvideo.c: In function `usbvideo_ClientDecModCount':
usbvideo.c:730: warning: implicit declaration of function `__MOD_DEC_USE_COUNT'
usbvideo.c: In function `usbvideo_register':
usbvideo.c:827: warning: assignment from incompatible pointer type
usbvideo.c:828: warning: assignment from incompatible pointer type
usbvideo.c: In function `usbvideo_Disconnect':
usbvideo.c:953: warning: implicit declaration of function `usb_dec_dev_use'
usbvideo.c: In function `usbvideo_AllocateDevice':
usbvideo.c:1057: error: too few arguments to function `usb_alloc_urb'
usbvideo.c:1078: error: structure has no member named `open'
usbvideo.c:1079: error: structure has no member named `close'
usbvideo.c:1080: error: structure has no member named `read'
usbvideo.c:1081: error: structure has no member named `write'
usbvideo.c:1082: error: structure has no member named `ioctl'
usbvideo.c:1083: error: structure has no member named `mmap'
usbvideo.c:1084: error: structure has no member named `initialize'
usbvideo.c: In function `usbvideo_RegisterVideoDevice':
usbvideo.c:1150: warning: implicit declaration of function `usb_inc_dev_use'
usbvideo.c: In function `usbvideo_v4l_mmap':
usbvideo.c:1182: warning: implicit declaration of function `remap_page_range'
usbvideo.c: In function `usbvideo_StartDataPump':
usbvideo.c:1885: error: `USB_ISO_ASAP' undeclared (first use in this function)
usbvideo.c:1885: error: (Each undeclared identifier is reported only once
usbvideo.c:1885: error: for each function it appears in.)
usbvideo.c:1887: warning: assignment from incompatible pointer type
usbvideo.c:1899: error: structure has no member named `next'
usbvideo.c:1901: error: structure has no member named `next'
usbvideo.c:1906: error: too few arguments to function `usb_submit_urb'
make: *** [usbvideo.o] Error 1