I have a of ios compile openssl environmental issues
hi:
Compile openSSL, I encountered a troublesome problem when compile-arch i386 compiler-arch armv7 when wrong.
I encountered this problem has been for several days, and I suspect that is not different simulator sdk and iphone sdk or my sdk missing file.
os x 10.8.2 xcode 4.6.1 iphone sdk 6.1.
openssl the makefile:
VERSION=1.0.0e
MAJOR=1
MINOR=0.0
SHLIB_VERSION_NUMBER=1.0.0
SHLIB_VERSION_HISTORY=
SHLIB_MAJOR=1
SHLIB_MINOR=0.0
SHLIB_EXT=.$(SHLIB_MAJOR).$(SHLIB_MINOR).dylib
PLATFORM=darwin-armv7-cc
OPTIONS= no-gmp no-jpake no-krb5 no-md2 no-rc5 no-rfc3779 no-shared no-store no-zlib no-zlib-dynamic static-engine
CONFIGURE_ARGS=darwin-armv7-cc
SHLIB_TARGET=darwin-shared
HERE=.
INSTALL_PREFIX=
INSTALLTOP=/usr/local/ssl
OPENSSLDIR=/usr/local/ssl
CC= /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Develope r/usr/bin/gcc
CFLAG= -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Develope r/SDKs/iPhoneOS6.1.sdk -O3 -fomit-frame-pointer -DL_ENDIAN
DEPFLAG= -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_MD2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_STORE
PEX_LIBS= -Wl,-search_paths_first
EX_LIBS=
EXE_EXT=
ARFLAGS=
AR= ar $(ARFLAGS) r
RANLIB= /opt/local/bin/ranlib
NM= nm
PERL= /opt/local/bin/perl5
TAR= tar
TARFLAGS= --no-recursion
MAKEDEPPROG=makedepend
LIBDIR=lib
The Log:
Undefined symbols for architecture armv7:
"_accept$UNIX2003", referenced from:
_do_server in s_socket.o
_BIO_accept in libcrypto.a(b_sock.o)
"_bind$UNIX2003", referenced from:
_do_server in s_socket.o
_BIO_get_accept_socket in libcrypto.a(b_sock.o)
"_chmod$UNIX2003", referenced from:
_RAND_write_file in libcrypto.a(randfile.o)
"_close$UNIX2003", referenced from:
_sv_body in s_server.o
_s_client_main in s_client.o
_speed_main in speed.o
_s_time_main in s_time.o
_init_client in s_socket.o
_do_server in s_socket.o
_acpt_ctrl in libcrypto.a(bss_acpt.o)
"_closedir$UNIX2003", referenced from:
_OPENSSL_DIR_end in libcrypto.a(o_dir.o)
"_connect$UNIX2003", referenced from:
_init_client in s_socket.o
_conn_state in libcrypto.a(bss_conn.o)
_BIO_get_accept_socket in libcrypto.a(b_sock.o)
_RAND_query_egd_bytes in libcrypto.a(rand_egd.o)
"_fdopen$UNIX2003", referenced from:
_speed_main in speed.o
"_fopen$UNIX2003", referenced from:
_enc_main in enc.o
_BIO_new_file in libcrypto.a(bss_file.o)
_file_ctrl in libcrypto.a(bss_file.o)
_RAND_load_file in libcrypto.a(randfile.o)
_RAND_write_file in libcrypto.a(randfile.o)
_open_console in libcrypto.a(ui_openssl.o)
"_fputs$UNIX2003", referenced from:
_main in openssl.o
_BIO_debug_callback in libcrypto.a(bio_cb.o)
_write_string in libcrypto.a(ui_openssl.o)
_read_string in libcrypto.a(ui_openssl.o)
"_fstat$INODE64", referenced from:
_RAND_poll in libcrypto.a(rand_unix.o)
"_fwrite$UNIX2003", referenced from:
_check in verify.o
_req_main in req.o
_dsa_main in dsa.o
_speed_main in speed.o
_s_time_main in s_time.o
_load_index in apps.o
_write_fp in libcrypto.a(b_dump.o)
Can you help me solve it, thank you very much~!
Online waiting~~~
You're looking for assistance with porting OpenSSL to iOS? While it would be more typical to use iOS core frameworks such as CFNetwork or other higher-level frameworks such as AFNetwork, there are other OpenSSL-based alternatives and ports for iOS, if you really want or need your own copy.
I just ended up writing a "framework" for OpenSSL for another platform. That was "fun". But I digress.
Quoting from the Apple documentation: "Although OpenSSL is commonly used in the open source community, OpenSSL does not provide a stable API from version to version. For this reason, although OS X provides OpenSSL libraries, the OpenSSL libraries in OS X are deprecated, and OpenSSL has never been provided as part of iOS. Use of the OS X OpenSSL libraries by apps is strongly discouraged."
Accordingly, I'd generally recommend against having your own embedded SSL/TLS security code as that means full ownership of security updates and security fixes and API changes and the rest, but if you do really need to have OpenSSL around, then you're going to get to build your own dynamic library containing OpenSSL, as was described in the links above.
For more information on what's happening with OpenSSL, SSL/TLS, CDSA and other such within iOS and OS X, there are some WWDC sessions that will definitely be of interest. Given the (programming) choice here, I'd probably go with AFNetwork or CFNetwork, or with Common Crypto or such. Not with OpenSSL.
For the best and fastest answers to these sorts of questions, I'd also suggest posting to the Apple developer forums, rather than here in the consumer forums. For instance, see this thread...
Similar Messages
-
I have purchased the ios 3.1 update for my 1st generation iPod Touch, but cannot get it to download. When I check the summary on iTunes, it says that I have the most up-to-date version of 2.1. I really need to update to 3.1 to download some games for my son. I have an iPad and do not want to purchase a new iPod if I can get some games on the current one.
Thanks in advance!So you are saying that you purchased it by:
Purchasing iOS 3.1 Software Update for iPod touch (1st generation)
Is iTunes signed into the same iTunes account that purchased it?
How long ago did you purchase it?
Did you purchase it on another computer?
Contact iTunes:
Apple - Support - iTunes - Contact Us -
Can anyone help me with a problem i am having with my music on my iPhone 4S. I have put alot of Compilation CDs in my library on iTunes. I download these tracks onto my phone, everything is ok so far. Now, this is what is niggling me and I don.t know how to resolve it. This is my problem:
Have downloaded for example: Queen – Bohemium Rhapsody from a compilation album as well as a few complete Queen Album CDs into the iTunes library and then put them into playlists,
When I go onto my phone and select Queen on the MUSIC app using Songs tab at the bottom of the screen it will display all Queen songs and their resective Alum pics, that is all those not in a complilation album, .
If I know the song title I can select the songs tab and find the song that way,
I’ve tried fiddling with the settings in the iTunes app by going to ‘get info’ tab and trying to sort the problem out that way but am not having much luck.What I want the phone to do is show, for example all Queens songs including those in compilation albums. Can this be done, would be grateful for any ideas on how it can be done, that is if ic can be done, any ideas
Thanks for your helpTry assigning Queen as the Album Artist on the compilations in iTunes on your computer.
-
I have updated my iOS and now my hotmail will not verify my password through apple mail app. I have reset password - tried new password and old password and it still gives me password incorrect. Hotmail works fine on Mac. Has anyone had this difficulty and been able to resolve it?
Did you try deleting the mail account, then adding it back? I've read a lot of times that is what needs to happen in order for it to work properly.
-
I have the new iOS 7 and am getting texts from another family members phone and they are getting mine how do I disable this without changing accounts
Welcome to the Apple Community.
You could simply set each device to only use a single telephone number (settings > messages > send & receive, but this isn't really an ideal solution since the other person can always change their settings and see your messages and send messages that appear as if they are from you. There is only one real solution and that's to have your own accounts. -
I have the new iOS 7 and am getting texts from another family members phone and they are getting mine how to I disable this ??
You each need to have separate Apple IDs and separate user accounts. Better yet, separate computers as well.
-
How can I create an iCloud account if I have iTunes on my PCs (both desktop & laptop) but have no other iOS device?
http://https://ci6.googleusercontent.com/proxy/0pvg0cE2YuFQ5ZaqwDNORf8TKnYmWkUdN BSVpRgn2lNMR_03qYeKN64jE6LXbMOJBBCc7agiJIAYFvS28j7y-UiLaBMdhM2t7I79q8mQsl5T5aMj7 dBPHFU2Za204sZnDh5muA=s0-d-e1-ft#http://ax.phobos.apple.com.edgesuite.net/email/ images_shared/spacer_999999.gif
-
I have garagaband for iOs in my iPhone 4S, I connect my Squire iOs guitarr to the iPhone, I select a Guitar Amp at the GB app then I Only can tune the guitar but I m not able to make the guitar ring with the amps. May some one help me?
You got the new iphone????? I have same problem. I transferred audiobooks to device to find no audiobooks on device (despite it being in iTunes as if it was). Have you found a solution????? I even tried to change import settings on format transfer but hasn't worked.
-
i have iphone 4 ios 5.0.1 and i want to restore it to ios 6.1.2 not to 7.0.2 does it works?
No.
(91112) -
I have updated to ios 7 and Microsoft outlook web access for work emails no longer works nor my remote access can you help
This happened to me as well. I read somewhere else that resetting the network settings (General, Reset, Reset Network Settings) would help and it partially did. I get half (the folders) of the Web Access screen rather than a blank screen. I tried tihs a few more times and got the right half (the messages) on occasion but never the whole web page.
-
since i have updated to IOS 7.1 my phone no longer can make calls, connect using 3G or send text messages. has anyone else had this trouble? i've tried resetting the phone, but had no luck. i can recieve calls and texts, but cannot make calls, text or use the 3G.
please can anyone help?Yes! All the above. I have to buy a new phone. I contacted my phone company and there is nothing they can do
-
I have upgrade to IOS 8 and all Fotos are ereased on my Iphone and on my Computer is only the last Backup and there a no Photos now what can i do?
You really need to try this on a computer, not on the iPad.
Seeing how what is in the cloud is also on the iPad, if the content is not on the iPad, there is a good chance that the content is lost. But you can try logging into www.icloud.com in a web browser on a computer and log into your account and see if you can get into the Pages app. You may have to sign up for iCloud drive if you didn't do so already. Make SURE you that you read the blurb that will pop up in that window in iCloud for more information. -
I have updated to IOS 7.1 my music has disappeared and my boyfriend has put his iPod music onto my iPod those also were gone I'd like to know how to get it back if there is anything you can tell me to get my music to pop back up that would be great.
You can only sync with one computer/iTunes library. If you sync with another iTunes library/computer the media from the iPod will be deleted and replaced with the media on the second computer.
If you want to change syncing computers then:
Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
I have never updated ios on my iPhone 4. I am currently running ios 4. I tried to update yesterday to ios 6 but many hours into the backup I got an error message saying that continuing would cause all of my phone contents to be lost. What should I do?
Why, if it told you you have insufficient space on your computer, would it suggest making more space available on your phone?
At a guess, you have insufficient space on your phone. Installing software will typically require more space than the final size of the software, perhaps even twice or three times as much, for the installation process. You can easily dump some videos or music temporarily, and then synch them back in afterwards. -
I have just downloaded IOS 7 and need the new iTunes 11.1 to be able to use my iPhone on iTunes but I need the new mac software update OXS 10.6.8, but my mac doesn't need or have an update what should I do! I'm upset :'(
If you are in recovery mode, your stuff is already gone. Restore the iPhone
using iTunes on the computer you usually sync with. Then restore the
backup of your iPhone, redownload your purchases as neede, and sync
your music from iTunes/iCloud, and your pictures & contacts from the
programs you sync them with.
Maybe you are looking for
-
3G iPhone, can't sync using .Mac (also can't upgrade to iTunes 7.7)
Just got a 3G iPhone (totally new user), was activated at the store. Have a working iPhone in terms of phone & web. However, I'm trying to get my .Mac acct (which has been automatically upgraded to Mobile me) to sync the 3G iPhone over my Powerbook G
-
Converting pdf to Word 2003 in Acrobat 9 Pro
I am using Acrobat 9 Pro. I want to convert pdfs to Word 2003. I have followed the instructions to export to Word, but when I get to the dialog box that selects the conversion method, I choose Flowing, which is recommended, and click OK, and I get
-
Connected to new Mac mini display doesn't work
Connected a new Mac mini to a 20in apple Cinema Display and display does not work
-
Hi All, I am trying to work with DBMS_JOB.SUBMIT and i am unable to move forward since i am not understanding where i am wrong. Please help me with my issue. I have a package as below CREATE OR REPLACE PACKAGE Pack.main AS PROCEDURE Proc1( V1_P1_in i
-
Join hint ignored - very bad query plan results
I'm trying to get a query that's being generated by SSAS to perform acceptably. Because this query is (at least partially) generated by SSAS, I don't have complete control over the query text. The problem - The query looks roughly like this: select -