Professional Web Applications Themes

From Rumiancev Alexander - FreeBSD

Hello! I have a problem! I have the FreeBSD 5.3. And some day ago, when I wrote command "make" the output was: Makefile:24: *** missing separator. Stop. 24 - this is .if !defined(S) When I doing this procedure one week ago, that was okey!!! That is content of the Makefile: KERN_IDENT=NEW_GENERIC # Makefile.i386 -- with config changes. # Copyright 1990 W. Jolitz # from: (#)Makefile.i386 7.1 5/10/91 # $FreeBSD: src/sys/conf/Makefile.i386,v 1.260 2004/05/09 22:29:37 cognet Exp $ # # Makefile for FreeBSD # # This makefile is constructed from a machine description: # config machineid # Most changes should be made ...

  1. #1

    Default From Rumiancev Alexander

    Hello! I have a problem!
    I have the FreeBSD 5.3. And some day ago, when I wrote
    command "make" the output was:
    Makefile:24: *** missing separator. Stop.
    24 - this is .if !defined(S)

    When I doing this procedure one week ago, that was okey!!!
    That is content of the Makefile:

    KERN_IDENT=NEW_GENERIC
    # Makefile.i386 -- with config changes.
    # Copyright 1990 W. Jolitz
    # from: (#)Makefile.i386 7.1 5/10/91
    # $FreeBSD: src/sys/conf/Makefile.i386,v 1.260 2004/05/09 22:29:37 cognet Exp $
    #
    # Makefile for FreeBSD
    #
    # This makefile is constructed from a machine description:
    # config machineid
    # Most changes should be made in the machine description
    # /sys/i386/conf/``machineid''
    # after which you should do
    # config machineid
    # Generic makefile changes should be made in
    # /sys/conf/Makefile.i386
    # after which config should be rerun for all machines.
    #

    # Which version of config(8) is required.

    STD8X16FONT?= iso

    ..if !defined(S)
    ..if exists(.//.)
    S= ./
    ..else
    S= ../../..
    ..endif
    ..endif
    ..include "$S/conf/kern.pre.mk"

    MKMODULESENV+= MACHINE=i386

    BEFORE_DEPEND=aic7_{seq.h,reg.h,reg_print.c} \
    aic79xx_{seq.h,reg.h,reg_print.c} pccarddevs.h \
    usbdevs.h

    OBJS=aic7_reg_print.o aic79xx_reg_print.o device_if.o bus_if.o \
    linker_if.o cam.o cam_periph.o cam_queue.o cam_sim.o cam_xpt.o \
    scsi_all.o scsi_cd.o scsi_ch.o scsi_da.o scsi_low.o \
    scsi_low_pisa.o scsi_pass.o scsi_sa.o scsi_ses.o adv_pci.o \
    advansys.o advlib.o advmcode.o adw_pci.o adwcam.o adwlib.o \
    byte 1204



    rumiancev-psu Guest

  2. #2

    Default Re: From Rumiancev Alexander

    On 2005-04-01 15:25, rumiancev-psu <karelia.ru> wrote: 

    This is usually caused by running the wrong version of make.

    Have you changed your PATH recently or sym-linked GNU make to 'make'?

    What do you see when you type the following in your shell?

    % which make
     

    Obviously, something changed since then :-)

    Giorgos Guest

  3. #3

    Default Re: From Rumiancev Alexander

    On 2005-04-01 23:29, "RUmiancev A.V" <karelia.ru> wrote: 

    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 $
     

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

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

    Giorgos Guest

  4. #4

    Default Re: From Rumiancev Alexander

    On 2005-04-02 15:01, "???????? ?.?" <karelia.ru> wrote: 
    > Yes. GNU make 3.80 have been installed! Can I do smf that my system
    > must work, I mean "make" can good works ?[/ref]

    Please do not remove the freebsd-questions list from the Cc: of the
    thread. This way, others who may find the thread interesting in the
    future will not be able to find all the posts in the archives.

    I've fixed the quoting in your reply too, since it was messed up by your
    mailer :-/

    It's a bad idea to overwrite /usr/bin/make as you seem to have done.
    The canonical way of forcing packages to use GNU make instead of BSD
    make is to set MAKE in your environment:

    % setenv MAKE gmake
    $ MAKE=gmake ; export MAKE

    I don't know what parts of /usr you have overwritten, but you might get
    everything related to BSD make to work again by installing BSD make
    again. If you have a /usr/obj tree around from a relatively recent
    buildworld, you can install BSD make manually by copying files from
    /usr/obj:

    # install -m 0555 -o root -g wheel \
    /usr/obj/usr/src/usr.bin/make/make /usr/bin

    If you don't have a /usr/obj tree around, copying a make binary from an
    existing installation in another machine may work too.

    - Giorgos

    Giorgos Guest

  5. #5

    Default Re: From Rumiancev Alexander

    rumiancev-psu wrote: 

    Привет!

    Не позорьте, пожалуйста, оссию на весь мир своим
    прекрасным знанием английского. Вместо этого:

    а) Задавайте вопросы на русскоязычных форумах
    типа www.opennet.ru

    б) Задавайте воросы по-русски. Будете удивлены, как
    много подписчиков freebsd-questions знают русский.

    Всего хорошего,
    Andrew P.
    Andrew Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139