bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:missing alloca.h


From: Steven J Abner
Subject: Re:missing alloca.h
Date: Fri, 16 Apr 2004 03:33:33 -0400

Sorry, but after some research I managed to get chmod to build.

machine: mac ppc G4 (1st PCI 400Mhz) OSX 10.1.5

Suggestions:
     as mentioned alloca.h... no and alloca... yes,
include a test(m4) my alloca is in <stdlib.h> so for me I just commented out
     #include <alloca.h> and added #include <stdlib.h>.

But, may I suggest:
    when you create "config.h" you add at the head:
        #ifndef HAVE_CONFIG_H
        #define HAVE_CONFIG_H
               cat....
               cat....
               cat....
       #endif /* HAVE_CONFIG_H */
   then in all your c files as the first code:
        #include <config.h>
   with no test surrounding the include.

And in system.h:
   a comment above #include "localedir.h" that it is built by makefile
   or an uncomment of #define LOCALEDIR "/usr/share/locale".

I now have a built chmod but still have to figure the mode_t warning.
Thanks for enduring these two messages and sorry I troubled you,
Steven





reply via email to

[Prev in Thread] Current Thread [Next in Thread]