Fileutils won't compile

fred anger anger at rightarm.org
Thu Nov 16 07:47:18 PST 2000


On Thu, 16 Nov 2000, Gerard Beekmans wrote:

> On November 16, 2000 08:55 am, you wrote:
> > dircolors.c:40: macro `strndup' used without args
> > make[2]: *** [dircolors.o] Error 1
> > make[2]: Leaving directory `/lfs/usr/src/fileutils-4.0/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/lfs/usr/src/fileutils-4.0'
> > make: *** [all-recursive-am] Error 2
> it's not your fault, it's the unstable debian's (well actually the Glibc 
> version it uses)
> 
> edit the dircolors.c, go to line 40 and comment it out.
> 
> it contains:
>      char *strndup();
> Change it into:
>      /* char *strndup(); */
> 
> If you get similar errors, follow the same procedure

Or just apply my patch, which can be found at:

http://www.rightarm.org/linuxfromscratch/patches

-fa



-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the blfs-support mailing list