You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pubnub_version_posix.cpp: missing extern "C" causes linker failure when building with WITH_CPP=ON #242
I have had trouble compiling pubnub with cmake the last days and think I narrowed it down to a problem in:
c-core/cpp/pubnub_version_posix.cpp
The compiler kept spitting out the following:
Undefined symbols for architecture arm64:
"_pubnub_sdk_name", referenced from:
_pbcc_uname in libpubnub.a[6](pubnub_ccore_pubsub.c.o)
_pbcc_publish_prep in libpubnub.a[6](pubnub_ccore_pubsub.c.o)
_pbcc_signal_prep in libpubnub.a[6](pubnub_ccore_pubsub.c.o)
_pbcc_subscribe_prep in libpubnub.a[6](pubnub_ccore_pubsub.c.o)
"_pubnub_uagent", referenced from:
_pbnc_fsm in libpubnub.a[8](pubnub_netcore.c.o)
"_pubnub_uname", referenced from:
_pbcc_uname in libpubnub.a[6](pubnub_ccore_pubsub.c.o)
_pbcc_publish_prep in libpubnub.a[6](pubnub_ccore_pubsub.c.o)
_pbcc_signal_prep in libpubnub.a[6](pubnub_ccore_pubsub.c.o)
_pbcc_subscribe_prep in libpubnub.a[6](pubnub_ccore_pubsub.c.o)
ld: symbol(s) not found for architecture arm64
Activity
pubnub-release-bot commentedon Oct 26, 2026
@spectrbro this issue is addressed in v7.3.7