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

Paul Menzel paulepanter at users.sourceforge.net
Fri Jan 21 11:22:52 UTC 2011


Dear OE folks,


task `compile` of `vdr_1.7.16` fails with the following error messages.

        ar ru libsi.a util.o si.o section.o descriptor.o
        ar: creating libsi.a
        make[1]: Leaving directory `/home/paul/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/vdr-1.7.16-r1/vdr-1.7.16/libsi'
        arm-oe-linux-uclibceabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/home/paul/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
        tools.o: In function `TouchFile(char const*)':
        tools.c:(.text+0xb54): warning: the use of OBSOLESCENT `utime' is discouraged, use `utimes'
        i18n.o: In function `SetEnvLanguage(char const*)':
        i18n.c:(.text+0xb0): undefined reference to `_nl_msg_cat_cntr'
        i18n.o: In function `I18nRegister(char const*)':
        i18n.c:(.text+0xd4): undefined reference to `bindtextdomain'
        i18n.o: In function `I18nTranslate(char const*, char const*)':
        i18n.c:(.text+0x1c0): undefined reference to `dgettext'
        i18n.c:(.text+0x1c8): undefined reference to `gettext'
        i18n.o: In function `I18nInitialize(char const*)':
        i18n.c:(.text+0x550): undefined reference to `textdomain'
        i18n.c:(.text+0x55c): undefined reference to `bindtextdomain'
        i18n.c:(.text+0x600): undefined reference to `gettext'
        i18n.c:(.text+0x684): undefined reference to `gettext'
        collect2: ld returned 1 exit status
        make: *** [vdr] Error 1
        FATAL: oe_runmake failed
        ERROR: Function do_compile failed

`bitbake -k vdr` was executed with 6db34075 (uClibc 0.9.32-rc2) [1] and
`minimal-uclibc` for `MACHINE = "beagleboard"`. I guess it is related to
the uClibc upgrade.

Using `angstrom-2008.1` or `minimal` the recipe builds fine.


Thanks,

Paul


PS: Another off topic question. Is there a guideline how to deal with

        warning: the use of OBSOLESCENT `utime' is discouraged, use `utimes'

since I found it a lot on the WWW and [3] says `utime` should be used
over `utimes`. Or this this also related to the build error as well? I
do not see it using EGLIBC.


[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=6db340758e2c6674d06fec02b0c34fc1689153aa
[2] https://dev.openwrt.org/changeset/24899
[3] http://www.t2-project.org/irclogs/t2-2005-01-25.html (»utime() replaces utimes()«)
-------------- 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/20110121/ae7dd8d0/attachment-0002.sig>


More information about the Openembedded-devel mailing list