Coder Social home page Coder Social logo

ios-static-libraries's People

Contributors

cnnbboy avatar genkii avatar

Watchers

 avatar

ios-static-libraries's Issues

Error building cURL for armv7 architecture

I'm trying to build cURL from sources for the device (armv7). Here's what I do:

./build-all.sh (builds using the default SDK 5.1 installed on my device)

However, make fails with following error:

netrc.c: In function 'Curl_parsenetrc':
netrc.c:90: warning: assignment makes pointer from integer without a cast
netrc.c:95: error: dereferencing pointer to incomplete type
make[2]: *** [libcurl_la-netrc.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Also, I see errors in config.log like:

configure:5254: 
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
/usr/bin/gcc -c -arch armv7 -pipe -no-cpp-precomp -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
/SDKs/iPhoneOS5.1.sdk -I/SDKs/ios-static-libraries/iPhoneOS-V7-6.0/include  
conftest.c >&5
conftest.c: In function 'main':
conftest.c:60: error: size of array 'test_array' is negative
configure:5254: $? = 1
configure: failed program was:
| /* confdefs.h */
...
int main (void)
{
 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)];
 test_array [0] = 0
  return 0;
}

By the way, this builds and works fine for i386 architecture, i.e., on the iOS 
simulator.
What can I do to get it to build for the iPhone (armv7)?

Original issue reported on code.google.com by [email protected] on 28 Jun 2012 at 11:05

configure: error: couldn't find libraries for gethostbyname()

after cloning the project, i run:

./build-all.sh iphoneos6.0

this is the output i get:


 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  619k  100  619k    0     0  29762      0  0:00:21  0:00:21 --:--:-- 29858
x c-ares-1.7.3/
x c-ares-1.7.3/config.guess
x c-ares-1.7.3/ares_expand_name.pdf
x c-ares-1.7.3/ares_dns.h
x c-ares-1.7.3/ares__timeval.c
x c-ares-1.7.3/ares_gethostbyname_file.pdf
x c-ares-1.7.3/ares_parse_txt_reply.3
x c-ares-1.7.3/ares_library_init.c
x c-ares-1.7.3/ares_parse_txt_reply.pdf
x c-ares-1.7.3/mkinstalldirs
x c-ares-1.7.3/ares_gethostbyname.pdf
x c-ares-1.7.3/Makefile.am
x c-ares-1.7.3/bitncmp.c
x c-ares-1.7.3/cares.rc
x c-ares-1.7.3/Makefile.m32
x c-ares-1.7.3/adig.c
x c-ares-1.7.3/ares_options.c
x c-ares-1.7.3/config.sub
x c-ares-1.7.3/AUTHORS
x c-ares-1.7.3/ares_strdup.h
x c-ares-1.7.3/vc/
x c-ares-1.7.3/vc/ahost/
x c-ares-1.7.3/vc/ahost/vc6ahost.dsp
x c-ares-1.7.3/vc/adig/
x c-ares-1.7.3/vc/adig/vc6adig.dsp
x c-ares-1.7.3/vc/acountry/
x c-ares-1.7.3/vc/acountry/vc6acountry.dsp
x c-ares-1.7.3/vc/vc6aws.dsw
x c-ares-1.7.3/vc/cares/
x c-ares-1.7.3/vc/cares/vc6cares.dsw
x c-ares-1.7.3/vc/cares/vc6cares.dsp
x c-ares-1.7.3/ares_getnameinfo.3
x c-ares-1.7.3/configure.ac
x c-ares-1.7.3/ares_library_init.h
x c-ares-1.7.3/ares_build.h.in
x c-ares-1.7.3/ares_free_string.c
x c-ares-1.7.3/missing
x c-ares-1.7.3/ares_gethostbyaddr.pdf
x c-ares-1.7.3/get_ver.awk
x c-ares-1.7.3/nameser.h
x c-ares-1.7.3/ares_getopt.h
x c-ares-1.7.3/ares_gethostbyname.3
x c-ares-1.7.3/ares_free_string.pdf
x c-ares-1.7.3/ares_free_string.3
x c-ares-1.7.3/ares_strcasecmp.h
x c-ares-1.7.3/ares_version.3
x c-ares-1.7.3/README
x c-ares-1.7.3/ares_setup.h
x c-ares-1.7.3/ares_cancel.3
x c-ares-1.7.3/ares_process.c
x c-ares-1.7.3/windows_port.c
x c-ares-1.7.3/ares_parse_srv_reply.c
x c-ares-1.7.3/ares_init.c
x c-ares-1.7.3/bitncmp.h
x c-ares-1.7.3/ahost.c
x c-ares-1.7.3/ares_destroy_options.3
x c-ares-1.7.3/ares_process.pdf
x c-ares-1.7.3/ares_build.h
x c-ares-1.7.3/ares_parse_mx_reply.3
x c-ares-1.7.3/README.cares
x c-ares-1.7.3/Makefile.msvc
x c-ares-1.7.3/ares_parse_ns_reply.c
x c-ares-1.7.3/config-win32.h
x c-ares-1.7.3/aclocal.m4
x c-ares-1.7.3/acountry.c
x c-ares-1.7.3/ares_cancel.c
x c-ares-1.7.3/ares__read_line.c
x c-ares-1.7.3/ares_library_cleanup.pdf
x c-ares-1.7.3/ares_parse_a_reply.pdf
x c-ares-1.7.3/ares_destroy.c
x c-ares-1.7.3/ares.h
x c-ares-1.7.3/ares_parse_ptr_reply.3
x c-ares-1.7.3/Makefile.dj
x c-ares-1.7.3/configure
x c-ares-1.7.3/ares_parse_mx_reply.pdf
x c-ares-1.7.3/ares_parse_srv_reply.pdf
x c-ares-1.7.3/ares_config.h.in
x c-ares-1.7.3/ares_parse_mx_reply.c
x c-ares-1.7.3/ares_query.pdf
x c-ares-1.7.3/ares_send.pdf
x c-ares-1.7.3/CHANGES
x c-ares-1.7.3/ares_get_servers.3
x c-ares-1.7.3/inet_ntop.c
x c-ares-1.7.3/README.msvc
x c-ares-1.7.3/ares_free_data.3
x c-ares-1.7.3/RELEASE-NOTES
x c-ares-1.7.3/ares_process.3
x c-ares-1.7.3/ares_init_options.pdf
x c-ares-1.7.3/ares_library_init.pdf
x c-ares-1.7.3/ares_expand_name.3
x c-ares-1.7.3/ares_llist.h
x c-ares-1.7.3/ares_query.c
x c-ares-1.7.3/ares_parse_a_reply.c
x c-ares-1.7.3/ares_gethostbyaddr.3
x c-ares-1.7.3/ltmain.sh
x c-ares-1.7.3/ares_mkquery.3
x c-ares-1.7.3/ares_parse_ptr_reply.pdf
x c-ares-1.7.3/ares_private.h
x c-ares-1.7.3/maketgz
x c-ares-1.7.3/ares_dup.pdf
x c-ares-1.7.3/ares_nowarn.h
x c-ares-1.7.3/ares_fds.3
x c-ares-1.7.3/ares_strerror.c
x c-ares-1.7.3/ares_parse_srv_reply.3
x c-ares-1.7.3/ares_free_hostent.c
x c-ares-1.7.3/ares_get_servers.pdf
x c-ares-1.7.3/ares_send.c
x c-ares-1.7.3/ares_parse_ns_reply.3
x c-ares-1.7.3/ares_destroy.pdf
x c-ares-1.7.3/ares_data.h
x c-ares-1.7.3/ares_timeout.pdf
x c-ares-1.7.3/ares_timeout.c
x c-ares-1.7.3/ares_search.pdf
x c-ares-1.7.3/Makefile.netware
x c-ares-1.7.3/ares_mkquery.pdf
x c-ares-1.7.3/ares_timeout.3
x c-ares-1.7.3/ares_free_hostent.3
x c-ares-1.7.3/setup_once.h
x c-ares-1.7.3/ares_gethostbyaddr.c
x c-ares-1.7.3/ares_expand_string.3
x c-ares-1.7.3/inet_net_pton.h
x c-ares-1.7.3/ares_writev.c
x c-ares-1.7.3/ares_mkquery.c
x c-ares-1.7.3/ares_parse_txt_reply.c
x c-ares-1.7.3/install-sh
x c-ares-1.7.3/ares_ipv6.h
x c-ares-1.7.3/ares_search.c
x c-ares-1.7.3/ares_parse_aaaa_reply.3
x c-ares-1.7.3/ares_getopt.c
x c-ares-1.7.3/ares_destroy_options.pdf
x c-ares-1.7.3/ares_parse_aaaa_reply.pdf
x c-ares-1.7.3/ares_save_options.3
x c-ares-1.7.3/inet_net_pton.c
x c-ares-1.7.3/Makefile.inc
x c-ares-1.7.3/ares_expand_string.pdf
x c-ares-1.7.3/ares_writev.h
x c-ares-1.7.3/ares_rules.h
x c-ares-1.7.3/inet_ntop.h
x c-ares-1.7.3/ares_library_cleanup.3
x c-ares-1.7.3/ares_init.pdf
x c-ares-1.7.3/ares_nowarn.c
x c-ares-1.7.3/ares_version.pdf
x c-ares-1.7.3/ares_library_init.3
x c-ares-1.7.3/ares_parse_a_reply.3
x c-ares-1.7.3/NEWS
x c-ares-1.7.3/ares_parse_ptr_reply.c
x c-ares-1.7.3/ares_strerror.pdf
x c-ares-1.7.3/depcomp
x c-ares-1.7.3/ares_expand_name.c
x c-ares-1.7.3/ares_version.h
x c-ares-1.7.3/ares_send.3
x c-ares-1.7.3/ares_version.c
x c-ares-1.7.3/ares_destroy.3
x c-ares-1.7.3/ares_free_data.pdf
x c-ares-1.7.3/ares_free_hostent.pdf
x c-ares-1.7.3/ares__get_hostent.c
x c-ares-1.7.3/ares_parse_aaaa_reply.c
x c-ares-1.7.3/ares_fds.c
x c-ares-1.7.3/ares_init_options.3
x c-ares-1.7.3/ares_strdup.c
x c-ares-1.7.3/ares_gethostbyname_file.3
x c-ares-1.7.3/ares_data.c
x c-ares-1.7.3/ares_set_socket_callback.pdf
x c-ares-1.7.3/compile
x c-ares-1.7.3/ares_set_servers.pdf
x c-ares-1.7.3/ares_getnameinfo.pdf
x c-ares-1.7.3/ares_parse_ns_reply.pdf
x c-ares-1.7.3/ares_expand_string.c
x c-ares-1.7.3/ares_getsock.c
x c-ares-1.7.3/acinclude.m4
x c-ares-1.7.3/TODO
x c-ares-1.7.3/ares_query.3
x c-ares-1.7.3/m4/
x c-ares-1.7.3/m4/libtool.m4
x c-ares-1.7.3/m4/cares-compilers.m4
x c-ares-1.7.3/m4/cares-functions.m4
x c-ares-1.7.3/m4/ltoptions.m4
x c-ares-1.7.3/m4/cares-override.m4
x c-ares-1.7.3/m4/lt~obsolete.m4
x c-ares-1.7.3/m4/ltversion.m4
x c-ares-1.7.3/m4/cares-confopts.m4
x c-ares-1.7.3/m4/cares-system.m4
x c-ares-1.7.3/m4/ltsugar.m4
x c-ares-1.7.3/m4/cares-reentrant.m4
x c-ares-1.7.3/ares__close_sockets.c
x c-ares-1.7.3/libcares.pc.in
x c-ares-1.7.3/ares_save_options.pdf
x c-ares-1.7.3/Makefile.in
x c-ares-1.7.3/ares_set_servers.3
x c-ares-1.7.3/ares_dup.3
x c-ares-1.7.3/ares_getnameinfo.c
x c-ares-1.7.3/ares_cancel.pdf
x c-ares-1.7.3/ares_fds.pdf
x c-ares-1.7.3/ares_strcasecmp.c
x c-ares-1.7.3/buildconf
x c-ares-1.7.3/ares_search.3
x c-ares-1.7.3/ares_gethostbyname.c
x c-ares-1.7.3/ares_init.3
x c-ares-1.7.3/ares_strerror.3
x c-ares-1.7.3/ares_getsock.3
x c-ares-1.7.3/ares_set_socket_callback.3
x c-ares-1.7.3/ares_llist.c
x c-ares-1.7.3/ares_getsock.pdf
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: WARNING: using cross tools not prefixed with host triplet
configure: error: couldn't find libraries for gethostbyname()

I'm using osx 10.8.2

Original issue reported on code.google.com by [email protected] on 27 Feb 2013 at 6:40

tar: Unrecognized archive format:

What steps will reproduce the problem?
1. Ran the build-all.sh

What is the expected output? What do you see instead?
I expected the script to execute but instead I received the following error:

tar: Unrecognized archive format: Inappropriate file type or format
tar: Error exit delayed from previous errors.


What version of the product are you using? On what operating system?
I am using the most recent version on mac os x 10.6.8.

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 5 Jan 2012 at 2:59

Include binaries for armv7s arquitecture

What steps will reproduce the problem?
The new devices now use the armv7s arquitecture and the Xcode beta is already 
supporting it.

What is the expected output? What do you see instead?
Having the binaries for armv7s. :-)

What version of the product are you using? On what operating system?
XCode 4.5 on OSX 10.8.1

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 14 Sep 2012 at 2:14

userauth mode publickey failed

Hi,

   First of all i want to tell thank you for providing iosstatic lib for libssh...
   I can use this lib for connecting to ssh server using password auth but if i want to use publickey auth then how can i use this lib can you provide me the objective c code which will create ssh connection will ssh server using public key auth.
   I can connect to ssh server through my mac terminal using following syntax.. but i didn't find anything how to implement this in iphone...
   the syntax how i m connecting through mac terminal
   ssh -i (privatekeyfilepath) username@hostIpAddress...
   Pls mail me if you found any solution
   and sample code of that would be very much appriciated..

   My mail address is [email protected]



                                          Thank you 
                                         Gaurang jogi


Original issue reported on code.google.com by [email protected] on 10 Dec 2010 at 11:42

new version

Please, 

Could you build the binary libraries of libetpan with the last version in 
(https://github.com/dinhviethoa/libetpan)

Thanks,

regards

Original issue reported on code.google.com by [email protected] on 4 Mar 2013 at 10:16

iOS 5

Binaries for iOS 5?

Kind regards,
halkmund 

Original issue reported on code.google.com by [email protected] on 25 Oct 2011 at 1:59

Getting Error code 79

Hi There,

We are getting error code 79 while trying to upload file on server. Error code 
79 is related to SSH, but we do not know its cause. Even we are able to 
download a file from the same path using same curl library.


* Upload failed: Operation failed (4/-31)
* Error
res------79
curl_easy_perform() failed: Error


Please reply ASAP.

Thanks.

Original issue reported on code.google.com by [email protected] on 9 Nov 2012 at 11:12

cUrl without ssl?

libCurl is build without ssl support.
You can check it like this:

    curl_version_info_data *vinfo = curl_version_info( CURLVERSION_NOW );
    if( vinfo->features & CURL_VERSION_SSL )
    {
        NSLog("LIBCURL: SSL Support Enabled\n");
    }

Original issue reported on code.google.com by [email protected] on 20 Sep 2011 at 12:52

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.