Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2006 09:15:00 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: No success with make buildworld
Message-ID:  <43DCF814.4060001@u.washington.edu>
In-Reply-To: <20060129111204.GA43026@server.idefix.loc>
References:  <20060129111204.GA43026@server.idefix.loc>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthias Fechner wrote:
> Hi,
>
> i had checked out the tree RELENG_5 and RELENG_6 and tried to compile
>  /usr/src with make buildworld, but I always get the errormessage:
>
> --- cut ---
> rpcgen -C -h -o crypt.h /usr/obj/usr/src/i386/usr/include/rpcsvc/crypt.x
> rpcgen -C -l -o crypt_clnt.c
> /usr/obj/usr/src/i386/usr/include/rpcsvc/crypt.x
> rpcgen -C -c -o crypt_xdr.c
> /usr/obj/usr/src/i386/usr/include/rpcsvc/crypt.x
> rpcgen -C -h -o yp.h /usr/obj/usr/src/i386/usr/include/rpcsvc/yp.x
> rpcgen -C -c -o yp_xdr.c /usr/obj/usr/src/i386/usr/include/rpcsvc/yp.x
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/dmisc.c gdtoa_dmisc.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/dtoa.c gdtoa_dtoa.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/gdtoa.c gdtoa_gdtoa.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/gethex.c gdtoa_gethex.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/gmisc.c gdtoa_gmisc.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/hd_init.c gdtoa_hd_init.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/hexnan.c gdtoa_hexnan.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/misc.c gdtoa_misc.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/smisc.c gdtoa_smisc.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtoIg.c gdtoa_strtoIg.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtod.c gdtoa_strtod.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtodg.c gdtoa_strtodg.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtof.c gdtoa_strtof.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtord.c gdtoa_strtord.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/sum.c gdtoa_sum.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/ulp.c gdtoa_ulp.c
> ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtopx.c gdtoa_strtopx.c
> make: don't know how to make atexit.c. Stop
> *** Error code 2
>
> Stop in /usr/src/lib.
> *** 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.
> zsh: exit 1     make buildworld
> --- cut ---
>
> I tried to completly delete the /etc/make.conf and my environment of
> the shell is clear, env says:
>
> --- cut ---
> TERM=xterm-color
> SHELL=/usr/local/bin/zsh
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
> HOME=/root
> LOGNAME=root
> USER=root
> PWD=/usr/src
> RPROMPT=%{%}%n%{%}@%{%}%m%{%}
> PROMPT=%{%}%20<..<%~%<<%{%}%(!.#.>) %{%}
> _=/usr/bin/env
> OLDPWD=/usr/local/etc/cvsup
> --- cut ---
>
> I tried to compile it from the console with sh as shell too; I got the
> same errormessage.
> I deleted /usr/src and /usr/obj, but the same errormessage.
>
> Has anyone the same probleme like myself or has a hint for me?
>
> TIA.
>
> Best regards
> Matthias
Matthias,
    The simple answer to your problem is that you haven't cvsupp'ed all 
of the sources required to build your system. The more difficult answer 
is that you need to find out which category you are lacking in order to 
compile everything. Here's my cvsup file as a basis:

root@hoover# cat /root/sys.cvsup
*default host=cvsup15.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6_0
*default delete use-rel-suffix

*default compress

src-base
src-bin
src-contrib
src-etc
src-gnu
src-include
src-kerberos5
src-lib
src-libexec
src-rescue
src-release
src-sbin
src-share
src-sys
src-tools
src-usrbin
src-usrsbin
src-crypto
src-secure
src-sys-crypto

    I only included the above packages because I had to and not because 
I wanted to (with exception of the kerberos one).
-Garrett



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