From: Bernd Kuhls <bernd.kuhls@t-online.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] libcodec2: Update to version 0.6. Change to cmake-package
Date: Wed, 05 Jul 2017 19:03:35 +0200 [thread overview]
Message-ID: <7oiv2exvqt.ln2@ID-313208.user.individual.net> (raw)
In-Reply-To: 20170705114236.14906-1-olivier.schonken@gmail.com
Am Wed, 05 Jul 2017 13:42:36 +0200 schrieb Olivier Schonken:
> The 0.6 version of libcodec2 switched buildsystem from autotools to
cmake.
Hi Olivier,
the only buildroot package using libcodec2 is freeswitch so I tested with
this defconfig:
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_LIBCODEC2=y
BR2_PACKAGE_FREESWITCH=y
Building freeswitch fails with your libcodec2 bump:
making all mod_codec2
make[4]: Entering directory '/home/bernd/buildroot/br7_freeswitch/output/
build/freeswitch-1.6.18/src/mod/codecs/mod_codec2'
CCLD mod_codec2.la
/home/bernd/buildroot/br7_freeswitch/output/build/freeswitch-1.6.18/
libtool: line 4991: cd: lib: No such file or directory
libtool: link: cannot determine absolute directory name of `lib'
Makefile:537: recipe for target 'mod_codec2.la' failed
The reason for this build error can be found in $(STAGING_DIR)/usr/lib/
pkgconfig/codec2.pc, line 2:
libdir=lib
Changing this line to
libdir=/lib
fixes the freeswitch build error. Unfortunately I do not know enough
about cmake to fix the generation of codec2.pc myself.
Regards, Bernd
next prev parent reply other threads:[~2017-07-05 17:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-05 11:42 [Buildroot] [PATCH 1/1] libcodec2: Update to version 0.6. Change to cmake-package Olivier Schonken
2017-07-05 17:03 ` Bernd Kuhls [this message]
2017-07-31 20:37 ` Thomas Petazzoni
2017-07-31 20:38 ` Olivier Schonken
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7oiv2exvqt.ln2@ID-313208.user.individual.net \
--to=bernd.kuhls@t-online.de \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.