From Rumiancev Alexander

Giorgos Keramidas keramida at ceid.upatras.gr
Sat Apr 2 00:03:06 PST 2005


On 2005-04-01 23:29, "RUmiancev A.V" <rumiancev at 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 :-/



More information about the freebsd-questions mailing list