As an update here, my code successfully compiles for the Core and it fails while compiling for the Photon using the Web IDE. I was able to compile successfully about 2 weeks ago so I’m assuming this is related to a recent change.
Any ideas?
undefined reference to `aes_crypt_cbc’
collect2: error: ld returned 1 exit status
@solarplug, the Photon firmware now includes a HAL (Hardware Abstraction Layer) which obfuscates the lower level layers of the firmware. The HAL now provides API interfaces into those lower levels and some have not been implemented yet. Add t that the fact that the Photon uses a Broadcom wifi chip (vs the Core’s TI CC3000) so you can appreciate the challenge. I will ping @mdma but he is on a well deserved vacation until next week.
@solarplug, if you compile locally, you may be able to find a work around. However, the Broadcom WICED library has not been open sourced yet and what you need my be there.
Probably too late to help you out, but this is telling you that the functions are declared in the header files, but there is no object or library file that includes those functions (i.e. a .o or .a file).
You need to compile the core-communication-lib and then include that library in your code. i.e. cd firmware/core-communication-lib/build ; make PLATFORM=photon
The library is: firmware/core-communication-lib/build/libcore-communication-lib.a.
The simplest thing (I think this works) is to just drop the archive into your src directory when building.