The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
FreeBSD-STABLE, !*! beginer, 05-Окт-02, 16:09  [смотреть все]
Помогите, плз. Обновил дерево исходных кодов FreeBSD-4.5==>-STABLE с помощью cvsup. Захожу в /usr/src/ даю make buildworld и через некоторое время компиляция прерывается со следующей ошибкой:

In file included from /usr/src/lib/libutil/login_cap.c:45:
/usr/src/lib/libutil/login_cap.h:152: unterminated macro call
/usr/src/lib/libutil/login_cap.h:158: warning: preprocessing directive not recognized within macro arg
cpp0: Internal compiler error in `collect_expansion', at /usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc/cccp.c:6108
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html>; for instructions.
In file included from /usr/src/lib/libutil/login_class.c:39:
/usr/src/lib/libutil/login_cap.h:152: unterminated macro call
/usr/src/lib/libutil/login_cap.h:158: warning: preprocessing directive not recognized within macro arg
cpp0: Internal compiler error in `collect_expansion', at /usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc/cccp.c:6108
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html>; for instructions.
In file included from /usr/src/lib/libutil/login_auth.c:46:
/usr/src/lib/libutil/login_cap.h:152: unterminated macro call
/usr/src/lib/libutil/login_cap.h:158: warning: preprocessing directive not recognized within macro arg
cpp0: Internal compiler error in `collect_expansion', at /usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc/cccp.c:6108
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html>; for instructions.
In file included from /usr/src/lib/libutil/login_times.c:32:
/usr/src/lib/libutil/login_cap.h:152: unterminated macro call
/usr/src/lib/libutil/login_cap.h:158: warning: preprocessing directive not recognized within macro arg
/usr/src/lib/libutil/login_cap.h:165: warning: garbage at end of `#ifndef' argument
/usr/src/lib/libutil/login_cap.h:167: warning: garbage at end of `#ifndef' argument
cpp0: Internal compiler error in `collect_expansion', at /usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc/cccp.c:6108
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html>; for instructions.
In file included from /usr/src/lib/libutil/login_ok.c:37:
/usr/src/lib/libutil/login_cap.h:152: unterminated macro call
/usr/src/lib/libutil/login_cap.h:158: warning: preprocessing directive not recognized within macro arg
cpp0: Internal compiler error in `collect_expansion', at /usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc/cccp.c:6108
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html>; for instructions.
In file included from /usr/src/lib/libutil/login_crypt.c:31:
/usr/src/lib/libutil/login_cap.h:152: unterminated macro call
/usr/src/lib/libutil/login_cap.h:158: warning: preprocessing directive not recognized within macro arg
/usr/src/lib/libutil/login_cap.h:165: warning: garbage at end of `#ifndef' argument
/usr/src/lib/libutil/login_cap.h:167: warning: garbage at end of `#ifndef' argument
cpp0: Internal compiler error in `collect_expansion', at /usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc/cccp.c:6108
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html>; for instructions.
mkdep: compile failed
*** Error code 1

Stop in /usr/src/lib/libutil.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Пожалуйста помогите это моя первая пересборка всей системы, даже не знаю где копать.

  • RE: FreeBSD-STABLE, !*! VuDZ, 21:25 , 05-Окт-02 (1)
    Покажи содержимое cvsup-файла
    • RE: FreeBSD-STABLE, !*! beginer, 21:37 , 05-Окт-02 (2)
      >Покажи содержимое cvsup-файла

      *default host=cvsup2.de.freebsd.org
      *default base=/usr
      *default prefix=/usr
      *default compress
      *default release=cvs
      *default delete use-rel-suffix
      src-all tag=RELENG_4

      • RE: FreeBSD-STABLE, !*! VuDZ, 00:26 , 06-Окт-02 (3)
        *default  host=cvsup.FreeBSD.org
        *default  base=/usr
        *default  prefix=/usr
        *default  release=cvs
        *default  tag=RELENG_4_6_2_RELEASE
        *default  delete use-rel-suffix compress

        src-all

        вот это обновит тебе исходники до 4.6.2 релиза

        • RE: FreeBSD-STABLE, !*! beginer, 11:45 , 06-Окт-02 (4)
          >вот это обновит тебе исходники до 4.6.2 релиза

          А нужно копировать файл /usr/sup/src-all/checkout.RELENG_4 в /usr/sup/src-all/checkout.RELENG_4_6_2_RELEASE ? ведь без него он, как мне кажется, будет проводить весь checkout поновой? или я не прав.


        • RE: FreeBSD-STABLE, !*! beginer, 18:15 , 06-Окт-02 (5)
          Накатил до 4.6.2 (скопировал файл chechout.cvs:RELENG_4 в chechout.cvs:RELENG_4_6_2_RELEASE и накатил). Начал собирать теперь падает на сборке libssh :( OpenSSH мне нужен, поэтому возможности отрубить его нет. Есть какие нибудь идеи? Может стоит скачать весь репозитарий по новой? и тогда я думаю стоит подохдать до RELENG_4_7
          • RE: FreeBSD-STABLE, !*! VuDZ, 18:31 , 06-Окт-02 (6)
            как делал я:
            поставил все сорцы заново, очистив перед этим /usr/src (rm -rf /usr/src :)), запустил cvsup -g -L 2 cvsupfile, который я тебе приводил. Затарил /src, после этого:
            shutdown now
            make buildworld && make kernel && make installworld && reboot
          • RE: FreeBSD-STABLE, !*! lavr, 12:34 , 07-Окт-02 (8)
            >Накатил до 4.6.2 (скопировал файл chechout.cvs:RELENG_4 в chechout.cvs:RELENG_4_6_2_RELEASE и накатил). Начал собирать
            >теперь падает на сборке libssh :( OpenSSH мне нужен, поэтому возможности
            >отрубить его нет. Есть какие нибудь идеи? Может стоит скачать весь
            >репозитарий по новой? и тогда я думаю стоит подохдать до RELENG_4_7
            >

            http://unix1.jinr.ru/~lavr/cvsup_makeworld.html

            less /usr/src/Makefile
            less /usr/src/UPDATING

            1. cp /etc/make.conf /etc/make.conf.prev
            2. cp /usr/src/etc/defaults/make.conf /etc/make.conf
            3. поправить под себя новый /etc/make.conf

            общие правиля сборки:

            # If you want to build your system from source be sure that /usr/obj has
            # at least 400MB of diskspace available.
            #
            # For individuals wanting to build from the sources currently on their
            # system, the simple instructions are:
            #
            # 1.  `cd /usr/src'  (or to the directory containing your source tree).
            # 2.  `make world'
            #
            # For individuals wanting to upgrade their sources (even if only a
            # delta of a few days):
            #
            # 1.  `cd /usr/src'       (or to the directory containing your source tree).
            # 2.  `make buildworld'
            # 3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE'     (default is GENERIC).
            # 4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
            # 5.  `reboot'        (in single user mode: boot -s from the loader prompt).
            # 6.  `mergemaster -p'
            # 7.  `make installworld'
            # 8.  `mergemaster'
            # 9.  `reboot'
            #
            # See src/UPDATING `COMMON ITEMS' for more complete information.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру