Subject: Re: libc: statfs.S?
To: None <>
From: Andrew Brown <>
List: tech-userlevel
Date: 05/30/2004 12:24:16
On Mon, May 31, 2004 at 01:15:36AM +0900, wrote:
>>On Sun, May 30, 2004 at 10:53:09PM +0900, wrote:
>>>>#    create  libc/stat.d
>>>>CC=/usr/tool/bin/i386--netbsdelf-gcc /usr/tool/bin/nbmkdep -f stat.d --   -DALL_STATE -DUSG_COMPAT   -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/home/itojun/NetBSD/src/lib/libc/include -I/home/itojun/NetBSD/src/lib/libc -DHESIOD -DINET6 -DNLS -
>DYP -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -I/export/home/itojun/NetBSD/src/libexec/ld.elf_so -I/home/itojun/NetBSD/src/lib/libc/dlfcn -DCITRUS_ICONV -DWITH_RUNE -I/home/itojun/NetBSD/src/lib/libc -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT   -nostd
>inc -isystem /usr/include  /home/itojun/NetBSD/src/lib/libc/sys/stat.c
>>>>make: don't know how to make statfs.S. Stop
>>>>make: stopped in /home/itojun/NetBSD/src/lib/libc
>>>	if i see libc/sys/Makefile, i see statfs.c, not statfs.S.
>>rm libc/objdir/statfs.* and try again.  statfs.d says statfs.d depends
>>on statfs.S and since that file is no more, it can't figure out what
>>to do.  the boot fell off and the strap was reattached to a different
>	i see.  i got another issue during tool building...
>dependall ===> tools/gcc
>Configuring for a unknown-unknown-netbsd2.0F host.
>Created "Makefile" in /export/home/itojun/NetBSD/src/tools/gcc/obj.i386/build
>Configuring libiberty...
>creating cache ../config.cache
>checking whether to enable maintainer-specific portions of Makefiles... no
>checking for makeinfo... makeinfo
>checking for perl... perl
>checking host system type... unknown-unknown-netbsd2.0F		<---
>checking build system type... unknown-unknown-netbsd2.0F	<---

your sysctl(8) is not working.  that means you upgraded from a kernel
built from sources dated between 2003/12/04 and 2004/03/24 to one
built from sources dated after 2004/04/25.  see /usr/src/UDPATING.

you need a new libc and a new sysctl binary.

or a slightly older kernel.

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."