[Buildroot] cmake is not building anymore

Andy Shevchenko andriy.shevchenko at linux.intel.com
Wed Mar 15 17:23:33 UTC 2017


On Wed, 2017-03-15 at 13:05 -0300, Carlos Santos wrote:
> > From: "Andy Shevchenko" <andriy.shevchenko at linux.intel.com>
> > To: "Carlos Santos" <casantos at datacom.ind.br>
> > Cc: "buildroot" <buildroot at busybox.net>
> > Sent: Wednesday, March 15, 2017 12:10:57 PM
> > Subject: Re: [Buildroot] cmake is not building anymore
> > On Tue, 2017-03-14 at 22:02 -0300, Carlos Santos wrote:
> > $ git clean -xdf
> > # I suppose you agree this is more stronger than make clean
> > 
> > $ make defconfig
> > $ make
> > 
> > --- 8< --- 8< ---
> > 
> > [ 65%] Linking C static library libcmcurl.a
> > 
> > In file included from .../output/build/host-cmake-
> > 3.6.3/Utilities/cmlibarchive/libarchive/archive_write_set_format_zip
> > .c:5
> > 2:0:
> > .../output/build/host-cmake-
> > 3.6.3/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h:10
> > 7:17
> > : error: field ‘ctx’ has incomplete type
> >   EVP_CIPHER_CTX ctx;
> >                  ^~~
> > --- 8< --- 8< ---
> > 
> > 100% reproducible
> 
> If you use "make BR2_JLEVEL=1" the compilation will stop at the first
> error and it will be easier to identify the cause.

This is *first* error.

>  I guess you don't have the openssl-dev package installed on the host
> machine neither built host-openssl in buildroot, since EVP_CIPHER_CTX
> is defined in openssl/ossl_typ.h.

It is installed.

$ dpkg -l \*ssl-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-
aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                   Version          Architecture     Description
+++-======================-================-================-
==================================================
...
ii  libcurl4-openssl-dev:a 7.52.1-3         amd64            development 
files and documentation for libcurl (O
...
ii  libssl-dev:amd64       1.1.0e-1         amd64            Secure
Sockets Layer toolkit - development files

-- 
Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Intel Finland Oy



More information about the buildroot mailing list