This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Need help for an old makefile


On 5/5/08, mahmoodn <nt_mahmood@yahoo.com> wrote:
>
> I installed "patch" command. Then I read . After applying the patch, I run
> "make" again as the guide said. Here is the error I got:super::
> m4 -s -Ulen -Uindex /home/ubuntu/splash2/codes/null_macros/c.m4.null decs.H
> > decs.h
> /bin/sh: m4: not found
> make: *** [decs.h] Error 127

Your sources are NOT c ready--that's what the m4 macro processor is
needed for.  (and it has nothing to do with make).

You have several choices it seems to me:

1.  Install GNU m4.
2.  Have someone with m4 generate the *.c and *.h files for you.
3.  Manually look at what the macros are doing and make the
transformations yourself.

If you're going to continue to use GNU programs I suggest doing number
1 (best when done on a Linux or Unix system).  Get m4 here:

  <http://www.gnu.org/software/m4/m4.html>

Good luck.

-Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]