Dear all,
I am trying to install the driver ( spca5xx) on my webcam ( Logitech
quickcam express ) on my ts-7200 SBC.
But I got the following error when I compile it…I don't know what this
means… (I could make it work on my desktop)…
I am a Linux newbie… please help me to get the webcam works… can I compile
it using the cross tools… how this can be done…
Please find attached the driver.
-------------------------------------------------------------------------
ts7200:/home/spca5xx-20051001# make clean
rm -r -f drivers/usb/*.o drivers/usb/.spcadecoder.o.cmd \
drivers/usb/.spca5xx.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i
ts7200:/home/spca5xx-20051001# make
Compiling drivers/usb/spcadecoder.c
cc1: Invalid option `preferred-stack-boundary=2'
In file included from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/memory.h:16,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/cpu-single.h:35,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/proc-fns.h:136,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/system.h:67,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/bitops.h:22,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/bitops.h:4,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/thread_infoh:
20,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/spinlock.h:19,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/capability.h:4
5,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/sched.h:7,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/uaccess.h:14,
from drivers/usb/spca5xx.h:11,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/arch/memory.h:44
: #error "Undefined footbridge mode"
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/arch/memory.h:62
: #error "Undefined footbridge architecture"
In file included from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/page.h:27,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/cpu-single.h:36,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/proc-fns.h:136,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/system.h:67,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/bitops.h:22,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/bitops.h:4,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/thread_infoh:
20,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/spinlock.h:19,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/capability.h:4
5,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/sched.h:7,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/uaccess.h:14,
from drivers/usb/spca5xx.h:11,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/glue.h:102:
#error Unknown data abort handler type
In file included from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/cpu-
single.h:36,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/proc-fns.h:136,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/system.h:67,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/bitops.h:22,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/bitops.h:4,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/thread_infoh:
20,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/spinlock.h:19,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/capability.h:4
5,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/sched.h:7,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/uaccess.h:14,
from drivers/usb/spca5xx.h:11,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/page.h:88:
#error Unknown user operations model
In file included from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/cpu-
single.h:35,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/proc-fns.h:136,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/system.h:67,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/bitops.h:22,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/bitops.h:4,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/thread_infoh:
20,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/spinlock.h:19,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/capability.h:4
5,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/sched.h:7,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/uaccess.h:14,
from drivers/usb/spca5xx.h:11,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/memory.h: In
function `virt_to_phys':
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/memory.h:38:
`PAGE_OFFSET' undeclared (first use in this function)
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/memory.h:38:
(Each undeclared identifier is reported only once
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/memory.h:38: for
each function it appears in.)
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/memory.h:39:
warning: control reaches end of non-void function
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/memory.h: In
function `phys_to_virt':
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/memory.h:43:
`PAGE_OFFSET' undeclared (first use in this function)
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/memory.h:44:
warning: control reaches end of non-void function
In file included from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/sched.h:183,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/uaccess.h:14,
from drivers/usb/spca5xx.h:11,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/aio.h: In
function `list_kiocb':
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/aio.h:166:
warning: cast increases required alignment of target type
In file included from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/fs.h:21,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/videodev2.h:83
8,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/videodev.h:8,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/kobject.h: In
function `to_kset':
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/kobject.h:108:
warning: cast increases required alignment of target type
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/kobject.h: In
function `subsys_get':
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/kobject.h:206:
warning: cast increases required alignment of target type
In file included from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/videodev.h:12,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/device.h: In
function `list_to_dev':
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/device.h:285:
warning: cast increases required alignment of target type
In file included from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/mm.h:25,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/poll.h:10,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/videodev.h:13,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/pgtable.h: In
function `pmd_page_kernel':
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/pgtable.h:280:
`PAGE_OFFSET' undeclared (first use in this function)
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/asm/pgtable.h:281:
warning: control reaches end of non-void function
In file included from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/poll.h:10,
from
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/videodev.h:13,
from drivers/usb/spca5xx.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/mm.h: In
function `lowmem_page_address':
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/mm.h:349:
`PAGE_OFFSET' undeclared (first use in this function)
/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8/build/include/linux/mm.h:350:
warning: control reaches end of non-void function
drivers/usb/spcadecoder.c: In function `fun_D':
drivers/usb/spcadecoder.c:390: warning: value computed is not used
drivers/usb/spcadecoder.c: In function `yuv_decode':
drivers/usb/spcadecoder.c:1487: warning: cast increases required alignment
of target type
drivers/usb/spcadecoder.c: In function `jpeg_decode411':
drivers/usb/spcadecoder.c:1796: warning: cast increases required alignment
of target type
drivers/usb/spcadecoder.c: In function `jpeg_decode422':
drivers/usb/spcadecoder.c:2194: warning: cast increases required alignment
of target type
drivers/usb/spcadecoder.c: In function `bayer_decode':
drivers/usb/spcadecoder.c:2549: warning: cast increases required alignment
of target type
make: *** [drivers/usb/spcadecoder.o] Error 1
ts7200:/home/spca5xx-20051001#
-----------------------------------------------------------
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
spca5xx-20051001.tar.gz
Description: Binary data
|