fileutils and glibc-2.2

richard at reika.demon.co.uk richard at reika.demon.co.uk
Sun Nov 19 07:52:30 PST 2000


Misquoted from Mr R A Mercer on Sun, Nov 19, 2000 at 02:13:58PM +0000:
> Hi
> 
> On compiling fileutils in the chroot environment I'm getting this error
> with using glibc-2.2
> 
> dircolors.c:40: macro 'strndup' used without args
> make[2]: *** [dircolors.o] Error 1
> make[2]: Leaving directory '/usr/src/fileutils-4.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/usr/src/fileutils-4.0'
> make: *** [all-recursive-am] Error 2
> 
> I'm sure I can remember someone posting a fix for this but can't find it
> anywhere - has anyone still got it lying around?
> 

sed -e "s!char *strndup();!!"\
   src/dircolors.c >src/dircolors.c~
mv src/dircolors.c~ src/dircolors.c

Richard


-- 
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 mailing list