ts-7000
[Top] [All Lists]

[ts-7000] Re: problem compile quickcam.o

To:
Subject: [ts-7000] Re: problem compile quickcam.o
From: "bibhu" <>
Date: Sun, 23 Sep 2007 18:30:26 -0000
It isn't advisable to compile it on the board.
Since you have the cross tools set up ( for videodev.o), you can 
easily cross compile.
Try read the little bit of documentation in qc-usb-0.6.5. 
You will need to do make all LINUX_DIR 
= /home/bibhu/TS7300/ksrc/linux24 etc etc if you have followed my 
link for videodev.o 

Also, look inside makefile and see that CC=arm-linux-gcc, LD=arm-
linux-ld, etc...Make sure arm-linux tools are in your path.
Watch whats happening when you make. Analyze.

Hope this helps.

Bibhu

--- In  "newpants2004" <> 
wrote:
>
> i download the source file to the ts7200 board,
> try to compile on the board, simply because i dont know how to cross
> compile. 
> 
> this is what i have:
> 
> :qc-usb-0.6.5# make
> -=- Logitech QuickCam USB camera driver -=-
> 
> Makefile target examples:
> make all - Compile driver and utilities against current running 
kernel
> make all USER_OPT=-DDEBUG - Compile with debugging code and messages
> make all LINUX_DIR=/usr/src/linux - Compile against specified kernel
> source
> make install - Copy driver and utilities into standard locations
> (needs root)
> make install PREFIX=/usr - Copy utilities to /usr/bin instead of
> /usr/local/bin
> make install MODULE_DIR=/lib/modules/2.4.0 - Copy module to
> /lib/modules/2.4.0/misc
> make clean - Remove object files from the source directory
> 
> Current configuration:
> Driver source directory (PWD):         /root/qc-usb-0.6.5
> Kernel source directory (LINUX_DIR):   /lib/modules/2.4.26-
ts11/build
> Module install directory (MODULE_DIR): /lib/modules/2.4.26-ts11
> Utility install directory (PREFIX):    /usr/local
> User options (USER_OPT):               -DHAVE_UTSRELEASE_H=0
> Driver file name (use with insmod):    quickcam.o
> Kernel version code:                   132122
> 
> 
> 
> everything looks ok,
> but i cant find the quickcam.o anywhere.
> 
> :qc-usb-0.6.5# find / -name quickcam.o
>  /dev/ide/host0/bus0/target0/lun0: p1
> :qc-usb-0.6.5# 
> 
> could someone help me out?
> if this is the wrong way to do this, can someone tell me how to 
cross
> compile?
> 
> thanks a lot
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<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