wdonney / ios-static-libraries

Automatically exported from code.google.com/p/ios-static-libraries
0 stars 0 forks source link

iOS 5 #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Binaries for iOS 5?

Kind regards,
halkmund 

Original issue reported on code.google.com by halkm...@gmail.com on 25 Oct 2011 at 1:59

GoogleCodeExporter commented 9 years ago
Downloaded the source to build on 10.6.8, Xcode 4.2. Invoked build-all.sh with 
no parameters. The build picks 5.0 as SDK version.

To build the simulator, I had to make a change to libetpan.sh: there are two mv 
commands that point to a "build" directory. In Xcode 4.2 this directory is 
named "Applications". A rename in the mv commands fix the build.

To build the iPhone versions: configure does not find cpp in the iPhoneOS bin 
folder. I just copied it from the simulator bin folder into the iPhoneOS bin 
folder. This seems to work.

But then it fails on gnupg:

error: invalid operand in inline asm: '@ Inlined umul_ppmm
umull ${1:r}, ${0:r}, ${2:r}, ${3:r}'
{standard input}:0:End-of-File not at end of a line
{standard input}:303:End-of-File not at end of a line
{standard input}:unknown:Partial line at end of file ignored
{standard input}:98:non-relocatable subtraction expression, 
"L___clz_tab$non_lazy_ptr" minus "LPC0_0"
{standard input}:98:symbol: "L___clz_tab$non_lazy_ptr" can't be undefined in a 
subtraction expression
{standard input}:97:non-relocatable subtraction expression, 
"L___clz_tab$non_lazy_ptr" minus "LPC0_0"
{standard input}:97:symbol: "L___clz_tab$non_lazy_ptr" can't be undefined in a 
subtraction expression
{standard input}:unknown:Undefined local symbol LBB0_106
{standard input}:unknown:Undefined local symbol LBB0_61
{standard input}:unknown:Undefined local symbol L___clz_tab$non_lazy_ptr
{standard input}:unknown:Undefined local symbol LBB0_38
{standard input}:unknown:Undefined local symbol LBB0_31
make[2]: *** [mpih-div.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help would be appreciated,
Best regards,
halkmund

Original comment by halkm...@gmail.com on 25 Oct 2011 at 9:08

GoogleCodeExporter commented 9 years ago
Hi,

Is there any way to install libCurl for iOS 5.0 SDK (xcode 4.2) on mac 10.6.8 
platform ?
When I execute scripts, I am getting following error.

checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable c-ares for DNS lookups... no
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking curl version... 7.21.3
checking build system type... i386-apple-darwin10.8.0
checking host system type... i386-apple-darwin10.8.0
checking for style of include used by make... GNU
checking for gcc... 
Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2
checking whether the C compiler works... no
configure: error: in `/Users/shpatel/Desktop/dir/curl-7.21.3':
configure: error: C compiler cannot create executables
See `config.log' for more details

Original comment by biomedic...@gmail.com on 2 Nov 2011 at 7:15

GoogleCodeExporter commented 9 years ago
I have tried to compile the libraries for iOS 5 SDK, with the same result as 
halkm...@gmail.com. I wish to use the openssh library.

Will there be support for iOS 5 or is the project dead?

My solution now is to find a 4.3 SDK somewhere. Anyone have a suggestion for 
that?

Original comment by fred...@kondensator.se on 22 Dec 2011 at 6:23

GoogleCodeExporter commented 9 years ago
@fred kondensator

If you got as far as me, you should be able to use openSSL. Depends a bit on 
which libraries you really need. Check out the build results. I managed to use 
openSSL for my project with the build results from this crashed build. 

Good luck with it!

Cheers,
Halkmund.

Original comment by halkm...@gmail.com on 27 Dec 2011 at 2:37

GoogleCodeExporter commented 9 years ago
I needed libssh2 with libssl, I did locate iOS SDK 4.3. Finally I got 
https://github.com/x2on/libssh2-for-iOS working. But I changed CC, CPP and 
CXXCPP in each script.

    export CC=${DEVROOT}/usr/bin/llvm-gcc-4.2
    export CPP=${DEVROOT}/usr/bin/llvm-cpp-4.2
    export CXXCPP=$DEVROOT/usr/bin/llvm-cpp-4.2

Original comment by fred...@kondensator.se on 27 Dec 2011 at 2:52

GoogleCodeExporter commented 9 years ago
Use patch here: http://www.telesphoreo.org/browser/trunk/data/gcrypt/armasm.diff

Reason Reference:
http://comments.gmane.org/gmane.comp.encryption.gpg.libgcrypt.devel/1775

Original comment by linusyan...@gmail.com on 17 Feb 2012 at 7:53

Attachments: