i2c undefines
I'm trying to rebuild some applications that I used to have running with an old version of buildroot, but now I'm getting undefined symbols, and it's all stuff to do with i2c_smbus_* library routines.
e.g.
sensor.o: In function `main':/home/mike/work/sensor/sensor.c:77:
undefined reference to i2c_smbus_read_byte_data' :/home/mike/work/sensor/sensor.c:84: undefined reference to i2c_smbus_write_block_data' :/home/mike/work/sensor/sensor.c:99: undefined reference to i2c_smbus_write_byte' :/home/mike/work/sensor/sensor.c:111: undefined reference to i2c_smbus_read_word_data'
The linux kernel header file i2c.h supplied with a pukka kernel is different to the one I find in build_arch/staging_dir/include/linux/i2c.h
So what's going on here ? Why is the i2c.h header in the staging_dir hierarchy different to the real i2c.h header ?
Mike