A number of modules of the I2C interface failed to compile in an Avanti
Alpha system. The problem seems to be 'wait_queue_head_t' not being
declared in semaphore.h. That type is declared in include/linux/wait.h.
Should it be included in include/asm/semaphore.h?
------
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8
-mcpu=ev4 -Wa,-mev6 -DMODULE -c -o i2c-philips-par.o i2c-philips-par.c
In file included from /usr/src/linux/include/linux/i2c.h:46,
from i2c-philips-par.c:33:
/usr/src/linux/include/asm/semaphore.h:19: parse error before
'wait_queue_head_t'
/usr/src/linux/include/asm/semaphore.h:19: warning: no semicolon at end
of struct or union
/usr/src/linux/include/asm/semaphore.h: In function `sema_init':
-- Rafael- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:09 EST