Re: Annoying problem with udev
- To: debian-sparc@lists.debian.org
- Subject: Re: Annoying problem with udev
- From: Frans van Berckel <fberckel@xs4all.nl>
- Date: Thu, 02 Dec 2010 18:52:14 +0100
- Message-id: <[🔎] 1291312334.1698.1.camel@deblnxsrv222>
- In-reply-to: <4CF58088.2050609@oldelvet.org.uk>
- References: <20101016205331.GQ3347@debian.org> <1287266677.15347.919.camel@playlandiv> <20101017021331.GM3347@debian.org> <20101112213008.GA6650@droopy.oc.cox.net> <1291020297.1703.29.camel@deblnxsrv222> <20101129094125.GA32694@entuzijast.net> <1291040376.1704.14.camel@deblnxsrv222> <4CF3BC19.7030600@oldelvet.org.uk> <1291048444.1704.20.camel@deblnxsrv222> <4CF3DD62.6000501@oldelvet.org.uk> <1291062475.1704.40.camel@deblnxsrv222> <4CF416A4.3030006@oldelvet.org.uk> <1291130182.1719.28.camel@deblnxsrv222> <4CF54462.2060608@oldelvet.org.uk> <1291144362.2311.4.camel@deblnxsrv222> <4CF58088.2050609@oldelvet.org.uk>
On Tue, 2010-11-30 at 22:54 +0000, Richard Mortimer wrote:
> Hi,
>
> Attached are two patches to apply against the files from 2.6.34 that you
> reference above. Sorry they are just in context diff format (as I
> mentioned I don't have a git tree handy at the moment) but you should be
> able to apply them direct in the driver/net directory using
>
> patch -p0 < cassini.c.diff
> patch -p0 < cassini.h.diff
>
> I haven't compile tested so it may need a tweak or two (I may have got
> the wrong include files for of.h and friends).
>
> Lets hope this is on the right lines.
Got this build error facing up.
/usr/bin/make -j5 ARCH=sparc \
image
make[1]: Entering directory `/usr/src/linux-2.6.34.7'
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC drivers/net/cassini.o
drivers/net/cassini.c: In function ‘cas_get_vpd_info’:
drivers/net/cassini.c:3382: warning: ISO C90 forbids mixed declarations and code
drivers/net/cassini.c:3384: error: ‘cas’ undeclared (first use in this function)
drivers/net/cassini.c:3384: error: (Each undeclared identifier is reported only once
drivers/net/cassini.c:3384: error: for each function it appears in.)
make[3]: *** [drivers/net/cassini.o] Error 1
make[2]: *** [drivers/net] Error 2
make[1]: *** [drivers] Error 2
Frans van Berckel
Reply to: