iPad libsmbclient app

Jeremy Allison jra at samba.org
Wed Mar 30 17:40:59 MDT 2011


On Wed, Mar 30, 2011 at 06:02:01PM -0300, Artur Sampaio wrote:
> Hi, Ben,
> 
> I'm trying to compile libsmbclient.a to use it in my iPhone project. Everytime i get a different compiling error, but never a working libsmbclient.a (I know, i'm a noob)
> 
> could you please help me? This is the script i've been using (on
> samba-3.5.7, using ./configure on source3 subdir):
> 
> ######################
> 
> export CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1
> export CFLAGS="-isysroot
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk"
> export LDFLAGS="-isysroot
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
> -Wl,-syslibroot
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk"
> export CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp
> 
> ./configure --host=arm-apple-darwin samba_cv_CC_NEGATIVE_ENUM_VALUES=yes
> 
> ######################
> 
> The build is crashing during make (most of the time, depending on how i set the flags on ./configure) with  many libs missing. I'm new to using autoconf/make, so i haven't had success in building the lib.

You'll need to post more of the output from your build in order to
get help. There's not enough information here to see what is going
wrong.

> I'm sorry i'm wasting your time on this but it's really important that
> I have libsmbclient.a . I've been working for 3 days almost non-stop
> without success.
> 
> If you have pointers on script change or could spare a compiled
> library you would really save me. I'd owe you a big favor forever.

Is the license available for iPhone apps compatible with
GPLv3 ? I thought the Apple AppStore had terms which prohibit
use of applications under GPLv3 (which is the license that
covers libsmbclient). A port of VLC had to be removed for
just this reason.

What are you planning to do with your libsmbclient port once
you've built it ?

Jeremy.


More information about the samba-technical mailing list