Compileproblems with fileutils-4.0
root at localhost.localdomain
Thu Jan 11 09:28:18 PST 2001
I tried to install the patch as described below, however it didnt work. This
is all i get:
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|--- dircolors.c Sat Sep 19 12:09:23 1998
|+++ dircolors-fixed.c Thu Nov 23 12:25:30 2000
File to patch:
Im starting to feel like a newbie again haha.
Thanks for your help...
> On January 11, 2001 09:44 am, root wrote:
> > Im trying to compile fileutils static as described in the LFS book,
> > 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
> cd fileutils-4.0
> 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):
> cd gcc-2.95.2
> patch -Np1 -i /path/to/gcc-2.95.2-glibc-2.2.patch
> Gerard Beekmans
> -*- 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
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