Compileproblems with fileutils-4.0
gerard at linuxfromscratch.org
Thu Jan 11 09:30:22 PST 2001
On January 11, 2001 12:24 pm, John Nielsen wrote:
> It works like a charm now...
> Since im new to LFS i just have to ask...
> What the heck does the patch(es) do?
It edits the dircolors.c file and removes line 40 which contains:
That construction isn't valid anymore in the newer C standards; you don't
have to declare strndup before you use it. This was actually already changed
in glibc-2.1.3, but the gcc-2.95.2 compiler never complained about it and
silenty ignored it apparently. But with glibc-2.2 the compiler does complain
about it (glibc is more strict about it now) so we need to patch it up and
remove the faulty line.
-*- 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