help-make
[Top][All Lists]
Advanced

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

Re: Regarding make command


From: Kristof Provost
Subject: Re: Regarding make command
Date: Thu, 26 Jul 2007 21:36:40 +0200
User-agent: Mutt/1.5.13 (2006-08-11)


On 2007-07-26 20:45:40 (+0530), address@hidden <address@hidden> wrote:
> -----Original Message-----
> From: Kristof Provost [mailto:address@hidden
> Sent: Thursday, July 26, 2007 6:33 PM
> To: Ramajeyam, Ramkumar (Cognizant)
> Cc: address@hidden
> Subject: Re: Regarding make command
> On 2007-07-26 15:02:16 (+0530), address@hidden
> <address@hidden> wrote:
> > Hi,
> >
> > I am finding difficulty in installing software.
> > The Makefiles inside the configuration refer to "${MAKE} -C src all" 
> > command.
> > So while executing the make command. I am getting the foll. Error
> >    make -C src all
> > Make: Unknown flag argument C.  Stop.
> > *** Error exit code 1
> > Stop.
>
> > After browsing through this error I came to know that GNU package has to be
> > installed.
> 
> > Kindly letme know whether is there any alternative for this command as I
> don’t
> > have GNU in the machine I am using.
> 
> > Regards,
> > Ram
> 
> Hi,
> 
> The -C option is quite simple. It will just change directory
> and then run make (without -C of course).
> 
> You should be able to replace the command by the following:
> cd src && ${MAKE} all
> 
>  
> 
> Kristof

>  
> 
> Hi Krist,
> 
> I tried with the command what you gave, but now I am getting a new error.
> 
> Bad character & (octal 46), line 9Make: .  Stop.
> 
> FYI,
> 
> I am using Hp UNIX machine.
> 
> Kindly help me out to resolve the issue.
> 
> Regards,
> 
> Ram
>

I suspect you're using a version of make which is far from compatible
with GNU Make (which your makefile seems to expect).

It's probably best to build GNU Make for your platform as it's quite
possible you'll need to rewrite the current makefile to get it to work
with your make version.

Please also keep the mailing list in cc. There may be people familiar
with the HP-UX make variant you're using.

Regards,
Kristof




reply via email to

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