libwebsockets won't build on OSX
Posted: Wed Apr 26, 2017 3:41 pm
I'm trying to build libwebsockets for the ESP32 on OSX from this repo:
https://github.com/warmcat/lws-esp32-factory
Everything builds OK, until the link stage, where it fails to link to functions in the previously created library libwebsockets.a
Doing an nm shows that the functions exist in the library. The library appears in the linker command line and the linker is definitely finding it. I've tried moving the library to the beginning and end of the line. With the same results.
Any suggestions?
T.
https://github.com/warmcat/lws-esp32-factory
Everything builds OK, until the link stage, where it fails to link to functions in the previously created library libwebsockets.a
Doing an nm shows that the functions exist in the library. The library appears in the linker command line and the linker is definitely finding it. I've tried moving the library to the beginning and end of the line. With the same results.
Any suggestions?
T.