[lfs-dev] chapter 6 coreutils-8.28

Christoph Feikes cfeikes at gmx.net
Tue Oct 31 10:19:06 PDT 2017

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.


More information about the lfs-dev mailing list