Hi.
I'm trying to compile Kamikaze version 7305 for AR7 (default configuration) and I got the following error:
CC drivers/char/pty.o
CC drivers/char/misc.o
CC drivers/char/hw_random/core.o
LD drivers/char/hw_random/built-in.o
CC drivers/char/watchdog/ar7_wdt.o
LD drivers/char/watchdog/built-in.o
CC drivers/char/ar7_gpio.o
drivers/char/ar7_gpio.c: In function 'ar7_gpio_write':
drivers/char/ar7_gpio.c:57: warning: implicit declaration of function 'gpio_set_value'
drivers/char/ar7_gpio.c:64: warning: implicit declaration of function 'ar7_gpio_disable'
drivers/char/ar7_gpio.c:68: warning: implicit declaration of function 'ar7_gpio_enable'
drivers/char/ar7_gpio.c:73: warning: implicit declaration of function 'gpio_direction_input'
drivers/char/ar7_gpio.c:78: warning: implicit declaration of function 'gpio_direction_output'
drivers/char/ar7_gpio.c: In function 'ar7_gpio_read':
drivers/char/ar7_gpio.c:94: warning: implicit declaration of function 'gpio_get_value'
drivers/char/ar7_gpio.c: In function 'ar7_gpio_open':
drivers/char/ar7_gpio.c:105: error: 'AR7_GPIO_MAX' undeclared (first use in this function)
drivers/char/ar7_gpio.c:105: error: (Each undeclared identifier is reported only once
drivers/char/ar7_gpio.c:105: error: for each function it appears in.)
make[7]: *** [drivers/char/ar7_gpio.o] Error 1
make[6]: *** [drivers/char] Error 2
make[5]: *** [drivers] Error 2
Any suggestions?
Regards.
Booboo.