[En-Nut-Discussion] i2ctest.c fails to build on several platforms

Harald Kipp harald.kipp at egnite.de
Thu Sep 12 14:20:55 CEST 2013


Hi,

Looks to me that NutI2cMasterTransceive is not available for all
targets. Therefore i2ctest.c fails to build with

i2ctest.c:(.text+0x4a4): undefined reference to `NutI2cMasterTransceive'
i2ctest.c:(.text+0x4d8): undefined reference to `NutI2cMasterTransceive'
i2ctest.c:(.text+0x584): undefined reference to `NutI2cMasterTransceive'
i2ctest.c:(.text+0x5a8): undefined reference to `NutI2cMasterTransceive'
i2ctest.c:(.text+0x5dc): undefined reference to `NutI2cMasterTransceive'
i2ctest.o:i2ctest.c:(.text+0x600): more undefined references to
`NutI2cMasterTransceive' follow
collect2.exe: error: ld returned 1 exit status
make[1]: *** [i2ctest.elf] Error 1
make[1]: Leaving directory
`E:/ethernut/ethernut-5.2.0/gbaxport2-arm-gcc-app/i2ctest'
make: *** [all] Error 2

Regards,

Harald



More information about the En-Nut-Discussion mailing list