Christoph Feikes wrote:
Could somebody please give me a clue why I have to
#define MBFILE_INLINE _GL_EXTERN_INLINE in src/{un,}expand.c before
#include <mbfile.h> when building coreutils-8.28 in chapter 6?

Without this, the build fails with
src/expand.o: In function `expand':
expand.c:(.text+0x432): undefined reference to `mbfile_multi_getc'
collect2: error: ld returned 1 exit status
In chapter 5 coreutils builds just fine without the additional definition.

Did you apply the patch?  That's where MBFILE_INLINE is defined.

From the patch:

Origin: Based on Fedora's i18n patches at
        http://pkgs.fedoraproject.org/cgit/rpms/coreutils.git/tree/

Description: Fixes i18n issues with various Coreutils programs

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to