Jump to content
Mumble forums

Mumble Kit creates no .a library in project


fbartolom
 Share

Recommended Posts

I tried inserting MumbleKit in another project after having done it fine in a previous one. Yet now both MumbleKit and the third party libraries do no create they .a targets. I tried removing and reinserting again MumbleKit, just in case the first installation went wrong, but I am left worse than before. In fact now I have arc errors on MumbleKit albeit it is configured for no Arc. As for the direct compilation of the MumbleKit target, again it compiles fine but creates no .a files. Please help as I am really stuck.

Link to comment
Share on other sites

I wish it were so simple. When I compile the mumbleKit sub target, it does not create the .a library, and so do the third parties with all .a files red. In order to compile the sub target I had to do it by itself, at least the first time, otherwise it had arc issues, notwithstanding of course the MumbleKit target is configured as non arc.

Now the compilation went fine, albeit the .a library remained red, but linking produces a host of duplicate symbols of the kind:

duplicate symbol _SSLv2_method in:

/Users/fbartolom/Library/Developer/Xcode/DerivedData/inArrivoHD-ebjdiuuwdpdvchgmpsyqkpvvvyhw/Build/Products/Debug-iphonesimulator/libMumbleKit.a(s2_meth.o)

/Users/fbartolom/openssl-ios/lib/libssl_iOS.a(s2_meth.o)

duplicate symbol _SSLv2_server_method in:

/Users/fbartolom/Library/Developer/Xcode/DerivedData/inArrivoHD-ebjdiuuwdpdvchgmpsyqkpvvvyhw/Build/Products/Debug-iphonesimulator/libMumbleKit.a(s2_srvr.o)

/Users/fbartolom/openssl-ios/lib/libssl_iOS.a(s2_srvr.o)

duplicate symbol _ssl2_accept in:

/Users/fbartolom/Library/Developer/Xcode/DerivedData/inArrivoHD-ebjdiuuwdpdvchgmpsyqkpvvvyhw/Build/Products/Debug-iphonesimulator/libMumbleKit.a(s2_srvr.o)

/Users/fbartolom/openssl-ios/lib/libssl_iOS.a(s2_srvr.o)

Link to comment
Share on other sites

  • Administrators

The problem is that MumbleKit includes OpenSSL in its .a files.


Your project already uses a separate OpenSSL library, so MumbleKit's OpenSSL and your own OpenSSL clash.


Are you the one including OpenSSL into your project? Or is it another dependency that brings it in?

Link to comment
Share on other sites

Now I managed to compile the whole by restarting everything several times and reimporting the mumble kit folder as many times. Yet when I add the (still red) libMumbleKit.a file in the libraries to link I get a number of errors:

Undefined symbols for architecture x86_64:

"_kCFStreamPropertySSLPeerCertificates", referenced from:

-[MKConnection peerCertificates] in libMumbleKit.a(MKConnection.o)

-[MKConnection _updateTLSTrustedStatus] in libMumbleKit.a(MKConnection.o)

"_kCFStreamPropertySSLPeerTrust", referenced from:

-[MKConnection _tryHandleSslError:] in libMumbleKit.a(MKConnection.o)

"_kCFStreamPropertySSLSettings", referenced from:

-[MKConnection _setupSsl] in libMumbleKit.a(MKConnection.o)

"_kCFStreamSSLCertificates", referenced from:

-[MKConnection _setupSsl] in libMumbleKit.a(MKConnection.o)

"_kCFStreamSSLLevel", referenced from:

-[MKConnection _setupSsl] in libMumbleKit.a(MKConnection.o)

"_kCFStreamSSLValidatesCertificateChain", referenced from:

-[MKConnection _setupSsl] in libMumbleKit.a(MKConnection.o)

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

I do not know if they are connected to the fact the library is red or to some other issue, yet this is the first time that I experiment a lacking file... giving errors!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...