etwmc/Personal-HomeKit-HAP

_ZNSt8ios_baseC2Ev

beckmx opened this issue · 3 comments

Hello @etwmc today I encounter this issue on another platform, any idea what could this mean?

./PHK: can't resolve symbol '_ZNSt8ios_baseC2Ev' in lib './PHK'.

Do you think with the -static flag the application can run fine?

Greetings!

etwmc commented

Tried "make clean" yet?
Otherwise, what platform and OS are you using?

Yes I did clean, I am using openwrt but I am guessing the libraries inside
the board are not exactly the same as the compilation, is there any flag to
bundle everything in a single file? Without dynamic linking?

On Sunday, 8 May 2016, etwmc notifications@github.com wrote:

Tried "make clean" yet?
Otherwise, what platform and OS are you using?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#58 (comment)

etwmc commented

The program itself doesn't rely on dynamic linking (I don't think any program rely on that, static and dynamic should work the same)
For how to compile static, I think that's your compiler's setting. Just add the header in the makefile and it should work fine.