Subject: Re: compile error in spiflash.c
To: None <port-evbmips@netbsd.org>
From: David Young <dyoung@pobox.com>
List: port-evbmips
Date: 07/14/2007 14:43:27
On Sat, Jul 14, 2007 at 10:49:23AM -0400, chriscureau@bellsouth.net wrote:
> Hi there!
> 
> I am trying to compile the current cvs code for the Meraki Mini using the following command:
> 
> ./build.sh -m evbmips-eb kernel=MERAKI
> 
> and I'm running across a compile error:
> 
> /usr/src/sys/dev/spi/spiflash.c: In function 'spiflash_attach':
> /usr/src/sys/dev/spi/spiflash.c:240: error: 'arg' undeclared (first use in this function)
> /usr/src/sys/dev/spi/spiflash.c:240: error: (Each undeclared identifier is reported only once
> /usr/src/sys/dev/spi/spiflash.c:240: error: for each function it appears in.)
> cc1: warnings being treated as errors
> /usr/src/sys/dev/spi/spiflash.c:241: warning: passing argument 6 of 'kthread_create' from incompatible pointer type
> 
> *** Failed target:  spiflash.o

At line 240 on the latest sources, the identifier 'arg' does not appear:
the line is empty.  Maybe you need to update your sources?

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933 ext 24