Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Apr 2005 11:02:58 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        "RUmiancev A.V" <rumiancev@psu.karelia.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: From Rumiancev Alexander
Message-ID:  <20050402080258.GB840@gothmog.gr>
In-Reply-To: <002901c536f1$27bb6d20$adfee8c1@VIDEOPC>
References:  <372581386.20050401152534@psu.karelia.ru> <20050401114352.GA28347@orion.daedalusnetworks.priv> <002901c536f1$27bb6d20$adfee8c1@VIDEOPC>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-04-01 23:29, "RUmiancev A.V" <rumiancev@psu.karelia.ru> wrote:
> 1) Which make ?
> /usr/bin/make
>
> ns# make -v
> GNU Make 3.80

That's wrong.  Your /usr/bin/make executable should be BSD make, not GNU
make.  Have you installed GNU make with --prefix=/usr/bin lately?

The correct /usr/bin/make binary is the BSD make, which should print
some $FreeBSD: lines when you run the following command:

% $ ident /usr/bin/make | head
% /usr/bin/make:
%      $FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.6 2002/05/15 04:19:49 obrien Exp $
%      $FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.5 2002/05/15 04:19:49 obrien Exp $
%      $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4 2003/10/17 15:43:13 peter Exp $
%      $FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.13 2004/08/15 16:18:51 dfr Exp $
%      $FreeBSD: src/usr.bin/make/arch.c,v 1.60 2005/03/23 12:56:15 harti Exp $
%      $FreeBSD: src/usr.bin/make/buf.c,v 1.34 2005/03/22 07:42:51 harti Exp $
%      $FreeBSD: src/usr.bin/make/compat.c,v 1.56 2005/03/16 16:02:09 harti Exp $
%      $FreeBSD: src/usr.bin/make/cond.c,v 1.43 2005/03/23 12:56:15 harti Exp $
%      $FreeBSD: src/usr.bin/make/dir.c,v 1.52 2005/03/23 12:56:15 harti Exp $

> Why this line ?
> .if !defined(S)

Because this is valid in BSD make, but not in GNU make.

> 2) Have you changed your PATH recently or sym-linked GNU make to
> 'make'?
>
> No! But onces, when I am working in the system at root, couse some
> rebooting. Just it!

I can't understand what you're trying to say :-/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050402080258.GB840>