[oe] vdr: minimal-uclibc: task `compile` fails with `undefined reference to `_nl_msg_cat_cntr'`

Paul Menzel paulepanter at users.sourceforge.net
Sun Jan 23 19:57:04 UTC 2011


Am Sonntag, den 23.01.2011, 17:08 +0100 schrieb Paul Menzel:
> Am Samstag, den 22.01.2011, 11:48 -0800 schrieb Khem Raj:
> > On Sat, Jan 22, 2011 at 10:23 AM, Paul Menzel wrote:
> > > The commit since when building fails is a88aca1d [6].
> > >
> > >        commit a88aca1d7dfa3a08957dd49cb61bac850f197106
> > >        Author: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
> > >        Date:   Wed Jan 12 20:34:55 2011 +0100
> > >
> > >            autotools.bbclass: pass distro_imposed_configure_flags
> > >
> > >            Acked-by: Khem Raj <raj.khem at gmail.com>
> > >            Acked-by: Tom Rini <tom_rini at mentor.com>
> > >            Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
> > >
> > > Any idea?
> > 
> > I see. I think its to do with enable-ipv6 or somesuch. Can you run
> > do_configure for vdr before and after this commit and port
> > the contents of line invoking configure.
> 
> Strange. VDR just uses a plain Makefile and no Autotools. Since this
> commit, it seems that `-lintl` is not passed.
> 
> ### works
> 
> 	arm-oe-linux-uclibceabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -rdynamic -Wl,-O1 -Wl,--hash-style=gnu audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.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 sourceparams.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  ./libsi/libsi.a -o vdr
> 
> ### fails
> 
> 	arm-oe-linux-uclibceabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -pipe -fpermissive -fvisibility-inlines-hidden -rdynamic -Wl,-O1 -Wl,--hash-style=gnu audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.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 sourceparams.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  ./libsi/libsi.a -o vdr
> 
> 	$ wdiff log.do_compile.*
> 	arm-oe-linux-uclibceabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os [--pipe-] -fpermissive -fvisibility-inlines-hidden -rdynamic -Wl,-O1 -Wl,--hash-style=gnu audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.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 sourceparams.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+}  ./libsi/libsi.a -o vdr
> 
> Now the question is why is the patch not applied [7] and why did it start breaking with this commit.

Ok, I am sorry, my last report was messed up. I did not reset to
a88aca1d but 49891de0 [8], where 7190532c [9]

        commit 7190532c5a810ef886e8607ce042a319020f06c6
        Author: Tom Rini <tom_rini at mentor.com>
        Date:   Tue Jan 18 17:58:02 2011 -0700
        
            vdr: Switch to libc-uclibc
            
            Signed-off-by: Tom Rini <tom_rini at mentor.com>

is applied, which seems to be the reason the patch is not applied and
therefore `-lintl` not added.

Comparing the options passed in 67d127a5 (builds) and a88aca1d (fails) I
cannot see any differences for VDR’s recipe.

So I assume, that I have to rebuild everything disabling some things in
`DISTRO_FEATURES`. I will start with leaving `nls` out.


Sorry and thanks,

Paul


> [7] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/vdr/vdr_1.7.16.bb?id=7190532c5a810ef886e8607ce042a319020f06c6#n8
[8] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/vdr/vdr_1.7.16.bb?id=49891de0b13c86c2fdcc5e0fdabd4faa867e83bc
[9] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/vdr/vdr_1.7.16.bb?id=7190532c5a810ef886e8607ce042a319020f06c6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110123/7715dd37/attachment-0002.sig>


More information about the Openembedded-devel mailing list