[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Annoying problem with udev



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: