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