交叉编译I2C应用程序

时间:2019-03-12 12:11:57

标签: cross-compiling i2c

我尝试使用arm-linux-gnueabi-gcc交叉编译I2C应用程序。 而且我正面临以下问题

auth_app.c:71:对i2c_smbus_read_byte_data' auth_app.c:77: undefined reference to i2c_smbus_write_byte_data'的未定义引用 auth_app.c:83:对“ i2c_smbus_read_byte_data”的未定义引用

但是我可以在Host x86 PC上成功编译相同的应用程序 命令 gcc auth_app.c -li2c

谁能帮助我交叉编译中缺少的内容。

我们将非常感谢您的帮助。

谢谢, 艾萨拉特

0 个答案:

没有答案
相关问题