Compileproblems with fileutils-4.0
gerard at linuxfromscratch.org
Thu Jan 11 05:59:02 PST 2001
On January 11, 2001 09:44 am, root wrote:
> Im trying to compile fileutils static as described in the LFS book, however
> it doesnt work.
> This is what i get at the end of the build procedure:
> dircolors.c:40:15: not enough arguments for macro "strndup"
> make: *** [dircolors.o] Error 1
> make: Leaving directory `/mnt/junx/usr/src/fileutils-4.0/src'
> make: *** [all-recursive] Error 1
> make: Leaving directory `/mnt/junx/usr/src/fileutils-4.0'
> make: *** [all-recursive-am] Error 2
> I am using RedHat 7 to compile fileutils. What am i doing wrong?
Download the patch from download.linuxfromscratch.org/glibc-2.2-patches
patch -Np1 -i /path/to/fileutils-4.0-glibc-2.2.patch
Continue compilation, thing should work now.
In your situation also apply the gcc patch later on (the patch is found in
the same directory as the fileutils patch):
patch -Np1 -i /path/to/gcc-2.95.2-glibc-2.2.patch
-*- If Linux doesn't have the solution, you have the wrong problem -*-
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message
More information about the lfs-dev