Subject: netbsd fails to build still!
To: None <netbsd-help@netbsd.org>
From: Sung N. Cho <sucho2@vt.edu>
List: netbsd-help
Date: 03/02/2002 21:18:05
Hi,
I've posted the problem of netbsd failing to build from source couple weeks
ago and it still fails to build exactly at the same spot:
===================================
/usr/tools/bin/i386--netbsdelf-ld -o pxeboot_ia32.sym -M -e start -Ttext 0x0
start_pxe.o main.o dev_net.o devopen.o conf.o exec.o pxe.o pxe_call.o vers.o
/usr/src/sys/arch/i386/stand/pxeboot/obj/lib/i386/libi386.a
/usr/src/sys/arch/i386/stand/pxeboot/obj/lib/sa/libsa.a
/usr/src/sys/arch/i386/stand/pxeboot/obj/lib/z/libz.a
/usr/src/sys/arch/i386/stand/pxeboot/obj/lib/sa/libsa.a
/usr/src/sys/arch/i386/stand/pxeboot/obj/lib/kern/libkern.a
/usr/src/sys/arch/i386/stand/pxeboot/obj/lib/i386/libi386.a
/usr/src/sys/arch/i386/stand/pxeboot/obj/lib/sa/libsa.a > pxeboot_ia32.list
/usr/tools/bin/i386--netbsdelf-objcopy -O binary pxeboot_ia32.sym
pxeboot_ia32.bin
make: don't know how to make pxeboot_ia32.bin.1. Stop
make: stopped in /usr/src/sys/arch/i386/stand/pxeboot
*** Error code 2
Stop.
make: stopped in /usr/src/sys/arch/i386/stand
*** Error code 1
Stop.
make: stopped in /usr/src/sys/arch/i386
*** Error code 1
Stop.
make: stopped in /usr/src/sys/arch
*** Error code 1
Stop.
make: stopped in /usr/src/sys
localhost: {6}
===================================================
I've freshly cvsup the source and did from /usr/src:
sh build.sh -t # built new toolset and installed new kernel, rebooted the
computer
then again at /usr/src:
sh build.sh # now building from new source with new kernel!
Unfortunately, it fails at the spot above! It is the same spot that building
failed since couple weeks ago. Now, I've tried building source from the
GENERIC_LAPTOP kernel and my CUSTOM kernel. Both fails! I've also tried
building with or without the options below in mk.conf:
COPTS+= -O3 -mcpu=i686 -march=i686
CXXFLAGS+= -O3 -mcpu=i686 -march=i686
CFLAGS+= -O3 -mcpu=i686 -march=i686
Again, I tried both with or without the above optimizations in mk.conf using
GENERIC_LAPTOP kernel and my CUSTOM kernel and both fails exactly at the same
spot!
Here's is my mk.conf:
===================================
# Sung's mk.conf file
# ************************************************************************
# Options for Building the NetBSD system *
# ************************************************************************
COPTS+= -O3 -mcpu=i686 -march=i686
CXXFLAGS+= -O3 -mcpu=i686 -march=i686
CFLAGS+= -O3 -mcpu=i686 -march=i686
RELEASEDIR=/home/netbsd/release
BSDSRCDIR=/usr/src
BSDOBJDIR=/usr/obj
TOOLDIR=/usr/tools
USETOOLS=yes
MAKECONF=/etc/mk.conf
MKCATPAGES=yes
MKCRYPTO=yes
MKDOC=yes
MKHOSTOBJ=no
MKINFO=yes
MKLINT=yes
MKMAN=yes
MKNLS=no
MKOBJ=yes
MKPIC=yes
MKPICINSTALL=yes
MKPROFILE=yes
MKSHARE=yes
MKOBJDIRS=yes
# ************************************************************************
# Options for NetBSD package systems *
# ************************************************************************
WRKOBJDIR=/usr/wrk
DISTDIR?=/usr/pkgsrc/distfiles
PACKAGES?=/home/packages
ACCEPTABLE_LICENSES= fee-based-commercial-use no-commercial-use \
no-profit limited-redistribution shareware
ACCEPTABLE_LICENSES+= adobe-acrobat-license
ACCEPTABLE_LICENSES+= citrix_ica-license
ACCEPTABLE_LICENSES+= csound-license
ACCEPTABLE_LICENSES+= fee-based-commercial-use
ACCEPTABLE_LICENSES+= kermit-license
ACCEPTABLE_LICENSES+= limited-redistribution
ACCEPTABLE_LICENSES+= maude-license
ACCEPTABLE_LICENSES+= no-commercial-use
ACCEPTABLE_LICENSES+= no-profit
ACCEPTABLE_LICENSES+= opera-license
ACCEPTABLE_LICENSES+= palmos-sdk-license
ACCEPTABLE_LICENSES+= shareware
ACCEPTABLE_LICENSES+= sun-jsdk20-license
ACCEPTABLE_LICENSES+= jdk13-license
ACCEPTABLE_LICENSES+= sun-swing-license
ACCEPTABLE_LICENSES+= unarj-license
ACCEPTABLE_LICENSES+= unrar-license
ACCEPTABLE_LICENSES+= zoo-license
ACCEPTABLE_LICENSES+= emiclock-license
ACCEPTABLE_LICENSES+= nntpclnt-license
ACCEPTABLE_LICENSES+= trn-license
ACCEPTABLE_LICENSES+= cyrus-imapd-license
ACCEPTABLE_LICENSES+= majordomo-license
ACCEPTABLE_LICENSES+= mush-license
ACCEPTABLE_LICENSES+= pine-license
ACCEPTABLE_LICENSES+= mosaic-license
ACCEPTABLE_LICENSES+= portsentry-license
ACCEPTABLE_LICENSES+= srp_client-license
ACCEPTABLE_LICENSES+= jdk-license
ACCEPTABLE_LICENSES+= IDEA-licence
ACCEPTABLE_LICENSES+= amiwm-license
ACCEPTABLE_LICENSES+= astrolog-license
USA_RESIDENT=YES
USE_RSAREF2=NO
=========================
At the moment, I can only complete the building process via:
make -k build; make -k install
Anybody haveving similar problem? I don't think it's settings or hardware
problem.
Yours sincerely,
Sung N. Cho,
Saturday, Mar. 02, 2002.