1. No user installed addons are supported, python or otherwise.
2. No, they really are not supported.
3. They are not coming back
4. Read from 1. again

Any mention of illegal streaming sites, addons or any pirated material will not be tolerated. This is not democracy and any offenders will be banned and posts deleted immediately without warning.

Other than that, we hope you enjoy MrMC so far and we welcome any input and feedback you might have.

Team MrMC.

Samba build issue for Android

Development talk only
KeyserSoze
Posts: 22
Joined: 13 Sep 2016, 17:37

Samba build issue for Android

Post by KeyserSoze »

I'm trying to get a working build chain but samba is throwing me fits. Something about LIBREPLACE needs type 'long long' during configure. I have the latest SDK/NDK and all the other dependencies seem to build fine. Any ideas?
User avatar
davilla
Team MrMC
Posts: 4377
Joined: 26 Oct 2015, 17:01

Re: Samba build issue for Android

Post by davilla »

cd into target/samba

make distclean
make

copy output and pastebin it so I can see what's going on.
KeyserSoze
Posts: 22
Joined: 13 Sep 2016, 17:37

Re: Samba build issue for Android

Post by KeyserSoze »

Thanks for the help.

http://pastebin.com/v5FE0h5P
User avatar
davilla
Team MrMC
Posts: 4377
Joined: 26 Oct 2015, 17:01

Re: Samba build issue for Android

Post by davilla »

KeyserSoze wrote:Thanks for the help.

http://pastebin.com/v5FE0h5P
First thing, android-21 is min. FireOS is SDK 22 but 21 will be fine, 17 is too old. I see you are actually running 22. This error typically comes from a missing '--with-sdk=android-21' in the depends configure line.

in source, config.log. let me see that.

start of mine for comparison -> http://pastebin.com/bW46sUBc
KeyserSoze
Posts: 22
Joined: 13 Sep 2016, 17:37

Re: Samba build issue for Android

Post by KeyserSoze »

Good catch. I missed the --with-sdk option on my configure. Looks like it defaults to 17? Building all the dependencies again now. Hopefully successfully.
KeyserSoze
Posts: 22
Joined: 13 Sep 2016, 17:37

Re: Samba build issue for Android

Post by KeyserSoze »

Switched everything to 21. Still same thing for samba.

This is where things seem to go wrong.
checking for ANSI C header files... no

Other dependencies do not report this. So something on my end is wrong with my compiler configuration? Not sure at this point but I'm open to suggestions. It's weird that only samba reports this.
User avatar
davilla
Team MrMC
Posts: 4377
Joined: 26 Oct 2015, 17:01

Re: Samba build issue for Android

Post by davilla »

KeyserSoze wrote:Switched everything to 21. Still same thing for samba.

This is where things seem to go wrong.
checking for ANSI C header files... no

Other dependencies do not report this. So something on my end is wrong with my compiler configuration? Not sure at this point but I'm open to suggestions. It's weird that only samba reports this.
pastebin it's config.log, that might tell me more.
User avatar
davilla
Team MrMC
Posts: 4377
Joined: 26 Oct 2015, 17:01

Re: Samba build issue for Android

Post by davilla »

This catches my eye;

mine:
checking for /home/davilla/android/toolchains/android-21/bin/arm-linux-androideabi-gcc option to accept ISO C89... none needed
checking for version of gcc... 4.9

yours:
checking for /home/jason/android-toolchain-arm/android-22/bin/arm-linux-androideabi-gcc option to accept ISO C89... unsupported
checking for version of gcc... 4.9.x

/home/jason/android-toolchain-arm/android-22/bin/arm-linux-androideabi-gcc --version

I would bump back to android-toolchain-arm/android-21 toolchain. Not sure but I think 22 is actually clang and not gcc. Koying has tried 22/23 and there might be changes needed to support it.
KeyserSoze
Posts: 22
Joined: 13 Sep 2016, 17:37

Re: Samba build issue for Android

Post by KeyserSoze »

http://pastebin.com/PNGwADed

error: conflicting types for 'off64_t' <<< looks to be an issue.

I am now using android-21. I am using a newer version of the NDK 12b in this case but that shouldn't matter I don't think. Anyways I tried NDK 11b with the same effect.
Last edited by KeyserSoze on 13 Sep 2016, 20:48, edited 1 time in total.
Post Reply