[Sound-open-firmware] SOF build problem
Hi All,
I've got some errors while building SOF (master). Is anyone else having the same issue?
Thanks, Ranjani
ranjani@ranjani-desktop:~/reef/sound-open-firmware$ ./scripts/xtensa- build-all.sh apl libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:139: error: possibly undefined macro: AC_MSG_WARN If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:309: installing './compile' configure.ac:6: installing './missing' rimage/Makefile.am: installing './depcomp' test/cmocka/Makefile.am:19: warning: 'CFLAGS' is a user variable, you should not override it; test/cmocka/Makefile.am:19: use 'AM_CFLAGS' instead test/cmocka/Makefile.am:20: warning: 'LDFLAGS' is a user variable, you should not override it; test/cmocka/Makefile.am:20: use 'AM_LDFLAGS' instead checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes 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(cmock a,'
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(cmock a,'
Very likely due to the unit tests based on cmocka...
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.
Sound-open-firmware mailing list Sound-open-firmware@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware
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/Librari... tml
Janusz, can you add the dependency checks to configure.ac ?
Thanks
Liam
participants (3)
-
Liam Girdwood
-
Pierre-Louis Bossart
-
Ranjani Sridharan