Help with epcam

anil bheemaiah bheemaiaha at yahoo.com
Mon Mar 22 14:03:03 UTC 2004


This is with compiling the epcam driver for 2.4.20-8
The error is:
---------------------------------------------------------
make -C usb modules
make[2]: Entering directory
`/usr/src/linux-2.4.20-8/drivers/usb'
ld -m elf_i386 -r -o hid.o hid-core.o hiddev.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i486
-falign-functions=0 -malign-jumps=0 -malign-loops=0
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20-8/include/linux/modversions.h 
-nostdinc -iwithprefix include -DKBUILD_BASENAME=epcam
 -c -o epcam.o epcam.c
cc1: warning: -malign-loops is obsolete, use
-falign-loops
cc1: warning: -malign-jumps is obsolete, use
-falign-jumps
epcam.c: In function `epcam_recv_pict':
epcam.c:364: warning: unused variable `cp'
epcam.c: In function `decode_bayer':
epcam.c:839: warning: operation on `framedata' may be
undefined
epcam.c:851: warning: operation on `framedata' may be
undefined
epcam.c: In function `epcam_mmap':
epcam.c:1409: warning: passing arg 1 of
`remap_page_range_Rsmp_f926b573' makes pointer from
integer without a cast
epcam.c:1409: incompatible type for argument 4 of
`remap_page_range_Rsmp_f926b573'
epcam.c:1409: incompatible type for argument 5 of
`remap_page_range_Rsmp_f926b573'
--------------------------------------------------------

The function defnition of the page remap function is
different from the defn in memory management and
correcting it does not operate properly.
Thanks
Anil K Bheemaiah





--- redhat-install-list-request at redhat.com wrote:
> Send Redhat-install-list mailing list submissions to
> 	redhat-install-list at redhat.com
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 
>
https://www.redhat.com/mailman/listinfo/redhat-install-list
> or, via email, send a message with subject or body
> 'help' to
> 	redhat-install-list-request at redhat.com
> 
> You can reach the person managing the list at
> 	redhat-install-list-owner at redhat.com
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of Redhat-install-list digest..."
> 
> 
> Today's Topics:
> 
>    1. RE: two versions of linux9 at ftp site
> (pamntom)
>    2. Re: Installing TypingMaster into Games (Bob
> McClure Jr)
> 
> 
>
----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 20 Mar 2004 11:33:33 -0800
> From: "pamntom" <pamntom at sbcglobal.net>
> Subject: RE: two versions of linux9 at ftp site
> To: <redhat-install-list at redhat.com>
> Message-ID:
> <000401c40eb2$3b914440$03edfea9 at pinkmoon2>
> Content-Type: text/plain;	charset="us-ascii"
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Fri, 19 Mar 2004 10:01:57 -0800
> From: Rick Stevens <rstevens at vitalstream.com>
> Subject: Re: two versions of linux9 at ftp site
> To: Getting started with Red Hat Linux
> 	<redhat-install-list at redhat.com>
> Message-ID: <405B3595.7010109 at vitalstream.com>
> Content-Type: text/plain; charset=windows-1252;
> format=flowed
> 
> pamntom wrote:
> > A pre-installation question:
> > 
> >  
> > 
> > I see two versions of linux9 at the redhat
> website.
> > 
> > I have a P4 (Dell) running WindowsXP (currently)
> > 
> >  
> > 
> > Do I want to download the: "shrike-i386-disc?.iso"
> (1,2 & 3)
> 
> That's what you want.  Those are the binary
> installation media.
> 
> > Or, do I want to download the:
> "shrike-SRPMS-disk?.iso (1,2 & 3)
> 
> Those CDs contain the source code for the stuff on
> the binary disks.
> 
> > Also, there's a 1K file called MD5SUM. Do I need
> that as well?
> 
> That is a text file which contains the MD5 checksums
> of the ISO images.
> Essentially, once you download the images, you can
> run an MD5 checksum
> against them and compare the result of that with the
> data in that file.
> If the numbers match, then you downloaded it
> successfully.
> 
> For a Windows system, you can get the MD5 checksum
> program from:
> 
> 	http://www.rhil.net/dostools/dostools.html
> 
> Instructions for burning CDs from those ISO images
> are at:
> 
> 	http://www.rhil.net/docs/faq.html#making_cds
>
----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer    
> rstevens at vitalstream.com -
> - VitalStream, Inc.                      
> http://www.vitalstream.com -
> -                                                   
>                 -
> -  What's small, yellow and very, VERY dangerous? 
> The root canary!  -
>
----------------------------------------------------------------------
> 
> Okay, thank you (and everyone else). I will run a
> chksum of the .iso's
> and burn some CD's....
> 
> Giving it a whirl...
> tallen
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Sat, 20 Mar 2004 19:02:23 -0600
> From: Bob McClure Jr <robertmcclure at earthlink.net>
> Subject: Re: Installing TypingMaster into Games
> To: Getting started with Red Hat Linux
> 	<redhat-install-list at redhat.com>
> Message-ID:
> <20040321010223.GA7122 at bobcat.cumbytel.com>
> Content-Type: text/plain; charset=us-ascii
> 
> On Sat, Mar 20, 2004 at 10:31:32AM -0500, Chris A
> Czerwinski wrote:
> > Thanks to Rick S. and Guy R. (what resources and
> follow-up)- 
> > I've finally got the Java Virtual Machine LINKed
> properly.
> > 
> > Now - I want to install "TypingMaster" application
> into "Games" 
> >   e.g. Main Menu -> Games -> More Games ... 
> > so I don't have to install it twice for my kids 
> >  (as each has their own logon - boy/girl).
> > 
> > I am getting confused between /usr/games and
> /usr/local/games.
> > Does that mean there is one for Global and the
> other for who??
> 
> The convention, as I have seen it practiced in
> RedHat, is that
> distribution stuff goes into /usr, and stuff you've
> added by building
> and installing from a tarball goes into /usr/local. 
> If you get into
> lots of partitioning, that's why I make /usr/local a
> separate
> partition.  (That's another discussion.)
> 
> > So what would be the proper way of installing and
> into which
> > directories? and Permissions? and Links?
> > 
> > When installing I'm being asked for two locations
> -
> >   - Install in  ................. (Choose)        
>    and
> >   - Link Folder (Home) or .................
> (Choose)
> > 
> > Note: When I install as SU - I have to be careful
> about Home because it
> > may want to install in /root (I think?) and will
> they have access?
> 
> No, you don't want anything for general consumption
> put in /root.
> 
> > Thanks for any input.
> > 
> > Chris Cz (Newbie)
> 
> Well, philosophically, though it might be crafted to
> be "game-like", I
> don't think I would put it in /usr/local/games. 
> That's a rather
> obscure location.  And since it is external to the
> RedHat
> installation, I'd put it in /usr/local/bin.  That is
> normally in
> everybody's PATH, so nothing special needs to be
> done with that.
> 
> I don't understand what the "Link Folder (Home) or
> ..." is about.  If
> you want a shortcut to that, I'd put it in the
> toolbar at the bottom,
> or you could add a menu item for it.  I don't think
> I'd let the
> installation program do any of that, because it
> probably doesn't know
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html





More information about the Redhat-install-list mailing list