i2cmaster library problem

The i2cmaster.S and twimaster.c files provide the same functions. You can use one or the other but not both. Look at the makefile samples provided.