Subject: Re: build problem
To: None <rmk@rmkhome.com>
From: Rick Kelly <rmk@toad.rmkhome.com>
List: current-users
Date: 03/16/2004 13:56:55
Rick Kelly said:
From: Rick Kelly <rmk@toad.rmkhome.com>
Message-ID: <200403160903.i2G93NQ00720@toad.rmkhome.com>
Subject: build problem
To: current-users@NetBSD.org
Date: Tue, 16 Mar 2004 02:03:23 -0700 (MST)
Reply-To: rmk@rmkhome.com
Sender: current-users-owner@NetBSD.org


Which library is supposed to contain __isnand?

On Solaris it is documented and is in libc.

I have now updated the sources a few more times, and the results below
continue.

>Upgrading from NetBSD 1.6ZC to 1.6ZK
>
>./build.sh -O /usr4/obj tools
>
>Failure in lint1
>
>#      link  lint1/lint1
>cc -O -I/usr4/obj/tools/compat -I/usr4/obj/tools/compat/include  -I/usr/src/tools/lint1/../compat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE  -I/usr/src/tools/lint1/../../usr.bin/xlint/lint1 -I. -DTARGET_OBJFMT_ELF -I/usr/src/tools/lint1/../../usr.bin/xlint/lint1/../arch/i386 -I/usr/src/tools/lint1/../../usr.bin/xlint/lint1/../common   -o lint1 cgram.lo scan.lo mem1.lo mem.lo err.lo main1.lo decl.lo tree.lo func.lo init.lo emit.lo emit1.lo inittyp.lo -L/usr4/obj/tools/compat -lnbcompat -lz -lm
>tree.lo: In function `foldflt':
>tree.lo(.text+0x4496): undefined reference to `__isnand'
>collect2: ld returned 1 exit status
>
>*** Failed target:  lint1
>*** Failed command: cc -O -I/usr4/obj/tools/compat -I/usr4/obj/tools/compat/include -I/usr/src/tools/lint1/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE -I/usr/src/tools/lint1/../../usr.bin/xlint/lint1 -I. -DTARGET_OBJFMT_ELF -I/usr/src/tools/lint1/../../usr.bin/xlint/lint1/../arch/i386 -I/usr/src/tools/lint1/../../usr.bin/xlint/lint1/../common -o lint1 cgram.lo scan.lo mem1.lo mem.lo err.lo main1.lo decl.lo tree.lo func.lo init.lo emit.lo emit1.lo inittyp.lo -L/usr4/obj/tools/compat -lnbcompat -lz -lm
>*** Error code 1
>
>Stop.
>
>I already:
>
>1. built and installed a new mkdep
>2. built a new fsck_ffs
>3. built and booted new kernel and ran "fsck_ffs -b 16 -c 4" on all
>   partitions
>4. make cleandir
>5. make includes

-- 
Rick Kelly  rmk@rmkhome.com  www.rmkhome.com