Need help for an old makefile

Tom Browder tom.browder@gmail.com
Mon May 5 13:21:00 GMT 2008


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



More information about the Gcc-help mailing list