Strange error when running my package - help please!

Hi,

I have been developing my own package which I have successfully build and run on a netgear wndr3700vr using an old slow PC to build it all

However, I have a much newer machine and have just installed/built openwrt, copied over my project source package file and build it successfully (same target ATH79XX, profile WNDR3700v2).

When invoking the package from the new machine build on the wndr3700 I get:

root@OpenWrt:/# ./perftester TV1
Error relocating ./perftester: _ZSt28__throw_bad_array_new_lengthv: symbol not found
Error relocating ./perftester: __select_time64: symbol not found
Error relocating ./perftester: _ZNSs4dataEv: symbol not found
Error relocating ./perftester: __localtime64: symbol not found
Error relocating ./perftester: __time64: symbol not found

I'm really not sure what this is telling me, or how to fix it, any ideas or clues really welcome!!

Many thanks

nick

I think you somehow linked it against gnu libc instead of musl libc.

Hi, Thanks for your reply which pointed me in the right direction. It seems to be the exe works with when the image from the build is on the target box, but not with the old image originally on the box. So not quite sure, I guess openwrt has updated alot in the last 18 months!!

nick