Re: What is causing "No rule to make target `modules'. Stop
OK; I found and installed the kernel files, followed your previous instructions (which appeared to work wthout any problem) and then re-invoked the make. The reult is a lengthy collection of erros, which I assume are caused by the developer of the make file making invalid assumptions. My probelm is that I do not understand what is causing this many erros and so do not understand how to fix the problem.
This is the output from 'make':
make -C /lib/modules/2.6.27.23-0.1-pae/build SUBDIRS=/home/tony/install_temp/pwc-10.0.11 modules
make[1]: Entering directory `/usr/src/linux-2.6.27.23-0.1-obj/i386/pae'
make -C ../../../linux-2.6.27.23-0.1 O=/usr/src/linux-2.6.27.23-0.1-obj/i386/pae/. modules
CC [M] /home/tony/install_temp/pwc-10.0.11/pwc-if.o
In file included from /home/tony/install_temp/pwc-10.0.11/pwc-if.c:69:
/home/tony/install_temp/pwc-10.0.11/pwc.h:28:26: error: linux/config.h: No such file or directory
/home/tony/install_temp/pwc-10.0.11/pwc.h:37:27: error: asm/semaphore.h: No such file or directory
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:164: error: variable ‘pwc_template’ has initializer but incomplete type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:165: error: unknown field ‘owner’ specified in initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:165: warning: excess elements in struct initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:165: warning: (near initialization for ‘pwc_template’)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:166: error: unknown field ‘name’ specified in initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:166: warning: excess elements in struct initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:166: warning: (near initialization for ‘pwc_template’)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:167: error: unknown field ‘type’ specified in initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:167: warning: excess elements in struct initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:167: warning: (near initialization for ‘pwc_template’)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:168: error: unknown field ‘hardware’ specified in initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:168: error: ‘VID_HARDWARE_PWC’ undeclared here (not in a function)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:168: warning: excess elements in struct initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:168: warning: (near initialization for ‘pwc_template’)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:169: error: unknown field ‘release’ specified in initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:169: error: ‘video_device_release’ undeclared here (not in a function)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:169: warning: excess elements in struct initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:169: warning: (near initialization for ‘pwc_template’)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:170: error: unknown field ‘fops’ specified in initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:170: warning: excess elements in struct initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:170: warning: (near initialization for ‘pwc_template’)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:171: error: unknown field ‘minor’ specified in initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:171: warning: excess elements in struct initializer
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:171: warning: (near initialization for ‘pwc_template’)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘pwc_allocate_buffers’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:328: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘int’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘pwc_isoc_init’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:885: warning: assignment from incompatible pointer type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: At top level:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:979: warning: ‘struct class_device’ declared inside parameter list
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:979: warning: its scope is only this definition or declaration, which is probably not what you want
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘cd_to_pwc’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:981: error: implicit declaration of function ‘to_video_device’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:981: warning: initialization makes pointer from integer without a cast
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:982: error: implicit declaration of function ‘video_get_drvdata’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:982: warning: return makes pointer from integer without a cast
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: At top level:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:985: warning: ‘struct class_device’ declared inside parameter list
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘show_pan_tilt’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:987: warning: passing argument 1 of ‘cd_to_pwc’ from incompatible pointer type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: At top level:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:992: warning: ‘struct class_device’ declared inside parameter list
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘store_pan_tilt’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:994: warning: passing argument 1 of ‘cd_to_pwc’ from incompatible pointer type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: At top level:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1008: error: expected ‘)’ before ‘(’ token
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1011: warning: ‘struct class_device’ declared inside parameter list
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘show_snapshot_button_status’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1013: warning: passing argument 1 of ‘cd_to_pwc’ from incompatible pointer type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: At top level:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1019: error: expected ‘)’ before ‘(’ token
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘pwc_create_sysfs_files’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1024: warning: initialization makes pointer from integer without a cast
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1026: error: implicit declaration of function ‘video_device_create_file’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1026: error: ‘class_device_attr_pan_tilt’ undeclared (first use in this function)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1026: error: (Each undeclared identifier is reported only once
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1026: error: for each function it appears in.)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1027: error: ‘class_device_attr_button’ undeclared (first use in this function)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘pwc_remove_sysfs_files’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1032: warning: initialization makes pointer from integer without a cast
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1034: error: implicit declaration of function ‘video_device_remove_file’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1034: error: ‘class_device_attr_pan_tilt’ undeclared (first use in this function)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1035: error: ‘class_device_attr_button’ undeclared (first use in this function)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘pwc_video_open’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1074: error: implicit declaration of function ‘video_devdata’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1074: warning: initialization makes pointer from integer without a cast
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1079: error: dereferencing pointer to incomplete type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘pwc_video_close’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1187: error: dereferencing pointer to incomplete type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘pwc_video_read’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1247: error: dereferencing pointer to incomplete type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘pwc_video_poll’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1311: error: dereferencing pointer to incomplete type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘pwc_video_ioctl’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1327: error: implicit declaration of function ‘video_usercopy’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘pwc_video_mmap’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1340: error: dereferencing pointer to incomplete type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘usb_pwc_probe’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1648: error: implicit declaration of function ‘video_device_alloc’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1648: warning: assignment makes pointer from integer without a cast
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1655: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1655: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1655: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1656: error: dereferencing pointer to incomplete type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1657: error: dereferencing pointer to incomplete type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1658: error: dereferencing pointer to incomplete type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1659: error: implicit declaration of function ‘video_set_drvdata’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1682: error: dereferencing pointer to incomplete type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1683: error: implicit declaration of function ‘video_register_device’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1683: error: ‘VFL_TYPE_GRABBER’ undeclared (first use in this function)
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1686: error: implicit declaration of function ‘video_device_release’
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1691: error: dereferencing pointer to incomplete type
/home/tony/install_temp/pwc-10.0.11/pwc-if.c: In function ‘usb_pwc_disconnect’:
/home/tony/install_temp/pwc-10.0.11/pwc-if.c:1745: error: implicit declaration of function ‘video_unregister_device’
make[4]: *** [/home/tony/install_temp/pwc-10.0.11/pwc-if.o] Error 1
make[3]: *** [_module_/home/tony/install_temp/pwc-10.0.11] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.23-0.1-obj/i386/pae'
make: *** [all] Error 2
__________________
They said I wasn't fit to live with a pig; my brother stood up for me and said I was.
|