Dear list,

Am Dienstag, den 05.01.2010, 14:25 +0100 schrieb Paul Menzel:
> Am Dienstag, den 05.01.2010, 13:30 +0100 schrieb Paul Menzel:
> > Am Dienstag, den 05.01.2010, 10:51 +0100 schrieb Henning Heinold:
> > > seems I forgot the depency. Will check them in later. This happens when 
> > > one
> > > done build vom clean oetmp.
> > 
> > I merged your changes, did `bitbake -c clean vdr`, `bitbake vdr` and
> > still get the same errors as yesterday/this night. I also tried `bitbake
> > libintl` manually with no success.
> > 
> > Is there something messed up with my setup?
> 
> I tried to build another package with `virtual/libintl` in its `DEPENDS`
> and after updating the whois recipe to a newer version (see patch some
> minutes ago) `bitbake whois` succeeded.
> 
> Is written yesterday, I do not really know what I am doing and how to
> best approach to fix this problem. ;-)

thanks to you all. Please review and commit the attached patch.

Signed-off-by: Paul Menzel <paulepan...@users.sourceforge.net>

(Is this needed for patchwork to pick this patch up or does it also look
in the attachments?)


Thanks,

Paul
From 7056a4258eb9094528cf14137edbfe705438637d Mon Sep 17 00:00:00 2001
From: Paul Menzel <paulepan...@users.sourceforge.net>
Date: Thu, 7 Jan 2010 19:11:51 +0100
Subject: [PATCH 1/1] Remove `-lintl` from `LIBS`.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

`do_compile` failed with the following error [1].

	[…]
	arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -isystem/oe/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive -fvisibility-inlines-hidden -rdynamic audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.o dvbosd.o dvbplayer.o dvbspu.o dvbsubtitle.o eit.o eitscan.o epg.o filter.o font.o i18n.o interface.o keys.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o rcu.o receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o skinclassic.o skins.o skinsttng.o sources.o spu.o status.o svdrp.o themes.o thread.o timers.o tools.o transfer.o vdr.o videodir.o -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig -lintl -L/oe/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/oe/angstrom-dev/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu  ./libsi/libsi.a -o vdr
        /oe/angstrom-dev/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -lintl
        collect2: ld returned 1 exit status
        make: *** [vdr] Error 1
        FATAL: oe_runmake failed
	[…]

[…]
11:00 < PaulePanter> zecke: I will try to remove the `-lintl` from the call.
11:02 < zecke> PaulePanter: it works then. For uclibc and such we need -lintl but not for glibc (AFAIK)
[…]

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-January/015960.html

Signed-off-by: Paul Menzel <paulepan...@users.sourceforge.net>
---
 recipes/vdr/files/libintl.patch     |   13 -------------
 recipes/vdr/files/linkerflags.patch |    4 ++--
 recipes/vdr/vdr_1.7.10.bb           |    3 +--
 3 files changed, 3 insertions(+), 17 deletions(-)
 delete mode 100644 recipes/vdr/files/libintl.patch

diff --git a/recipes/vdr/files/libintl.patch b/recipes/vdr/files/libintl.patch
deleted file mode 100644
index 5354040..0000000
--- a/recipes/vdr/files/libintl.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: vdr-1.7.10/Makefile
-===================================================================
---- vdr-1.7.10.orig/Makefile	2010-01-03 17:37:34.481503866 +0100
-+++ vdr-1.7.10/Makefile	2010-01-03 17:37:46.708168016 +0100
-@@ -20,7 +20,7 @@
- MANDIR   = $(PREFIX)/share/man
- BINDIR   = $(PREFIX)/bin
- LOCDIR   = ./locale
--LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig
-+LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig -lintl
- INCLUDES = ${CFLAGS}
- 
- PLUGINDIR= ./PLUGINS
diff --git a/recipes/vdr/files/linkerflags.patch b/recipes/vdr/files/linkerflags.patch
index 6ae2fef..d400ac3 100644
--- a/recipes/vdr/files/linkerflags.patch
+++ b/recipes/vdr/files/linkerflags.patch
@@ -6,8 +6,8 @@ Index: vdr-1.7.10/Makefile
  MANDIR   = $(PREFIX)/share/man
  BINDIR   = $(PREFIX)/bin
  LOCDIR   = ./locale
--LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig -lintl
-+LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig -lintl ${LDFLAGS}
+-LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig
++LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig ${LDFLAGS}
  INCLUDES = ${CFLAGS}
  
  PLUGINDIR= ./PLUGINS
diff --git a/recipes/vdr/vdr_1.7.10.bb b/recipes/vdr/vdr_1.7.10.bb
index b4cc5ce..a4251f8 100644
--- a/recipes/vdr/vdr_1.7.10.bb
+++ b/recipes/vdr/vdr_1.7.10.bb
@@ -4,12 +4,11 @@ LICENSE = "GPLv2"
 HOMEPAGE = "http://www.tvdr.de";
 PR = "r1"
 
-DEPENDS = "fontconfig freetype gettext libcap jpeg virtual/libintl"
+DEPENDS = "fontconfig freetype gettext libcap jpeg"
 
 SRC_URI = "ftp://ftp.tvdr.de/vdr/Developer/${P}.tar.bz2 \
            file://fixpaths.patch;patch=1 \
            file://cplusplus.patch;patch=1 \
-           file://libintl.patch;patch=1 \
            file://disable_plugin.patch;patch=1 \
            file://linkerflags.patch;patch=1 \
           "
-- 
1.6.5.7

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to