[Sound-open-firmware] SOF build problem

Liam Girdwood liam.r.girdwood at linux.intel.com
Wed Jun 13 09:26:15 CEST 2018


On Tue, 2018-06-12 at 19:46 -0700, Ranjani Sridharan wrote:
> On Tue, 2018-06-12 at 18:22 -0500, Pierre-Louis Bossart wrote:
> > > checking build system type... x86_64-pc-linux-gnu
> > > checking host system type... x86_64-pc-linux-gnu
> > > ./configure: line 3340: syntax error near unexpected token
> > > `cmocka,'
> > > ./configure: line 3340: `			PKG_CHECK_EXISTS(c
> > > mock
> > > a,'
> > 
> > Very likely due to the unit tests based on cmocka...
> 
> I was missing pkg-config. Installing it fixed the problem. 
> 

Ok, we should probably do a check that cmocka is installed (prior to prefix
checking) and also a check for pkg-config using AC_CHECK_LIB()

https://www.gnu.org/software/autoconf/manual/autoconf-2.66/html_node/Libraries.h
tml

Janusz, can you add the dependency checks to configure.ac ?

Thanks

Liam



More information about the Sound-open-firmware mailing list