I'm trying to cross compile a program that uses I2C communications. When I try to compile I get the following error: arm-linux-gcc lee_regsitros_ADV7171.c /tmp/ccPA8miB.o: In function `main': /tmp/ccPA8miB.o(.text+0xd0): undefined reference to `i2c_smbus_read_byte_data' collect2:ld returned 1 exit status
I have compiled my kernel with builtin I2C support and a module for the Assabet i2c interface. How should I compile my program in order to find the reference to the function i2c_smbus_read_byte_data? Thank you all. -- Rafael Rodr�guez Velilla [EMAIL PROTECTED] Telef�nica I+D http://www.tid.es Telf: +34 - 91 337 4270 _______________________________________________ http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm Please visit the above address for information on this list.
