Skip to content
This repository was archived by the owner on Sep 16, 2020. It is now read-only.

iOS link error - missing networking symbols. #42

Open
r-escu opened this issue Jan 9, 2020 · 1 comment
Open

iOS link error - missing networking symbols. #42

r-escu opened this issue Jan 9, 2020 · 1 comment

Comments

@r-escu
Copy link

r-escu commented Jan 9, 2020

Not sure where to post it. After extending HelloGluon with some networking code I get the error below. Works fine on desktop when target iOS is commented out
Has anyone seen this before?

Undefined symbols for architecture arm64: "_Java_jdk_net_MacOSXSocketOptions_getTcpKeepAliveIntvl0", referenced from: _MacOSXSocketOptions_getTcpKeepAliveIntvl0_3c6a1009bb3a39a1a7c77219de7a65f1e30d9750 in llvm.o

"_Java_jdk_net_MacOSXSocketOptions_getTcpKeepAliveTime0", referenced from: _MacOSXSocketOptions_getTcpKeepAliveTime0_26ecd9ad54542e93b061c6254e382d269ef9c6e1 in llvm.o

"_Java_jdk_net_MacOSXSocketOptions_getTcpkeepAliveProbes0", referenced from: _MacOSXSocketOptions_getTcpkeepAliveProbes0_661daa644bce3197db58b7b18e2fd176494d028b in llvm.o

"_Java_jdk_net_MacOSXSocketOptions_setTcpKeepAliveIntvl0", referenced from: _MacOSXSocketOptions_setTcpKeepAliveIntvl0_443e365932509a5c53b5a7690abada6a409d7963 in llvm.o

"_Java_jdk_net_MacOSXSocketOptions_setTcpKeepAliveTime0", referenced from: _MacOSXSocketOptions_setTcpKeepAliveTime0_489b5f936900a1d96819ba96c46f154c7da15fe3 in llvm.o

"_Java_jdk_net_MacOSXSocketOptions_setTcpkeepAliveProbes0", referenced from:
_MacOSXSocketOptions_setTcpkeepAliveProbes0_667486ab22396e17ac782b9be19cf70e83bdb1fa in llvm.o

"_Java_sun_nio_ch_SocketChannelImpl_checkConnect", referenced from: _SocketChannelImpl_checkConnect_abaaa701cc8c1044014e2939d46265e67b6c5541 in llvm.o

ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@r-escu
Copy link
Author

r-escu commented Jan 10, 2020

I have identified the culprit: java.nio.channels.SocketChannel
Is there any fix in the pipeline to address this ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant