This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Need help for an old makefile
- From: "Tom Browder" <tom dot browder at gmail dot com>
- To: mahmoodn <nt_mahmood at yahoo dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 5 May 2008 08:20:27 -0500
- Subject: Re: Need help for an old makefile
- References: <16722559.post@talk.nabble.com> <4809C328.705C77AE@dessent.net> <16822100.post@talk.nabble.com> <16952911.post@talk.nabble.com> <8bc817ee0804290413j2073879ay6ca27c82dba70d2d@mail.gmail.com> <16975465.post@talk.nabble.com> <8bc817ee0804300445j4a764373x20db4e1e063f97b2@mail.gmail.com> <16993162.post@talk.nabble.com> <1209633631.21831.76.camel@localhost> <17058389.post@talk.nabble.com>
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