[Bug 4720] New: gettext 0.17 fails to compile

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Sun Oct 12 16:17:33 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4720

           Summary: gettext 0.17 fails to compile
    Classification: Unclassified
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: milan.plzik at gmail.com


Gettext 0.17 fails to compile for me with:
| make[4]: Entering directory
`/home/plzik/proj/etas/oe/build/tmp/work/ppce300c3-linux-uclibc/gettext-0.17-r1/gettext-0.17/gettext-tools/src'
| /bin/sh ../powerpc-linux-uclibc-libtool --tag=CC   --mode=link ccache
powerpc-linux-uclibc-gcc -mcpu=e300c3 -std=gnu99 
-isystem/home/plzik/proj/etas/oe/build/tmp/staging/ppce300c3-linux-uclibc/usr/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
-L/home/plzik/proj/etas/oe/build/tmp/staging/ppce300c3-linux-uclibc/usr/lib
-Wl,-rpath-link,/home/plzik/proj/etas/oe/build/tmp/staging/ppce300c3-linux-uclibc/usr/lib
-Wl,-O1 -o msgcmp msgcmp-msgcmp.o libgettextsrc.la
| powerpc-linux-uclibc-libtool: link: ccache powerpc-linux-uclibc-gcc
-mcpu=e300c3 -std=gnu99
-isystem/home/plzik/proj/etas/oe/build/tmp/staging/ppce300c3-linux-uclibc/usr/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2
-Wl,-rpath-link
-Wl,/home/plzik/proj/etas/oe/build/tmp/staging/ppce300c3-linux-uclibc/usr/lib
-Wl,-O1 -o .libs/msgcmp msgcmp-msgcmp.o 
-L/home/plzik/proj/etas/oe/build/tmp/staging/ppce300c3-linux-uclibc/usr/lib
./.libs/libgettextsrc.so
/home/plzik/proj/etas/oe/build/tmp/work/ppce300c3-linux-uclibc/gettext-0.17-r1/gettext-0.17/gettext-tools/gnulib-lib/.libs/libgettextlib.so
/home/plzik/proj/etas/oe/build/tmp/work/ppce300c3-linux-uclibc/gettext-0.17-r1/gettext-0.17/gettext-tools/intl/.libs/libintl.so
/home/plzik/proj/etas/oe/build/tmp/staging/ppce300c3-linux-uclibc/usr/lib/libiconv.so
-lc
| msgcmp-msgcmp.o: In function `main':
| msgcmp.c:(.text+0x566): undefined reference to `error_print_progname'
| msgcmp.c:(.text+0x576): undefined reference to `error_print_progname'
| collect2: ld returned 1 exit status
| make[4]: *** [msgcmp] Error 1

Unfortunately, I was not able to find cause of this problem; it looked like
gettext-tools/gnulib-lib/error.c was not being compiled and linked, but it
looks like on host, msgcmp is compiled just fine and error.c is not being
compiled as well. Please try to reproduce -- I was doing quite clean OE build;
the only things adjusted are:

PREFERRED_VERSION_libtool-native ?= "2.2.4"
PREFERRED_VERSION_libtool-cross ?= "2.2.4"
PREFERRED_VERSION_automake-native ?= "1.10"
PREFERRED_VERSION_automake ?= "1.10"

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list