Subject: Re: Cross build on 1.6.1
To: Pawel Chwalowski <pch@polo.po.opole.pl>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-toolchain
Date: 04/23/2003 22:13:23
On Wed, Apr 23, 2003 at 11:03:03AM +0200, Pawel Chwalowski wrote:
> Hello!
> I sucessfully crosscompilled amiga kernels on NetBSD/i386 (1.6). Now I
> switched to 1.6.1 and something is wrong...
> 
> NetBSD el10 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Tue Apr  8 12:05:52 UTC
> 2003
> autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/i386/OBJ/autobuild/netbsd
> -1-6/src/sys/arch/i386/compile/GENERIC i386
> 
> ===> build.sh command: ./build.sh -m amiga -T /usr/cross -M
> /mnt/work/obj tools
> ===> build.sh started: Wed Apr 23 11:39:32 CEST 2003
> ===> DESTDIR path:
> ===> TOOLDIR path: /usr/cross
> ===> Updated /usr/cross/bin/nbmake-amiga
> 
> [ ... cut ... ]
> 
> dependall ===> toolchain
> Configuring for a i386-unknown-netbsdelf1.6.1 host.
> Created "Makefile" in /mnt/work/obj/usr/src/tools/toolchain/build
> Configuring intl...
> creating cache ../config.cache
> checking for a BSD compatible install... /usr/cross/bin/nbinstall -c  -r
> checking how to run the C preprocessor... cc -E
> checking whether make sets ${MAKE}... yes
> checking for gcc... cc
> checking whether the C compiler (cc -O ) works... yes
> checking whether the C compiler (cc -O ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether cc accepts -g... yes
> checking for ranlib... ranlib
> checking for POSIXized ISC... no
> checking for ANSI C header files... yes
> checking for working const... yes
> checking for inline... inline
> checking for off_t... yes
> checking for size_t... yes
> checking for working alloca.h... no
> checking for alloca... yes
> checking for unistd.h... yes
> checking for getpagesize... yes
> checking for working mmap... yes
> checking for argz.h... no
> checking for limits.h... yes
> checking for locale.h... yes
> checking for nl_types.h... yes
> checking for malloc.h... yes
> checking for string.h... yes
> checking for unistd.h... (cached) yes
> checking for values.h... no
> checking for sys/param.h... yes
> checking for getcwd... yes
> checking for munmap... yes
> checking for putenv... yes
> checking for setenv... yes
> checking for setlocale... yes
> checking for strchr... yes
> checking for strcasecmp... yes
> checking for __argz_count... no
> checking for __argz_stringify... no
> checking for __argz_next... no
> checking for stpcpy... no
> checking for LC_MESSAGES... yes
> checking whether NLS is requested... no
> updating cache ../config.cache
> creating ./config.status
> creating Makefile
> creating config.h
> linking
> /usr/src/tools/toolchain/../../gnu/dist/toolchain/intl/libgettext.h to
> libintl.h
> ln: libintl.h: Operation not supported

This is strange. Do you use a non-ffs filesystem ?
Maybe flags on /usr/src/tools/toolchain, or a file or subdirectory in there ?
check with ls -lo

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--