Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2004 10:51:08 +0200
From:      Oleg Shevtsov <sat@orion.interexc.com>
To:        freebsd-questions@freebsd.org
Subject:   making buildworld@5.1 relese
Message-ID:  <20040318085108.GA93606@interexc.com>

next in thread | raw e-mail | index | archive | help

hi,


I'm trying to make buildworld on 5.1-RELEASE.
Found next mistake:

>>> stage 3: cross tools
--------------------------------------------------------------
cd /usr/src; TOOLS_PREFIX=/usr/obj/usr/src/i386
MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  DESTDIR=  INSTALL="sh
/usr/src/tools/install.sh" make -f Makefile.inc1 -DBOOTSTRAPPING
-DNOHTML -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED  -DNO_WERROR
-DNO_FORTRAN -DNO_GDB cross-tools
echo "===> usr.bin/genassum";  cd /usr/src/usr.bin/genassum;  make
DIRPRFX=usr.bin/genassum/ obj;  make DIRPRFX=usr.bin/genassum/ depend;
make DIRPRFX=usr.bin/genassum/ all;  make DIRPRFX=usr.bin/genassum/
DESTDIR=/usr/obj/usr/src/i386 install
===> usr.bin/genassum
cd: can't cd to /usr/src/usr.bin/genassum
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

What's wrong? 
In Makefile.inc1 I have next:
.if ${TARGET_ARCH} == "i386" && ${MACHINE_ARCH} != "i386"                       
_btxld= usr.sbin/btxld                                                          
.endif                                                                          
                                                                                
cross-tools:                                                                    
.for _tool in ${_btxld} ${_elf2exe} usr.bin/genassum usr.bin/gensetdefs
\       
    gnu/usr.bin/binutils usr.bin/objformat usr.sbin/crunch/crunchide \          
    gnu/usr.bin/cc                                                              
        ${ECHODIR} "===> ${_tool}"; \                                           
                cd ${.CURDIR}/${_tool}; \                                       
                ${MAKE} DIRPRFX=${_tool}/ obj; \                                
                ${MAKE} DIRPRFX=${_tool}/ depend; \                             
                ${MAKE} DIRPRFX=${_tool}/ all; \                                
                ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}
install   
.endfor                                                                     


But why I don't have them at usr.bin and what should I do?


-- 
Oleg Shevtsov



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