Chapter 6.38 Gettext-0.17 package

Ken Moffat ken at
Fri May 1 09:41:02 PDT 2009

On Fri, May 01, 2009 at 03:09:23AM +0000, jnbutler at wrote:
> Okay, I ran into another error while compiling the gettext-0.17
> package. Here is the last compile entry with the error:
> gcc -std=gnu99 -g -O2 -o .libs/xgettext xgettext-xgettext.o xgettext-x-c.o xgettext-x-po.o xgettext-x-sh.o xgettext-x-python.o xgettext-x-lisp.o xgettext-x-elisp.o xgettext-x-librep.o xgettext-x-scheme.o xgettext-x-smalltalk.o xgettext-x-java.o xgettext-x-csharp.o xgettext-x-awk.o xgettext-x-ycp.o xgettext-x-tcl.o xgettext-x-perl.o xgettext-x-php.o xgettext-x-rst.o xgettext-x-glade.o  ./.libs/ /sources/gettext-0.17/gettext-tools/gnulib-lib/.libs/ -L/usr/lib -lncurses -lc -ldl
> xgettext-x-c.o: In function `init_keywords':
> /sources/gettext-0.17/gettext-tools/src/x-c.c:166: undefined reference to `x_c_keywore'
> collect2: ld returned 1 exit status
> make[4]: *** [xgettext] Error 1
> make[4]: Leaving directory `/sources/gettext-0.17/gettext-tools/src'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/sources/gettext-0.17/gettext-tools/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/sources/gettext-0.17/gettext-tools'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/sources/gettext-0.17/gettext-tools'
> make: *** [all-recursive] Error 1
> root:/sources/gettext-0.17#
> I did not see anything about this in the archives.
> Thanks in advance for your help.
> James Butler 
 That should be a reference to x_c_keyword (with a 'd' not an 'e').
Single bit error on your disk or in your RAM ? ('d'=x0064,

 Alternatively, perhaps you typed all of the above and
mistranscribed it or miskeyed it ?  If the error really did mention
x_c_keyword I've no idea what went wrong.

 In either case, I'd be inclined to delete the gettext-0.17
directory and retry in case it was a one-off inexplicable error.

das eine Mal als Tragödie, das andere Mal als Farce

More information about the lfs-support mailing list