pwc
[Top] [All Lists]

Re: [pwc] compile pwc on ubuntu-studio

To:
Subject: Re: [pwc] compile pwc on ubuntu-studio
From: padovani <>
Date: Tue, 05 Jun 2007 18:05:38 -0300
So.. I've installed the sources and tried again...
It seems to search anything.. Thank you very much for the help. I'm new 
with this kind of problems...


/usr/src/pwc-10.0.11# make
make -C /lib/modules/2.6.20-15-lowlatency/build 
SUBDIRS=/usr/src/pwc-10.0.11 modules
make[1]: Entrando no diretório 
`/usr/src/linux-headers-2.6.20-15-lowlatency'
CC [M] /usr/src/pwc-10.0.11/pwc-if.o
In file included from /usr/src/pwc-10.0.11/pwc-if.c:69:
/usr/src/pwc-10.0.11/pwc.h:28:26: error: linux/config.h: Arquivo ou 
diretório inexistente
/usr/src/pwc-10.0.11/pwc-if.c:164: error: variable ‘pwc_template’ has 
initializer but incomplete type
/usr/src/pwc-10.0.11/pwc-if.c:165: error: unknown field ‘owner’ 
specified in initializer
/usr/src/pwc-10.0.11/pwc-if.c:165: warning: excess elements in struct 
initializer
/usr/src/pwc-10.0.11/pwc-if.c:165: warning: (near initialization for 
‘pwc_template’)
/usr/src/pwc-10.0.11/pwc-if.c:166: error: unknown field ‘name’ specified 
in initializer
/usr/src/pwc-10.0.11/pwc-if.c:166: warning: excess elements in struct 
initializer
/usr/src/pwc-10.0.11/pwc-if.c:166: warning: (near initialization for 
‘pwc_template’)
/usr/src/pwc-10.0.11/pwc-if.c:167: error: unknown field ‘type’ specified 
in initializer
/usr/src/pwc-10.0.11/pwc-if.c:167: warning: excess elements in struct 
initializer
/usr/src/pwc-10.0.11/pwc-if.c:167: warning: (near initialization for 
‘pwc_template’)
/usr/src/pwc-10.0.11/pwc-if.c:168: error: unknown field ‘hardware’ 
specified in initializer
/usr/src/pwc-10.0.11/pwc-if.c:168: warning: excess elements in struct 
initializer
/usr/src/pwc-10.0.11/pwc-if.c:168: warning: (near initialization for 
‘pwc_template’)
/usr/src/pwc-10.0.11/pwc-if.c:169: error: unknown field ‘release’ 
specified in initializer
/usr/src/pwc-10.0.11/pwc-if.c:169: error: ‘video_device_release’ 
undeclared here (not in a function)
/usr/src/pwc-10.0.11/pwc-if.c:169: warning: excess elements in struct 
initializer
/usr/src/pwc-10.0.11/pwc-if.c:169: warning: (near initialization for 
‘pwc_template’)
/usr/src/pwc-10.0.11/pwc-if.c:170: error: unknown field ‘fops’ specified 
in initializer
/usr/src/pwc-10.0.11/pwc-if.c:170: warning: excess elements in struct 
initializer
/usr/src/pwc-10.0.11/pwc-if.c:170: warning: (near initialization for 
‘pwc_template’)
/usr/src/pwc-10.0.11/pwc-if.c:171: error: unknown field ‘minor’ 
specified in initializer
/usr/src/pwc-10.0.11/pwc-if.c:171: warning: excess elements in struct 
initializer
/usr/src/pwc-10.0.11/pwc-if.c:171: warning: (near initialization for 
‘pwc_template’)
/usr/src/pwc-10.0.11/pwc-if.c: In function ‘pwc_isoc_init’:
/usr/src/pwc-10.0.11/pwc-if.c:885: warning: assignment from incompatible 
pointer type
/usr/src/pwc-10.0.11/pwc-if.c: In function ‘cd_to_pwc’:
/usr/src/pwc-10.0.11/pwc-if.c:981: warning: implicit declaration of 
function ‘to_video_device’
/usr/src/pwc-10.0.11/pwc-if.c:981: warning: initialization makes pointer 
from integer without a cast
/usr/src/pwc-10.0.11/pwc-if.c:982: warning: implicit declaration of 
function ‘video_get_drvdata’
/usr/src/pwc-10.0.11/pwc-if.c:982: warning: return makes pointer from 
integer without a cast
/usr/src/pwc-10.0.11/pwc-if.c: In function ‘pwc_create_sysfs_files’:
/usr/src/pwc-10.0.11/pwc-if.c:1024: warning: initialization makes 
pointer from integer without a cast
/usr/src/pwc-10.0.11/pwc-if.c:1026: warning: implicit declaration of 
function ‘video_device_create_file’
/usr/src/pwc-10.0.11/pwc-if.c: In function ‘pwc_remove_sysfs_files’:
/usr/src/pwc-10.0.11/pwc-if.c:1032: warning: initialization makes 
pointer from integer without a cast
/usr/src/pwc-10.0.11/pwc-if.c:1034: warning: implicit declaration of 
function ‘video_device_remove_file’
/usr/src/pwc-10.0.11/pwc-if.c: In function ‘pwc_video_open’:
/usr/src/pwc-10.0.11/pwc-if.c:1074: warning: implicit declaration of 
function ‘video_devdata’
/usr/src/pwc-10.0.11/pwc-if.c:1074: warning: initialization makes 
pointer from integer without a cast
/usr/src/pwc-10.0.11/pwc-if.c:1079: error: dereferencing pointer to 
incomplete type
/usr/src/pwc-10.0.11/pwc-if.c: In function ‘pwc_video_close’:
/usr/src/pwc-10.0.11/pwc-if.c:1187: error: dereferencing pointer to 
incomplete type
/usr/src/pwc-10.0.11/pwc-if.c: In function ‘pwc_video_read’:
/usr/src/pwc-10.0.11/pwc-if.c:1247: error: dereferencing pointer to 
incomplete type
/usr/src/pwc-10.0.11/pwc-if.c: In function ‘pwc_video_poll’:
/usr/src/pwc-10.0.11/pwc-if.c:1311: error: dereferencing pointer to 
incomplete type
/usr/src/pwc-10.0.11/pwc-if.c: In function ‘pwc_video_ioctl’:
/usr/src/pwc-10.0.11/pwc-if.c:1327: warning: implicit declaration of 
function ‘video_usercopy’
/usr/src/pwc-10.0.11/pwc-if.c: In function ‘pwc_video_mmap’:
/usr/src/pwc-10.0.11/pwc-if.c:1340: error: dereferencing pointer to 
incomplete type
/usr/src/pwc-10.0.11/pwc-if.c: In function ‘usb_pwc_probe’:
/usr/src/pwc-10.0.11/pwc-if.c:1648: warning: implicit declaration of 
function ‘video_device_alloc’
/usr/src/pwc-10.0.11/pwc-if.c:1648: warning: assignment makes pointer 
from integer without a cast
/usr/src/pwc-10.0.11/pwc-if.c:1655: error: invalid application of 
‘sizeof’ to incomplete type ‘struct video_device’
/usr/src/pwc-10.0.11/pwc-if.c:1655: error: invalid application of 
‘sizeof’ to incomplete type ‘struct video_device’
/usr/src/pwc-10.0.11/pwc-if.c:1655: error: invalid application of 
‘sizeof’ to incomplete type ‘struct video_device’
/usr/src/pwc-10.0.11/pwc-if.c:1656: error: dereferencing pointer to 
incomplete type
/usr/src/pwc-10.0.11/pwc-if.c:1657: error: dereferencing pointer to 
incomplete type
/usr/src/pwc-10.0.11/pwc-if.c:1658: error: dereferencing pointer to 
incomplete type
/usr/src/pwc-10.0.11/pwc-if.c:1659: warning: implicit declaration of 
function ‘video_set_drvdata’
/usr/src/pwc-10.0.11/pwc-if.c:1682: error: dereferencing pointer to 
incomplete type
/usr/src/pwc-10.0.11/pwc-if.c:1683: warning: implicit declaration of 
function ‘video_register_device’
/usr/src/pwc-10.0.11/pwc-if.c:1683: error: ‘VFL_TYPE_GRABBER’ undeclared 
(first use in this function)
/usr/src/pwc-10.0.11/pwc-if.c:1683: error: (Each undeclared identifier 
is reported only once
/usr/src/pwc-10.0.11/pwc-if.c:1683: error: for each function it appears 
in.)
/usr/src/pwc-10.0.11/pwc-if.c:1686: warning: implicit declaration of 
function ‘video_device_release’
/usr/src/pwc-10.0.11/pwc-if.c:1691: error: dereferencing pointer to 
incomplete type
/usr/src/pwc-10.0.11/pwc-if.c: In function ‘usb_pwc_disconnect’:
/usr/src/pwc-10.0.11/pwc-if.c:1745: warning: implicit declaration of 
function ‘video_unregister_device’
make[2]: ** [/usr/src/pwc-10.0.11/pwc-if.o] Erro 1
make[1]: ** [_module_/usr/src/pwc-10.0.11] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.20-15-lowlatency'
make: ** [all] Erro 2

Mathieu Bouchard escreveu:
> On Tue, 5 Jun 2007, padovani wrote:
>
>> Hi, i'm trying to compile pwc on ubuntu-studio (Feisty)...
>> Any sugestions?
>> /usr/src/modules/pwc/pwc.h:28:26: error: linux/config.h: Arquivo ou
>> diretório inexistente
>
> You need to install the kernel source code package as well; just the 
> kernel headers are not enough for compiling kernel modules.
>
> _ _ __ ___ _____ ________ _____________ _____________________ ...
> | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada

_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU