From patchwork Thu Mar 12 01:49:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 449275 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 81C0C140146 for ; Thu, 12 Mar 2015 12:49:56 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=w+PFdbGy; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1345792068; Thu, 12 Mar 2015 01:49:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5bbsmUnQKEae; Thu, 12 Mar 2015 01:49:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id BCCAC92080; Thu, 12 Mar 2015 01:49:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id CEEE61BF9D3 for ; Thu, 12 Mar 2015 01:49:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CACBF9558C for ; Thu, 12 Mar 2015 01:49:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WZI2beeN8Iwe for ; Thu, 12 Mar 2015 01:49:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by hemlock.osuosl.org (Postfix) with ESMTPS id 6292C95588 for ; Thu, 12 Mar 2015 01:49:50 +0000 (UTC) Received: by mail-vc0-f177.google.com with SMTP id id10so4399660vcb.8 for ; Wed, 11 Mar 2015 18:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=H4BIecDtLRZeq6K3ZYiG1kJkGQALPLx9PRdDwAsv6w4=; b=w+PFdbGyLRzF7q+cUROFrHB106lasaeaI1Qb9YZin1i9qPspVe7CGPF+6e2eGcWJcR vdNC5BlkK7YqUzuDEwaQgSOuNmdQAnmj7d8lz+RtkyAKFAEe1B7OE/ZxhV22KN8rOvF4 uyiqVzP0oEXrCkvfBIDeU/vN+N5SvLac2mxU6w38mZqcWja646sD5BC32lC6t2AOmjO7 +cXcCgIcqCBFw2esCYiK9DgfRRWC/nnDJfgDbkQLp9xqvsXrnZBkR5NF4d+WtIxzrmkU rr9nYOagjDgy/SUbRLpV7NKZ6RBxfQcVAnR/1XG3pOwTWbMsveiacU8S2YSt4twjLdSX D64w== MIME-Version: 1.0 X-Received: by 10.52.157.193 with SMTP id wo1mr45910861vdb.61.1426124988947; Wed, 11 Mar 2015 18:49:48 -0700 (PDT) Received: by 10.52.72.131 with HTTP; Wed, 11 Mar 2015 18:49:48 -0700 (PDT) Date: Wed, 11 Mar 2015 22:49:48 -0300 Message-ID: From: "Carlos A. M. dos Santos" To: buildroot@buildroot.net Subject: [Buildroot] kodi: build errors X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Hello, I'm facing some errors trying to build kodi using the buildroot (commit a4788aa6157d1496cdd32cb9802710d4e97bc550) The first problem is that kodi requires "libjpeg" to build, not "jpeg". I solved the problem applying the following patch: libxslt lzo ncurses \ openssl pcre python readline sqlite taglib tiff tinyxml yajl zlib (sorry, the copy/paste converted tabs to spaces) The error in build/kodi-14.1-Helix/config.log is configure:26554: checking for main in -lSDL_image configure:26573: /work/br-master-glibc/host/usr/bin/i686-buildroot-linux-gnu-gcc -o conftest -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG=1 -D_LARGEFILE_SOURCE -D /work/br-master-glibc/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib/libtag.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20' collect2: error: ld returned 1 exit status Have anybody seen this before? Thanks --- Carlos Santos diff --git a/package/kodi/Config.in b/package/kodi/Config.in index 1bc8b15..f6e95e2 100644 --- a/package/kodi/Config.in +++ b/package/kodi/Config.in @@ -42,7 +42,7 @@ menuconfig BR2_PACKAGE_KODI select BR2_PACKAGE_FONTCONFIG select BR2_PACKAGE_FREETYPE select BR2_PACKAGE_JASPER - select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBJPEG select BR2_PACKAGE_LIBASS select BR2_PACKAGE_LIBCDIO select BR2_PACKAGE_LIBCURL diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk index f40fc31..fd6fbfe 100644 --- a/package/kodi/kodi.mk +++ b/package/kodi/kodi.mk @@ -16,7 +16,7 @@ KODI_INSTALL_STAGING = YES # http://wiki.xbmc.org/index.php?title=TexturePacker KODI_DEPENDENCIES = host-gawk host-gettext host-gperf host-infozip host-lzo \ host-nasm host-sdl_image host-swig -KODI_DEPENDENCIES += boost bzip2 expat ffmpeg fontconfig freetype jasper jpeg \ +KODI_DEPENDENCIES += boost bzip2 expat ffmpeg fontconfig freetype jasper libjpeg \ libass libcdio libcurl libfribidi libgcrypt libmad libmodplug libmpeg2 \ libogg libplist libpng libsamplerate libungif libvorbis libxml2