<div>I'm trying to adapt camera to run on a Fedora Core 6 installation on a <BR><BR>Playstation 3:<BR><BR># uname -a<BR><BR>Linux localhost.localdomain 2.6.16 #1 SMP Wed Nov 8 07:25:31 JST 2006 ppc64 <BR><BR>ppc64 ppc64 GNU/Linux<BR><BR>#yum install kernel-devel.ppc64<BR><BR>But the kernel-devel.ppc64 is 2.6.18-1.2798.fc6, not 2.6.16</div>  <div><BR>I downloaded the drive gspcav1-20070508 from <A href="http://mxhaard.free.fr/">http://mxhaard.free.fr/</A>&nbsp;</div>  <div><BR>root@localhost gspcav1-20070508]# make<BR>make -C /lib/modules/`uname -r`/build SUBDIRS=/root/Desktop/gspcav1-20070508 CC=cc<BR>modules<BR>make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-ppc64'<BR>&nbsp; CC [M]&nbsp; /root/Desktop/gspcav1-20070508/gspca_core.o<BR>In file included from include/asm/paca.h:21,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
 include/asm/spinlock.h:23,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from include/linux/spinlock.h:86,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from include/linux/capability.h:45,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from include/linux/sched.h:44,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from include/linux/module.h:9,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /root/Desktop/gspcav1-20070508/gspca_core.c:39:<BR>include/asm/mmu.h: In function ‘hpte_encode_r’:<BR>include/asm/mmu.h:212: warning: integer constant is too large for ‘unsigned long<BR>’ type<BR>include/asm/mmu.h: In function ‘hpt_hash’:<BR>include/asm/mmu.h:227: warning: integer constant is too large for
 ‘unsigned long<BR>’ type<BR>include/asm/mmu.h: In function ‘vsid_scramble’:<BR>include/asm/mmu.h:393: warning: right shift count &gt;= width of type<BR>include/asm/mmu.h:393: warning: left shift count &gt;= width of type<BR>include/asm/mmu.h:394: warning: right shift count &gt;= width of type<BR>include/asm/mmu.h:394: warning: left shift count &gt;= width of type<BR>include/asm/mmu.h: In function ‘get_kernel_vsid’:<BR>include/asm/mmu.h:401: error: ‘SID_SHIFT’ undeclared (first use in this<BR>function)<BR>include/asm/mmu.h:401: error: (Each undeclared identifier is reported only once<BR>include/asm/mmu.h:401: error: for each function it appears in.)<BR>include/asm/mmu.h: In function ‘get_vsid’:<BR>include/asm/mmu.h:408: error: ‘SID_SHIFT’ undeclared (first use in this<BR>function)<BR>In file included from include/asm/spinlock.h:25,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
 include/linux/spinlock.h:86,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from include/linux/capability.h:45,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from include/linux/sched.h:44,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from include/linux/module.h:9,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /root/Desktop/gspcav1-20070508/gspca_core.c:39:<BR>include/asm/iseries/hv_call.h: In function ‘HvCall_setVirtualDecr’:<BR>include/asm/iseries/hv_call.h:85: warning: integer constant is too large for<BR>‘unsigned long’ type<BR>include/asm/iseries/hv_call.h: In function ‘HvCall_yieldProcessor’:<BR>include/asm/iseries/hv_call.h:90: warning: integer constant is too large for<BR>‘unsigned long’ type<BR>include/asm/iseries/hv_call.h: In function
 ‘HvCall_setEnabledInterrupts’:<BR>include/asm/iseries/hv_call.h:95: warning: integer constant is too large for<BR>‘unsigned long’ type<BR>include/asm/iseries/hv_call.h: In function ‘HvCall_setLogBufferFormatAndCodepage<BR>’:<BR>include/asm/iseries/hv_call.h:101: warning: integer constant is too large for<BR>‘unsigned long’ type<BR>include/asm/iseries/hv_call.h: In function ‘HvCall_sendIPI’:<BR>include/asm/iseries/hv_call.h:108: warning: integer constant is too large for<BR>‘unsigned long’ type<BR>In file included from /root/Desktop/gspcav1-20070508/gspca_core.c:42:<BR>include/linux/fs.h: At top level:<BR>include/linux/fs.h:779: warning: ‘struct flock64’ declared inside parameter<BR>list<BR>include/linux/fs.h:779: warning: its scope is only this definition or declaration,<BR>which is probably not what you want<BR>include/linux/fs.h:781: warning: ‘struct flock64’ declared inside parameter<BR>list<BR>In file included from
 include/linux/mm.h:39,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /root/Desktop/gspcav1-20070508/gspca_core.c:46:<BR>include/asm/pgtable.h:42:50: warning: "SID_SHIFT" is not defined<BR>include/asm/pgtable.h:43:2: error: #error TASK_SIZE_USER64 exceeds user VSID<BR>range<BR>In file included from include/linux/mm.h:39,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /root/Desktop/gspcav1-20070508/gspca_core.c:46:<BR>include/asm/pgtable.h: In function ‘pfn_pte’:<BR>include/asm/pgtable.h:175: warning: left shift count &gt;= width of type<BR>include/asm/pgtable.h: In function ‘find_linux_pte’:<BR>include/asm/pgtable.h:512: warning: right shift count &gt;= width of type<BR>In file included from include/asm/pgtable.h:524,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
 include/linux/mm.h:39,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /root/Desktop/gspcav1-20070508/gspca_core.c:46:<BR>include/asm-generic/pgtable.h: In function ‘pud_none_or_clear_bad’:<BR>include/asm-generic/pgtable.h:216: warning: integer constant is too large for<BR>‘unsigned long’ type<BR>include/asm-generic/pgtable.h:216: warning: comparison is always false due to<BR>limited range of data type<BR>include/asm-generic/pgtable.h: In function ‘pmd_none_or_clear_bad’:<BR>include/asm-generic/pgtable.h:227: warning: integer constant is too large for<BR>‘unsigned long’ type<BR>include/asm-generic/pgtable.h:227: warning: comparison is always false due to<BR>limited range of data type<BR>In file included from /root/Desktop/gspcav1-20070508/gspca_core.c:46:<BR>include/linux/mm.h:462:2: error: #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH &gt;<BR>;<BR>FLAGS_RESERVED<BR>In file included from
 /root/Desktop/gspcav1-20070508/gspca_core.c:46:<BR>include/linux/mm.h: In function ‘lowmem_page_address’:<BR>include/linux/mm.h:535: warning: integer constant is too large for ‘unsigned long<BR>’ type<BR>include/linux/mm.h:535: warning: cast to pointer from integer of different size<BR>In file included from include/linux/pagemap.h:12,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /root/Desktop/gspcav1-20070508/gspca_core.c:51:<BR>include/asm/uaccess.h: In function ‘copy_from_user’:<BR>include/asm/uaccess.h:314: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/asm/uaccess.h:314: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/asm/uaccess.h:315: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/asm/uaccess.h:315: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/asm/uaccess.h: In function
 ‘copy_to_user’:<BR>include/asm/uaccess.h:329: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/asm/uaccess.h:329: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/asm/uaccess.h:330: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/asm/uaccess.h:330: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/asm/uaccess.h: In function ‘clear_user’:<BR>include/asm/uaccess.h:424: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/asm/uaccess.h:424: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/asm/uaccess.h:425: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/asm/uaccess.h:425: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>In file included from /root/Desktop/gspcav1-20070508/gspca_core.c:51:<BR>include/linux/pagemap.h: In function
 ‘fault_in_pages_writeable’:<BR>include/linux/pagemap.h:203: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/linux/pagemap.h:203: warning: comparison is always false due to limited<BR>range of data type<BR>include/linux/pagemap.h:213: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/linux/pagemap.h:213: warning: comparison is always false due to limited<BR>range of data type<BR>include/linux/pagemap.h: In function ‘fault_in_pages_readable’:<BR>include/linux/pagemap.h:223: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/linux/pagemap.h:223: warning: comparison is always false due to limited<BR>range of data type<BR>include/linux/pagemap.h:229: warning: integer constant is too large for ‘unsigned<BR>long’ type<BR>include/linux/pagemap.h:229: warning: comparison is always false due to limited<BR>range of data type<BR>In file included from
 /root/Desktop/gspcav1-20070508/gspca_core.c:53:<BR>include/asm/io.h: In function ‘virt_to_phys’:<BR>include/asm/io.h:232: warning: integer constant is too large for ‘unsigned long’<BR>type<BR>include/asm/io.h: In function ‘phys_to_virt’:<BR>include/asm/io.h:249: warning: integer constant is too large for ‘unsigned long’<BR>type<BR>include/asm/io.h:249: warning: cast to pointer from integer of different size<BR>/root/Desktop/gspcav1-20070508/gspca_core.c: In function ‘kvirt_to_pa’:<BR>/root/Desktop/gspcav1-20070508/gspca_core.c:836: warning: integer constant is too<BR>large for ‘unsigned long’ type<BR>make[2]: *** [/root/Desktop/gspcav1-20070508/gspca_core.o] Error 1<BR>make[1]: *** [_module_/root/Desktop/gspcav1-20070508] Error 2<BR>make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-ppc64'<BR>make: *** [default] Error 2<BR><BR><BR>Can&nbsp;anybody give me any hints what might be done to correct these compiling <BR>problems?<BR></div><p>&#32;
                <hr size=1><a href="http://music.yahoo.com.cn/?source=mail_mailbox_footer" target=blank> 
Mp3疯狂搜-新歌热歌高速下 
</a>