> Here are the failures w/o "-O2":
>
> gcc foo.c
> /tmp/ccrL6q6V.o: In function `main':
> /tmp/ccrL6q6V.o(.text+0xbc): undefined reference to `i2c_smbus_read_byte_data'
> collect2: ld returned 1 exit status

   You were right. When I added the -O2 option it compiled and linked correctly.
(it is curious that behaviour of the inline functions)


  Thank you all for your help.


--
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.

Reply via email to