Problem compiling master for imx6

  • Hi Folks

    Any one have an idea why I'm having the following problem (pretty please)?

    (I haven't a clue...)

    Thanks,

    Andy B.

  • Thanks for confirming I seem to have a problem (makes a change from me cracking up!)

    I'm building on a 32 bit virtual box, Windows host Linux client running Debian 8

    andy@test-01:~/LibreELEC.tv$ uname -a
    Linux test-01 3.16.0-4-686-pae #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) i686 GNU/Linux

    The build was fine for LibreELEC 8.0.0, I'll roll back and try it again...

    Anything else I can do to help?

    Andy B.

  • I just build master successfully. Not sure why it happens for you: because of Debian or because it is 32 bit system.
    And if some files are used from /usr/include path then build process should be terminated because of this. Wondering why didn't kick in in your case.
    Can you try to use 64 bit system?

    Update: Would be possible to give me ssh access to this machine?

    Edited once, last by vpeter (March 17, 2017 at 3:56 PM).

  • Many thanks for the quick reply...

    Unfortunately I don't have access to a 64 bit system to build on (awaiting a new power supply).

    I'll try it when I can and rattle this post again if I'm still having problems, but hopefully everything will be fine!

    Many thanks for your time...

    Andy B.

  • Curiouser and curiouser...

    So, I've rolled a new VM (this time Ubuntu Server based, but still 32 bit I'm afraid - still waiting for a new Flex ATX power supply)

    Weird thing is, checking out and building 8.0.0 works perfectly, checking out and building master fails...

    For some reason master does a "BUILD openssl (host)" which doesn't seem to be a requirement for 8.0.0.

    Failure is just the same as before:

    Further thoughts?

    Can arrange remote access if it helps!

    Andy B.

  • Poking about a bit more I found this in the o/p from building master:

    Code
    BUILD    openssl (host)
    Configuring for linux-x86_64
        no-ec2m         [option]   OPENSSL_NO_EC2M (skip dir)
        no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)
        no-gmp          [option]   OPENSSL_NO_GMP (skip dir)
        ......

    Still being moderately new to this I'm confused, why "Configuring for linux-x86_64" when I'm running "PROJECT=imx6 ARCH=arm make image"?

    If I was building for 64bit intel it would make sense, and it doesn't appear to be for the host machine as openssl is already installed (OpenSSL 1.0.2g 1 Mar 2016 - the Ubuntu 16.04.2 default?).

    Andy B.

  • When you are building package for host you will see linux-x86_64 because you are building on 64 bit system.
    When building for target you will see linux-armv4.
    This is all good ;)

  • The "BUILD openssl" fails repeatably every time when I try and build "master" (see attached) however checking out and building 8.0.0 is good, I'm actually using it live on 2 x Pi3 and a CuBoxi at the moment.

    Both systems are being built side by side on the same freshly rolled 32 bit host running Ubuntu 16.04.2, one works, one doesn't - make no sense...