Closed bcis93 closed 4 years ago
Never mind, I figured it out! For the missing uhttp library, I had to add a recipe to build it (and I opened a pull request for this). For the other two libraries, I found that I needed to use the use_edge_modules
flag while building azure-iot-sdk-c. I am planning on opening another pull request with this option added to the PACKAGECONFIG
, if you would be open to that.
@bcis93 , I have just pushed some changes to master which will hopefully fix the issue. From looking at your PRs you came to the same conclusion as me about what was causing the problem.
You will need to specify the following in your config because edge modules are not built by default:
PACKAGECONFIG_pn-azure-iot-sdk-c = "amqp edge http mqtt"
@srware the fixes worked for me, thanks! As I mentioned in the original description, I am working on the thud branch, so I would like to get these changes there too, if you don't mind, and I would also like to update azure-iot-sdk-c to version 1.3.8. Let me know what you think - I'd be happy to submit a PR for this
@bcis93 , given thud is a stable branch I won't be able to update the SDK version other than for exceptional security related reasons. This is to keep compliance with Yocto maintenance guidelines.
I am happy to try and add support for compiling edge modules to the existing version though if this is relevant.
@srware that's ok then about the SDK update. But yes, adding support for compiling edge modules would be great!
@bcis93 , no problem. I will give you a heads up when it is done.
@bcis93 , I have had a look at the 1.2.4 version of the SDK in the thud branch and this predates the edge modules option (introduced in 1.2.8). The only option is to compile the full provisioning client which will require adding several additional recipes and SDK patches. In short, the number of changes are more than I am comfortable making in a stable branch. Apologies.
Hi, I get the following errors when trying to build an application with azure-iot-sdk-c (using the thud branch)
The recipe I am using to try to build my application is as follows:
Am I doing something wrong? Or are these libraries not getting installed correctly?