bug-coreutils
[Top][All Lists]
Advanced

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

Re: missing alloca.h


From: Jim Meyering
Subject: Re: missing alloca.h
Date: Fri, 16 Apr 2004 11:35:52 +0200

Steven J Abner <address@hidden> wrote:
> 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>.

That shouldn't be necessary if you use the provided Makefiles.

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

Why?

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

All of these problems appear to be the result of your using
an alternative build mechanism (project builder).
Does `make' not work for you?




reply via email to

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