[Fwd: Fileutils error compiling]

Ainsley Pereira marble at linuxfromscratch.org
Mon Jan 8 11:30:56 PST 2001


In message <3A59F410.77C0BD63 at syr.edu>
          Michael Konrad <mkonrad at syr.edu> wrote:

> I am getting an error message when I compile fileutils:
> 
> dircolors.c:40:15: not enough arguments for macro "strndup"
> make[2]: *** [dircolors.o] Error 1

Load dircolors.c in an editor and comment out the offending line,
eg make the line:
char *strndup();
into
/* char *strndup(); */

> Also, can someone help me on how to redirect stderr to print to a file?

command 2>errors.txt

~A.

-- 
 -----------------------------------------------------------
   / Ainsley Pereira       /   aka Marble on Snowplains   /
  /                       / telnet://snowplains.org:3456 /
 ------------------------------------------------------------

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