Re: compile error in spiflash.c
David Young <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.evbmips |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jul 14, 2007 at 10:49:23AM -0400, [email protected] 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 [email protected] Urbana, IL * (217) 278-3933 ext 24