coreutils build failing
Hi all,
I'm having trouble getting coreutils to build correctly. I'm using the buildroot tarball buildroot-2009.08.tar.gz, and I want to build an X86 uclibc development system. At first, I thought that this issue was resolved through changes to the coreutils patch file submitted on 7/31, but those changes are incorporated in the distribution tarball, so there must be something else going on. Here's the output from the failed build:
rename.c:33:21: error: windows.h: No such file or directory rename.c: In function 'rpl_rename':
rename.c:46: warning: implicit declaration of function 'MoveFileEx' rename.c:51: warning: implicit declaration of function 'GetLastError' rename.c:52: error: 'ERROR_FILE_EXISTS' undeclared (first use in this function)
rename.c:52: error: (Each undeclared identifier is reported only once rename.c:52: error: for each function it appears in.) rename.c:52: error: 'ERROR_ALREADY_EXISTS' undeclared (first use in this function)
rename.c:54: error: 'MOVEFILE_REPLACE_EXISTING' undeclared (first use in this function)
rename.c:62: error: 'ERROR_FILE_NOT_FOUND' undeclared (first use in this function)
rename.c:63: error: 'ERROR_PATH_NOT_FOUND' undeclared (first use in this function)
rename.c:64: error: 'ERROR_BAD_PATHNAME' undeclared (first use in this function)
rename.c:65: error: 'ERROR_DIRECTORY' undeclared (first use in this function)
rename.c:69: error: 'ERROR_ACCESS_DENIED' undeclared (first use in this function)
rename.c:70: error: 'ERROR_SHARING_VIOLATION' undeclared (first use in this function)
rename.c:74: error: 'ERROR_OUTOFMEMORY' undeclared (first use in this function)
rename.c:78: error: 'ERROR_CURRENT_DIRECTORY' undeclared (first use in this function)
rename.c:82: error: 'ERROR_NOT_SAME_DEVICE' undeclared (first use in this function)
rename.c:86: error: 'ERROR_WRITE_PROTECT' undeclared (first use in this function)
rename.c:90: error: 'ERROR_WRITE_FAULT' undeclared (first use in this function)
rename.c:91: error: 'ERROR_READ_FAULT' undeclared (first use in this function)
rename.c:92: error: 'ERROR_GEN_FAILURE' undeclared (first use in this function)
rename.c:96: error: 'ERROR_HANDLE_DISK_FULL' undeclared (first use in this function)
rename.c:97: error: 'ERROR_DISK_FULL' undeclared (first use in this function)
rename.c:98: error: 'ERROR_DISK_TOO_FRAGMENTED' undeclared (first use in this function)
rename.c:107: error: 'ERROR_BUFFER_OVERFLOW' undeclared (first use in this function)
rename.c:108: error: 'ERROR_FILENAME_EXCED_RANGE' undeclared (first use in this function)
rename.c:112: error: 'ERROR_INVALID_NAME' undeclared (first use in this function)
rename.c:113: error: 'ERROR_DELETE_PENDING' undeclared (first use in this function)
make[5]: *** [rename.o] Error 1
TIA,
Steve.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephen" == Stephen Rodgers <[email protected]> writes:
Stephen> Hi all,
Stephen> I'm having trouble getting coreutils to build correctly. I'm Stephen> using the buildroot tarball buildroot-2009.08.tar.gz, and I Stephen> want to build an X86 uclibc development system. At first, I Stephen> thought that this issue was resolved through changes to the Stephen> coreutils patch file submitted on 7/31, but those changes are Stephen> incorporated in the distribution tarball, so there must be Stephen> something else going on. Here's the output from the failed Stephen> build:
Stephen> rename.c:33:21: error: windows.h: No such file or directory
windows.h? That's strange. I just did a build for i686 and that works without any problems - Please post your .config.
On what arch/OS/distribution are you building on?
Signature · 1 line
Bye, Peter Korsgaard
Quoted 13 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephen" == Stephen Rodgers <[email protected]> writes:
Stephen> Hi all,
Stephen> I'm having trouble getting coreutils to build correctly. I'm Stephen> using the buildroot tarball buildroot-2009.08.tar.gz, and I Stephen> want to build an X86 uclibc development system. At first, I Stephen> thought that this issue was resolved through changes to the Stephen> coreutils patch file submitted on 7/31, but those changes are Stephen> incorporated in the distribution tarball, so there must be Stephen> something else going on. Here's the output from the failed Stephen> build:
Quoted 7 lines
Stephen> rename.c:33:21: error:
windows.h: No such file or directory
windows.h? That's strange. I just did a build for i686 and that works without any problems - Please post your .config.On what
arch/OS/distributionare you building on?
The host is i686/Linux/Ubuntu Intrepid
Here's the .config file:
#
# Automatically generated make config: don't edit
# Sun Sep 6 22:34:27 2009
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="2009.08"
# BR2_alpha is not set
# BR2_arm is not set
# BR2_armeb is not set
# BR2_avr32 is not set
# BR2_cris is not set
# BR2_ia64 is not set
BR2_i386=y
# BR2_m68k is not set
# BR2_mips is not set
# BR2_mipsel is not set
# BR2_nios2 is not set
# BR2_powerpc is not set
# BR2_sh is not set
# BR2_sh64 is not set
# BR2_sparc is not set
# BR2_sparc64 is not set
# BR2_x86_64 is not set
# BR2_xtensa is not set
# BR2_x86_i386 is not set
# BR2_x86_i486 is not set
# BR2_x86_i586 is not set
BR2_x86_i686=y
# BR2_x86_pentiumpro is not set
# BR2_x86_pentium_mmx is not set
# BR2_x86_pentium_m is not set
# BR2_x86_pentium2 is not set
# BR2_x86_pentium3 is not set
# BR2_x86_pentium4 is not set
# BR2_x86_prescott is not set
# BR2_x86_nocona is not set
# BR2_x86_core2 is not set
# BR2_x86_k6 is not set
# BR2_x86_k6_2 is not set
# BR2_x86_athlon is not set
# BR2_x86_athlon_4 is not set
# BR2_x86_opteron is not set
# BR2_x86_opteron_sse3 is not set
# BR2_x86_barcelona is not set
# BR2_x86_geode is not set
# BR2_x86_c3 is not set
# BR2_x86_winchip_c6 is not set
# BR2_x86_winchip2 is not set
BR2_ARCH="i686"
BR2_ENDIAN="LITTLE"
BR2_GCC_TARGET_TUNE="i686"
BR2_GCC_TARGET_ARCH="i686"
#
# Target options
#
#
# Project Options
#
BR2_PROJECT="limey"
BR2_HOSTNAME="uclibc"
BR2_BANNER="Welcome to Limey Linux"
#
# Preset Devices
#
# BR2_TARGET_AMD is not set
# BR2_TARGET_X86 is not set
#
# Generic System Support
#
# BR2_TARGET_GENERIC_ACCESS_POINT is not set
# BR2_TARGET_GENERIC_FIREWALL is not set
# BR2_TARGET_GENERIC_DEV_SYSTEM is not set
# BR2_TARGET_GENERIC_GETTY is not set
#
# Build options
#
BR2_WGET="wget --passive-ftp -nd"
BR2_SVN_CO="svn co"
BR2_SVN_UP="svn up"
BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations
#
BR2_PRIMARY_SITE="" BR2_BACKUP_SITE="http://buildroot.net/downloads/sources/" BR2_SOURCEFORGE_MIRROR="easynews" BR2_KERNEL_MIRROR="http://www.kernel.org/pub/" BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu" BR2_DEBIAN_MIRROR="http://ftp.debian.org"
#
# Atmel Mirrors
# BR2_ATMEL_MIRROR="ftp://www.at91.com/pub/buildroot/" BR2_AT91_PATCH_MIRROR="http://maxim.org.za/AT91RM9200/2.6/" BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir"
# BR2_FPU_SUFFIX is not set
BR2_TOPDIR_PREFIX=""
BR2_TOPDIR_SUFFIX="" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc"
BR2_JLEVEL=1
# BR2_PREFER_IMA is not set
# BR2_DEPRECATED is not set
BR2_RECENT=y
# BR2_CONFIG_CACHE is not set
# BR2_ENABLE_DEBUG is not set
BR2_STRIP_strip=y
# BR2_STRIP_sstrip is not set
# BR2_STRIP_none is not set
# BR2_OPTIMIZE_0 is not set
# BR2_OPTIMIZE_1 is not set
# BR2_OPTIMIZE_2 is not set
# BR2_OPTIMIZE_3 is not set
BR2_OPTIMIZE_S=y
# BR2_PREFER_STATIC_LIB is not set
# BR2_HAVE_MANPAGES is not set
# BR2_HAVE_INFOPAGES is not set
# BR2_HAVE_DOCUMENTATION is not set BR2_HAVE_DEVFILES=y
BR2_UPDATE_CONFIG=y
#
# Toolchain
#
BR2_TOOLCHAIN_BUILDROOT=y
# BR2_TOOLCHAIN_EXTERNAL is not set
# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
BR2_TOOLCHAIN_SOURCE=y
BR2_EXT_GCC_VERSION_4_1_2=y
BR2_EXT_GCC_VERSION_4_2_1=y
BR2_EXT_GCC_VERSION_4_2_2=y
BR2_EXT_GCC_VERSION_4_2_3=y
BR2_EXT_BINUTILS_VERSION_2_17=y
BR2_EXT_BINUTILS_VERSION_2_18=y
BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
BR2_EXT_UCLIBC_VERSION_0_9_29=y
BR2_EXT_UCLIBC_VERSION_0_9_30=y
BR2_EXT_UCLIBC_VERSION_0_9_30_1=y
#
# Kernel Header Options
#
# BR2_KERNEL_HEADERS_2_6_26 is not set
# BR2_KERNEL_HEADERS_2_6_27 is not set
# BR2_KERNEL_HEADERS_2_6_28 is not set
# BR2_KERNEL_HEADERS_2_6_29 is not set
BR2_KERNEL_HEADERS_2_6_30=y
# BR2_KERNEL_HEADERS_SNAP is not set
BR2_DEFAULT_KERNEL_HEADERS="2.6.30.5"
#
# uClibc Options
#
# BR2_UCLIBC_VERSION_0_9_28_3 is not set
# BR2_UCLIBC_VERSION_0_9_29 is not set
# BR2_UCLIBC_VERSION_0_9_30 is not set
BR2_UCLIBC_VERSION_0_9_30_1=y
# BR2_UCLIBC_VERSION_SNAPSHOT is not set
BR2_UCLIBC_VERSION_STRING="0.9.30.1"
BR2_UCLIBC_CONFIG="uClibc.config"
BR2_PTHREAD_DEBUG=y
# BR2_UCLIBC_INSTALL_TEST_SUITE is not set
#
# Binutils Options
#
# BR2_BINUTILS_VERSION_2_17 is not set
# BR2_BINUTILS_VERSION_2_17_50_0_17 is not set
# BR2_BINUTILS_VERSION_2_18 is not set
# BR2_BINUTILS_VERSION_2_18_50_0_1 is not set
# BR2_BINUTILS_VERSION_2_18_50_0_3 is not set
# BR2_BINUTILS_VERSION_2_18_50_0_6 is not set
# BR2_BINUTILS_VERSION_2_18_50_0_8 is not set
# BR2_BINUTILS_VERSION_2_18_50_0_9 is not set
# BR2_BINUTILS_VERSION_2_19 is not set
BR2_BINUTILS_VERSION_2_19_1=y
BR2_BINUTILS_VERSION="2.19.1"
BR2_EXTRA_BINUTILS_CONFIG_OPTIONS=""
#
# GCC Options
#
# BR2_GCC_VERSION_3_4_6 is not set
# BR2_GCC_VERSION_4_0_4 is not set
# BR2_GCC_VERSION_4_1_2 is not set
# BR2_GCC_VERSION_4_2_1 is not set
# BR2_GCC_VERSION_4_2_2 is not set
# BR2_GCC_VERSION_4_2_3 is not set
# BR2_GCC_VERSION_4_2_4 is not set
# BR2_GCC_VERSION_4_3_2 is not set
BR2_GCC_VERSION_4_3_3=y
# BR2_GCC_VERSION_4_3_4 is not set
# BR2_GCC_VERSION_4_4_X is not set
BR2_GCC_SUPPORTS_SYSROOT=y
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
BR2_GCC_VERSION="4.3.3"
BR2_TOOLCHAIN_SYSROOT=y
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
# BR2_GCC_CROSS_FORTRAN is not set
# BR2_INSTALL_OBJC is not set
# BR2_INSTALL_FORTRAN is not set
BR2_GCC_SHARED_LIBGCC=y
#
# Ccache Options
#
BR2_CCACHE=y BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
#
# Gdb Options
#
BR2_PACKAGE_GDB=y
BR2_PACKAGE_GDB_SERVER=y
# BR2_PACKAGE_GDB_HOST is not set
# BR2_GDB_VERSION_6_4 is not set
# BR2_GDB_VERSION_6_5 is not set
# BR2_GDB_VERSION_6_6 is not set
# BR2_GDB_VERSION_6_7_1 is not set
BR2_GDB_VERSION_6_8=y
BR2_GDB_VERSION="6.8"
#
# Common Toolchain Options
#
BR2_LARGEFILE=y
BR2_INET_IPV6=y
BR2_INET_RPC=y
# BR2_ENABLE_LOCALE is not set
# BR2_ENABLE_LOCALE_PURGE is not set
BR2_USE_WCHAR=y
# BR2_USE_SSP is not set
# BR2_PTHREADS_NONE is not set
# BR2_PTHREADS is not set
BR2_PTHREADS_OLD=y
# BR2_PTHREADS_NATIVE is not set
BR2_PROGRAM_INVOCATION=y
# BR2_INSTALL_LIBSTDCPP is not set
BR2_TARGET_OPTIMIZATION="-Os -pipe"
# BR2_MKLIBS is not set
BR2_PACKAGE_SSTRIP_TARGET=y
BR2_PACKAGE_SSTRIP_HOST=y
# BR2_ENABLE_MULTILIB is not set
BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y
#
# Package Selection for the target
#
BR2_PACKAGE_BUSYBOX=y
# BR2_BUSYBOX_VERSION_1_12_X is not set
# BR2_BUSYBOX_VERSION_1_13_X is not set
BR2_BUSYBOX_VERSION_1_14_X=y
# BR2_PACKAGE_BUSYBOX_SNAPSHOT is not set
BR2_BUSYBOX_VERSION="1.14.3"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="busybox.config"
# BR2_PACKAGE_BUSYBOX_HIDE_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
# The minimum needed to build a uClibc development system #
# BR2_PACKAGE_BASH is not set BR2_PACKAGE_BZIP2=y
# BR2_PACKAGE_COREUTILS is not set BR2_PACKAGE_DIFFUTILS=y
BR2_PACKAGE_FINDUTILS=y
BR2_PACKAGE_FLEX=y
BR2_PACKAGE_FLEX_LIBFL=y
BR2_PACKAGE_GAWK=y
BR2_PACKAGE_GCC_TARGET=y BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS="" BR2_PACKAGE_GREP=y
BR2_PACKAGE_MAKE=y
BR2_PACKAGE_PATCH=y
BR2_PACKAGE_SED=y
BR2_PACKAGE_TAR=y
#
# Other development stuff
#
BR2_PACKAGE_AUTOCONF=y
BR2_PACKAGE_AUTOMAKE=y
# BR2_PACKAGE_BISON is not set
BR2_PACKAGE_CCACHE_TARGET=y
# BR2_PACKAGE_CVS is not set
# BR2_PACKAGE_DISTCC is not set
# BR2_PACKAGE_DMALLOC is not set
# BR2_PACKAGE_FAKEROOT is not set
BR2_HOST_FAKEROOT=y
# BR2_PACKAGE_GETTEXT is not set
# BR2_PACKAGE_LIBINTL is not set
# BR2_PACKAGE_LIBGMP is not set
# BR2_PACKAGE_GPERF is not set
# BR2_PACKAGE_LIBMPFR is not set
BR2_PACKAGE_LIBTOOL=y
BR2_PACKAGE_M4=y
# BR2_PACKAGE_MPATROL is not set
#
# oprofile requires a toolchain with C++ support enabled # # BR2_PACKAGE_PKG_CONFIG is not set BR2_PACKAGE_READLINE=y # BR2_PACKAGE_VALGRIND is not set # BR2_PACKAGE_PCRE is not set
#
# Other stuff
#
# BR2_PACKAGE_AT is not set
# BR2_PACKAGE_BEECRYPT is not set
# BR2_PACKAGE_BERKELEYDB is not set
# BR2_PACKAGE_BSDIFF is not set
# BR2_PACKAGE_BOOTUTILS is not set
# BR2_PACKAGE_CUPS is not set
# BR2_PACKAGE_CUSTOMIZE is not set
# BR2_PACKAGE_DASH is not set
BR2_PACKAGE_FILE=y
# BR2_PACKAGE_GAMIN is not set
#
# icu requires a toolchain with C++ support and WCHAR enabled # # BR2_PACKAGE_KEXEC is not set # BR2_PACKAGE_LESS is not set # BR2_PACKAGE_LIBCONFIG is not set # BR2_PACKAGE_LIBCONFUSE is not set # BR2_PACKAGE_LIBDAEMON is not set # BR2_PACKAGE_LIBELF is not set # BR2_PACKAGE_LIBEVENT is not set # BR2_PACKAGE_LIBGCRYPT is not set # BR2_PACKAGE_LIBGPG_ERROR is not set # BR2_PACKAGE_LIBICONV is not set # BR2_PACKAGE_LIBIDN is not set # BR2_PACKAGE_LIBLOCKFILE is not set # BR2_PACKAGE_LIBOIL is not set BR2_PACKAGE_LIBSYSFS=y # BR2_PACKAGE_LOCKFILE_PROGS is not set BR2_PACKAGE_LOGROTATE=y # BR2_PACKAGE_LSOF is not set # BR2_PACKAGE_LTP-TESTSUITE is not set # BR2_PACKAGE_LTRACE is not set # BR2_PACKAGE_MEMSTAT is not set BR2_PACKAGE_MODULE_INIT_TOOLS=y # BR2_PACKAGE_NG_SPICE_REWORK is not set BR2_PACKAGE_POPT=y # BR2_PACKAGE_PROCPS is not set # BR2_PACKAGE_PSMISC is not set BR2_PACKAGE_SCREEN=y # BR2_PACKAGE_SHARED_MIME_INFO is not set # BR2_PACKAGE_STARTUP_NOTIFICATION is not set BR2_PACKAGE_STRACE=y BR2_PACKAGE_SUDO=y BR2_PACKAGE_SYSKLOGD=y # BR2_PACKAGE_SYSVINIT is not set BR2_PACKAGE_UTIL-LINUX=y BR2_PACKAGE_WHICH=y
#
# Database
#
#
# Mysql client requires a toolchain with C++ support enabled #
# BR2_PACKAGE_SQLITE is not set
#
# Text editors
#
# BR2_PACKAGE_ED is not set
BR2_PACKAGE_NANO=y
BR2_PACKAGE_UEMACS=y
BR2_PACKAGE_VIM=y
BR2_PACKAGE_VIM_RUNTIME=y
#
# Networking
#
#
# Networking applications
#
# BR2_PACKAGE_ARGUS is not set
# BR2_PACKAGE_AVAHI is not set
# BR2_PACKAGE_AXEL is not set
# BR2_PACKAGE_BOA is not set
# BR2_PACKAGE_BIND is not set
# BR2_PACKAGE_BMON is not set
# BR2_PACKAGE_BRIDGE is not set
#
# ctorrent requires a toolchain with C++ support enabled # BR2_PACKAGE_ISC_DHCP=y # BR2_PACKAGE_DHCP_SERVER is not set # BR2_PACKAGE_DHCP_RELAY is not set BR2_PACKAGE_DHCP_CLIENT=y # BR2_PACKAGE_DNSMASQ is not set # BR2_PACKAGE_DROPBEAR is not set # BR2_PACKAGE_ETHTOOL is not set # BR2_PACKAGE_HASERL is not set # BR2_PACKAGE_IFPLUGD is not set
#
# iperf requires a toolchain with C++ support enabled # BR2_PACKAGE_IPROUTE2=y # BR2_PACKAGE_IPSEC_TOOLS is not set BR2_PACKAGE_IPTABLES=y # BR2_PACKAGE_IW is not set # BR2_PACKAGE_KISMET is not set # BR2_PACKAGE_L2TP is not set # BR2_PACKAGE_LIBCGI is not set
#
# libcgicc requires a toolchain with C++ support enabled # # BR2_PACKAGE_LIBCURL is not set # BR2_PACKAGE_LIBDNET is not set # BR2_PACKAGE_LIBEXOSIP2 is not set # BR2_PACKAGE_LIBNL is not set # BR2_PACKAGE_LIBOSIP2 is not set BR2_PACKAGE_LIBPCAP=y # BR2_PACKAGE_LIBSOUP is not set # BR2_PACKAGE_LIBUPNP is not set # BR2_PACKAGE_LIGHTTPD is not set # BR2_PACKAGE_LINKS is not set # BR2_PACKAGE_LRZSZ is not set # BR2_PACKAGE_MDNSRESPONDER is not set # BR2_PACKAGE_MIIDIAG is not set # BR2_PACKAGE_MROUTED is not set # BR2_PACKAGE_MUTT is not set # BR2_PACKAGE_NBD is not set # BR2_PACKAGE_NCFTP is not set # BR2_PACKAGE_NEON is not set BR2_PACKAGE_NETCAT=y BR2_PACKAGE_NETKITBASE=y # BR2_PACKAGE_NETKITTELNET is not set # BR2_PACKAGE_NETPLUG is not set # BR2_PACKAGE_NETSNMP is not set # BR2_PACKAGE_NETSTAT_NAT is not set # BR2_PACKAGE_NFS_UTILS is not set # BR2_PACKAGE_NTP is not set # BR2_PACKAGE_OLSR is not set BR2_PACKAGE_OPENNTPD=y BR2_PACKAGE_OPENSSH=y BR2_PACKAGE_OPENSSL=y # BR2_PACKAGE_OPENSSL_BIN is not set # BR2_PACKAGE_OPENSSL_ENGINES is not set # BR2_PACKAGE_OPENVPN is not set # BR2_PACKAGE_PORTMAP is not set BR2_PACKAGE_PPPD=y BR2_PACKAGE_PPPD_FILTER=y # BR2_PACKAGE_RADVD is not set BR2_PACKAGE_RP_PPPOE=y # BR2_PACKAGE_PPTP_LINUX is not set # BR2_PACKAGE_PROFTPD is not set
#
# quagga suite # # BR2_PACKAGE_QUAGGA_ZEBRA is not set # BR2_PACKAGE_QUAGGA_BGPD is not set # BR2_PACKAGE_QUAGGA_RIPD is not set # BR2_PACKAGE_QUAGGA_RIPNGD is not set # BR2_PACKAGE_QUAGGA_OSPFD is not set # BR2_PACKAGE_QUAGGA_OSPF6D is not set # BR2_PACKAGE_QUAGGA_WATCHQUAGGA is not set # BR2_PACKAGE_QUAGGA_ISISD is not set BR2_PACKAGE_RSYNC=y # BR2_PACKAGE_SAMBA is not set # BR2_PACKAGE_SOCAT is not set # BR2_PACKAGE_SPAWN_FCGI is not set # BR2_PACKAGE_STUNNEL is not set BR2_PACKAGE_TCPDUMP=y # BR2_PACKAGE_TCPDUMP_SMB is not set # BR2_PACKAGE_DHCPDUMP is not set # BR2_PACKAGE_TFTPD is not set # BR2_PACKAGE_THTTPD is not set # BR2_PACKAGE_TINYHTTPD is not set # BR2_PACKAGE_TN5250 is not set # BR2_PACKAGE_TTCP is not set # BR2_PACKAGE_UDPCAST is not set # BR2_PACKAGE_VPNC is not set # BR2_PACKAGE_VSFTPD is not set # BR2_PACKAGE_VTUN is not set # BR2_PACKAGE_WEBIF is not set BR2_PACKAGE_WGET=y # BR2_PACKAGE_WIRELESS_TOOLS is not set # BR2_PACKAGE_WPA_SUPPLICANT is not set
#
# Hardware handling / blockdevices and filesystem maintenance #
# BR2_PACKAGE_ACPID is not set
#
# dbus not available (need expat or libxml2) #
#
# dbus-glib needs dbus to be compiled with expat support # # BR2_PACKAGE_DEVMEM2 is not set # BR2_PACKAGE_DMRAID is not set # BR2_PACKAGE_DOSFSTOOLS is not set BR2_PACKAGE_LIBUUID=y BR2_PACKAGE_E2FSPROGS=y BR2_PACKAGE_E2FSPROGS_BADBLOCKS=y BR2_PACKAGE_E2FSPROGS_BLKID=y BR2_PACKAGE_E2FSPROGS_CHATTR=y BR2_PACKAGE_E2FSPROGS_DUMPE2FS=y BR2_PACKAGE_E2FSPROGS_E2FSCK=y BR2_PACKAGE_E2FSPROGS_E2LABEL=y BR2_PACKAGE_E2FSPROGS_FILEFRAG=y BR2_PACKAGE_E2FSPROGS_FINDFS=y BR2_PACKAGE_E2FSPROGS_FSCK=y BR2_PACKAGE_E2FSPROGS_LOGSAVE=y BR2_PACKAGE_E2FSPROGS_LSATTR=y BR2_PACKAGE_E2FSPROGS_MKE2FS=y BR2_PACKAGE_E2FSPROGS_MKLOSTFOUND=y BR2_PACKAGE_E2FSPROGS_TUNE2FS=y BR2_PACKAGE_E2FSPROGS_UUIDGEN=y # BR2_PACKAGE_EEPROG is not set # BR2_PACKAGE_FCONFIG is not set # BR2_PACKAGE_FIS is not set # BR2_PACKAGE_LIBFUSE is not set # BR2_PACKAGE_GADGETFS_TEST is not set # BR2_PACKAGE_HAL is not set # BR2_PACKAGE_HDPARM is not set # BR2_PACKAGE_HOTPLUG is not set # BR2_PACKAGE_HWDATA is not set # BR2_PACKAGE_I2C_TOOLS is not set # BR2_PACKAGE_INPUT_TOOLS is not set # BR2_PACKAGE_IOSTAT is not set # BR2_PACKAGE_LIBAIO is not set # BR2_PACKAGE_LIBRAW1394 is not set BR2_PACKAGE_LIBUSB=y BR2_PACKAGE_LM_SENSORS=y # BR2_PACKAGE_LVM2 is not set # BR2_PACKAGE_MDADM is not set # BR2_PACKAGE_MEMTESTER is not set # BR2_PACKAGE_MTD is not set # BR2_PACKAGE_NTFS_3G is not set # BR2_PACKAGE_NTFSPROGS is not set BR2_PACKAGE_PCIUTILS=y # BR2_PACKAGE_SETSERIAL is not set # BR2_PACKAGE_SFDISK is not set # BR2_PACKAGE_SMARTMONTOOLS is not set # BR2_PACKAGE_UDEV is not set # BR2_PACKAGE_USBMOUNT is not set BR2_PACKAGE_USBUTILS=y # BR2_PACKAGE_WIPE is not set # BR2_PACKAGE_XFSPROGS is not set
#
# Audio and video libraries and applications
#
BR2_PACKAGE_ALSA_LIB=y
BR2_PACKAGE_ALSA_UTILS=y
#
# ALSA utils selection
#
BR2_PACKAGE_ALSA_UTILS_ALSACONF=y
BR2_PACKAGE_ALSA_UTILS_ALSACTL=y
BR2_PACKAGE_ALSA_UTILS_ALSAMIXER=y
# BR2_PACKAGE_ALSA_UTILS_AMIDI is not set
# BR2_PACKAGE_ALSA_UTILS_AMIXER is not set
# BR2_PACKAGE_ALSA_UTILS_APLAY is not set
# BR2_PACKAGE_ALSA_UTILS_ARECORD is not set
# BR2_PACKAGE_ALSA_UTILS_IECSET is not set
# BR2_PACKAGE_ALSA_UTILS_ACONNECT is not set
# BR2_PACKAGE_ALSA_UTILS_APLAYMIDI is not set
# BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI is not set
# BR2_PACKAGE_ALSA_UTILS_ASEQDUMP is not set
# BR2_PACKAGE_ALSA_UTILS_ASEQNET is not set
# BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST is not set
#
# asterisk - disabled (required openssl and mpg123)
#
BR2_PACKAGE_AUMIX=y
# BR2_PACKAGE_FLAC is not set
# BR2_PACKAGE_GSTREAMER is not set
# BR2_PACKAGE_LIBID3TAG is not set
# BR2_PACKAGE_LIBMAD is not set
# BR2_PACKAGE_LIBMMS is not set
# BR2_PACKAGE_LIBMPD is not set
# BR2_PACKAGE_LIBOGG is not set
# BR2_PACKAGE_LIBSNDFILE is not set
# BR2_PACKAGE_LIBTHEORA is not set
# BR2_PACKAGE_LIBVORBIS is not set
# BR2_PACKAGE_MADPLAY is not set
# BR2_PACKAGE_MPG123 is not set
# BR2_PACKAGE_MPLAYER is not set
# BR2_PACKAGE_SPEEX is not set
# BR2_PACKAGE_FESTIVAL is not set
#
# taglib requires a toolchain with C++ support enabled # # BR2_PACKAGE_VLC is not set
#
# Graphic libraries and applications (graphic/text) #
#
# text rendering libraries # BR2_PACKAGE_NCURSES=y BR2_PACKAGE_NCURSES_TARGET_PANEL=y BR2_PACKAGE_NCURSES_TARGET_FORM=y BR2_PACKAGE_NCURSES_TARGET_MENU=y BR2_PACKAGE_NCURSES_TARGET_HEADERS=y BR2_PACKAGE_NEWT=y # BR2_PACKAGE_SLANG is not set
#
# text rendering applications # # BR2_PACKAGE_DIALOG is not set
#
# graphic libraries # # BR2_PACKAGE_DIRECTFB is not set # BR2_PACKAGE_FBDUMP is not set # BR2_PACKAGE_IMAGEMAGICK is not set # BR2_PACKAGE_JPEG is not set # BR2_PACKAGE_LIBART is not set # BR2_PACKAGE_LIBPNG is not set # BR2_PACKAGE_LIBUNGIF is not set # BR2_PACKAGE_LINUX_FUSION is not set # BR2_PACKAGE_PIXMAN is not set # BR2_PACKAGE_SDL is not set # BR2_PACKAGE_TIFF is not set
#
# busybox graphic applications #
#
# --> May be broken in busybox
#
# BR2_PACKAGE_FBV is not set
# BR2_PACKAGE_FBSET is not set
#
# other GUIs #
#
# qt requires a toolchain with C++ support enabled # # BR2_PACKAGE_XORG7 is not set
#
# X libraries and helper libraries
#
# BR2_PACKAGE_ATK is not set
# BR2_PACKAGE_CAIRO is not set
# BR2_PACKAGE_PANGO is not set
# BR2_PACKAGE_LIBDRM is not set
# BR2_PACKAGE_LIBERATION is not set
# BR2_PACKAGE_LIBGLIB12 is not set
# BR2_PACKAGE_LIBGLIB2 is not set
# BR2_PACKAGE_OPENMOTIF is not set
# BR2_PACKAGE_FONTCONFIG is not set
# BR2_PACKAGE_FREETYPE is not set
# BR2_PACKAGE_TSLIB is not set
#
# webkit requires a toolchain with C++ support and WCHAR enabled #
#
# X Window managers
#
# BR2_PACKAGE_MATCHBOX is not set
#
# X applications
#
# BR2_PACKAGE_ALSAMIXERGUI is not set
# BR2_PACKAGE_GQVIEW is not set
# BR2_PACKAGE_GOB2 is not set
# BR2_PACKAGE_LEAFPAD is not set
# BR2_PACKAGE_PCMANFM is not set
# BR2_PACKAGE_SYLPHEED is not set
# BR2_PACKAGE_TORSMO is not set
# BR2_PACKAGE_X11VNC is not set
# BR2_PACKAGE_XPDF is not set
# BR2_PACKAGE_XSTROKE is not set
#
# Compressors / decompressors
#
BR2_PACKAGE_GZIP=y
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_LZOP is not set
#
# lzma requires a toolchain with C++ support # # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y BR2_PACKAGE_ZLIB_TARGET_HEADERS=y
#
# Package managers
#
# BR2_PACKAGE_IPKG is not set
# BR2_PACKAGE_PORTAGE is not set
# BR2_PACKAGE_RPM is not set
#
# Interpreter languages / Scripting
#
# BR2_PACKAGE_LUA is not set
BR2_PACKAGE_MICROPERL=y
BR2_PACKAGE_MICROPERL_MODULES=""
# BR2_PACKAGE_PYTHON is not set
# BR2_PACKAGE_RUBY is not set
# BR2_PACKAGE_TCL is not set
# BR2_PACKAGE_PHP is not set
#
# XML handling
#
# BR2_PACKAGE_EXPAT is not set
# BR2_PACKAGE_EZXML is not set
# BR2_PACKAGE_LIBXML2 is not set
# BR2_PACKAGE_LIBXSLT is not set
#
# xerces-c++ requires a toolchain with C++ support enabled #
#
# Java
#
# BR2_PACKAGE_CLASSPATH is not set
#
# Games
#
# BR2_PACKAGE_GNUCHESS is not set
# BR2_PACKAGE_MAGICCUBE4D is not set
# BR2_PACKAGE_PRBOOM is not set
# BR2_PACKAGE_RUBIX is not set
# BR2_PACKAGE_VICE is not set
# BR2_PACKAGE_XBOARD is not set
#
# Target filesystem options
#
BR2_ROOTFS_PREFIX="rootfs"
BR2_ROOTFS_SUFFIX=""
BR2_ROOTFS_POST_BUILD_SCRIPT=""
#
# filesystem for target device # # BR2_TARGET_ROOTFS_CRAMFS is not set # BR2_TARGET_ROOTFS_CLOOP is not set BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_BLOCKS=0 BR2_TARGET_ROOTFS_EXT2_INODES=0 BR2_TARGET_ROOTFS_EXT2_RESBLKS=0 BR2_TARGET_ROOTFS_EXT2_SQUASH=y BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2" BR2_TARGET_ROOTFS_EXT2_NONE=y # BR2_TARGET_ROOTFS_EXT2_GZIP is not set # BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set # BR2_TARGET_ROOTFS_EXT2_LZMA is not set BR2_TARGET_ROOTFS_EXT2_COPYTO="" # BR2_TARGET_ROOTFS_JFFS2 is not set # BR2_TARGET_ROOTFS_SQUASHFS is not set # BR2_TARGET_ROOTFS_TAR is not set # BR2_TARGET_ROOTFS_CPIO is not set
#
# iso image requires a Linux kernel to be built # # BR2_TARGET_ROOTFS_INITRAMFS is not set # BR2_TARGET_ROOTFS_ROMFS is not set
#
# bootloader for target device # # BR2_TARGET_GRUB is not set # BR2_TARGET_SYSLINUX is not set # BR2_TARGET_PXELINUX is not set # BR2_TARGET_UBOOT is not set
#
# Kernel
#
BR2_KERNEL_none=y
# BR2_KERNEL_LINUX_ADVANCED is not set
# BR2_KERNEL_LINUX is not set
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephen" == Stephen Rodgers <[email protected]> writes:
Hi,
Quoted 2 lines
Quoted 2 lines
windows.h? That's strange. I just did a build for i686 and that works without any problems - Please post your .config.
Stephen> The host is i686/Linux/Ubuntu Intrepid
Stephen> Here's the .config file:
Stephen> #
Stephen> # The minimum needed to build a uClibc development system Stephen> #
Stephen> # BR2_PACKAGE_BASH is not set
Stephen> BR2_PACKAGE_BZIP2=y
Stephen> # BR2_PACKAGE_COREUTILS is not set
Really?
Signature · 1 line
Bye, Peter Korsgaard
Quoted 11 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephen" == Stephen Rodgers <[email protected]> writes:
Hi,
Quoted 2 lines
Quoted 2 lines
windows.h? That's strange. I just did a build for i686 and that works without any problems - Please post your .config.Stephen> The host is i686/Linux/Ubuntu Intrepid
Stephen> Here's the .config file:
Quoted 9 lines
Stephen> #
Stephen> # The minimum needed to build a uClibc development system Stephen> #
Stephen> #BR2_PACKAGE_BASHis not set
Stephen> BR2_PACKAGE_BZIP2=y
Stephen> #BR2_PACKAGE_COREUTILSis not setReally?
DOH! I sent you the wrong version of the file. I turned off bash for failing to build the job control part of it and coreutils for trying to include windows.h My bad; sorry.
Here's the correct file.
#
# Automatically generated make config: don't edit
# Mon Sep 7 10:13:16 2009
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="2009.08"
# BR2_alpha is not set
# BR2_arm is not set
# BR2_armeb is not set
# BR2_avr32 is not set
# BR2_cris is not set
# BR2_ia64 is not set
BR2_i386=y
# BR2_m68k is not set
# BR2_mips is not set
# BR2_mipsel is not set
# BR2_nios2 is not set
# BR2_powerpc is not set
# BR2_sh is not set
# BR2_sh64 is not set
# BR2_sparc is not set
# BR2_sparc64 is not set
# BR2_x86_64 is not set
# BR2_xtensa is not set
# BR2_x86_i386 is not set
# BR2_x86_i486 is not set
# BR2_x86_i586 is not set
BR2_x86_i686=y
# BR2_x86_pentiumpro is not set
# BR2_x86_pentium_mmx is not set
# BR2_x86_pentium_m is not set
# BR2_x86_pentium2 is not set
# BR2_x86_pentium3 is not set
# BR2_x86_pentium4 is not set
# BR2_x86_prescott is not set
# BR2_x86_nocona is not set
# BR2_x86_core2 is not set
# BR2_x86_k6 is not set
# BR2_x86_k6_2 is not set
# BR2_x86_athlon is not set
# BR2_x86_athlon_4 is not set
# BR2_x86_opteron is not set
# BR2_x86_opteron_sse3 is not set
# BR2_x86_barcelona is not set
# BR2_x86_geode is not set
# BR2_x86_c3 is not set
# BR2_x86_winchip_c6 is not set
# BR2_x86_winchip2 is not set
BR2_ARCH="i686"
BR2_ENDIAN="LITTLE"
BR2_GCC_TARGET_TUNE="i686"
BR2_GCC_TARGET_ARCH="i686"
#
# Target options
#
#
# Project Options
#
BR2_PROJECT="limey"
BR2_HOSTNAME="uclibc"
BR2_BANNER="Welcome to Limey Linux"
#
# Preset Devices
#
# BR2_TARGET_AMD is not set
# BR2_TARGET_X86 is not set
#
# Generic System Support
#
# BR2_TARGET_GENERIC_ACCESS_POINT is not set
# BR2_TARGET_GENERIC_FIREWALL is not set
# BR2_TARGET_GENERIC_DEV_SYSTEM is not set
# BR2_TARGET_GENERIC_GETTY is not set
#
# Build options
#
BR2_WGET="wget --passive-ftp -nd"
BR2_SVN_CO="svn co"
BR2_SVN_UP="svn up"
BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations
#
BR2_PRIMARY_SITE="" BR2_BACKUP_SITE="http://buildroot.net/downloads/sources/" BR2_SOURCEFORGE_MIRROR="easynews" BR2_KERNEL_MIRROR="http://www.kernel.org/pub/" BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu" BR2_DEBIAN_MIRROR="http://ftp.debian.org"
#
# Atmel Mirrors
# BR2_ATMEL_MIRROR="ftp://www.at91.com/pub/buildroot/" BR2_AT91_PATCH_MIRROR="http://maxim.org.za/AT91RM9200/2.6/" BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir"
# BR2_FPU_SUFFIX is not set
BR2_TOPDIR_PREFIX=""
BR2_TOPDIR_SUFFIX="" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc"
BR2_JLEVEL=1
# BR2_PREFER_IMA is not set
# BR2_DEPRECATED is not set
BR2_RECENT=y
# BR2_CONFIG_CACHE is not set
# BR2_ENABLE_DEBUG is not set
BR2_STRIP_strip=y
# BR2_STRIP_sstrip is not set
# BR2_STRIP_none is not set
# BR2_OPTIMIZE_0 is not set
# BR2_OPTIMIZE_1 is not set
# BR2_OPTIMIZE_2 is not set
# BR2_OPTIMIZE_3 is not set
BR2_OPTIMIZE_S=y
# BR2_PREFER_STATIC_LIB is not set
# BR2_HAVE_MANPAGES is not set
# BR2_HAVE_INFOPAGES is not set
# BR2_HAVE_DOCUMENTATION is not set BR2_HAVE_DEVFILES=y
BR2_UPDATE_CONFIG=y
#
# Toolchain
#
BR2_TOOLCHAIN_BUILDROOT=y
# BR2_TOOLCHAIN_EXTERNAL is not set
# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
BR2_TOOLCHAIN_SOURCE=y
BR2_EXT_GCC_VERSION_4_1_2=y
BR2_EXT_GCC_VERSION_4_2_1=y
BR2_EXT_GCC_VERSION_4_2_2=y
BR2_EXT_GCC_VERSION_4_2_3=y
BR2_EXT_BINUTILS_VERSION_2_17=y
BR2_EXT_BINUTILS_VERSION_2_18=y
BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
BR2_EXT_UCLIBC_VERSION_0_9_29=y
BR2_EXT_UCLIBC_VERSION_0_9_30=y
BR2_EXT_UCLIBC_VERSION_0_9_30_1=y
#
# Kernel Header Options
#
# BR2_KERNEL_HEADERS_2_6_26 is not set
# BR2_KERNEL_HEADERS_2_6_27 is not set
# BR2_KERNEL_HEADERS_2_6_28 is not set
# BR2_KERNEL_HEADERS_2_6_29 is not set
BR2_KERNEL_HEADERS_2_6_30=y
# BR2_KERNEL_HEADERS_SNAP is not set
BR2_DEFAULT_KERNEL_HEADERS="2.6.30.5"
#
# uClibc Options
#
# BR2_UCLIBC_VERSION_0_9_28_3 is not set
# BR2_UCLIBC_VERSION_0_9_29 is not set
# BR2_UCLIBC_VERSION_0_9_30 is not set
BR2_UCLIBC_VERSION_0_9_30_1=y
# BR2_UCLIBC_VERSION_SNAPSHOT is not set
BR2_UCLIBC_VERSION_STRING="0.9.30.1"
BR2_UCLIBC_CONFIG="uClibc.config"
BR2_PTHREAD_DEBUG=y
# BR2_UCLIBC_INSTALL_TEST_SUITE is not set
#
# Binutils Options
#
# BR2_BINUTILS_VERSION_2_17 is not set
# BR2_BINUTILS_VERSION_2_17_50_0_17 is not set
# BR2_BINUTILS_VERSION_2_18 is not set
# BR2_BINUTILS_VERSION_2_18_50_0_1 is not set
# BR2_BINUTILS_VERSION_2_18_50_0_3 is not set
# BR2_BINUTILS_VERSION_2_18_50_0_6 is not set
# BR2_BINUTILS_VERSION_2_18_50_0_8 is not set
# BR2_BINUTILS_VERSION_2_18_50_0_9 is not set
# BR2_BINUTILS_VERSION_2_19 is not set
BR2_BINUTILS_VERSION_2_19_1=y
BR2_BINUTILS_VERSION="2.19.1"
BR2_EXTRA_BINUTILS_CONFIG_OPTIONS=""
#
# GCC Options
#
# BR2_GCC_VERSION_3_4_6 is not set
# BR2_GCC_VERSION_4_0_4 is not set
# BR2_GCC_VERSION_4_1_2 is not set
# BR2_GCC_VERSION_4_2_1 is not set
# BR2_GCC_VERSION_4_2_2 is not set
# BR2_GCC_VERSION_4_2_3 is not set
# BR2_GCC_VERSION_4_2_4 is not set
# BR2_GCC_VERSION_4_3_2 is not set
BR2_GCC_VERSION_4_3_3=y
# BR2_GCC_VERSION_4_3_4 is not set
# BR2_GCC_VERSION_4_4_X is not set
BR2_GCC_SUPPORTS_SYSROOT=y
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
BR2_GCC_VERSION="4.3.3"
BR2_TOOLCHAIN_SYSROOT=y
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
# BR2_GCC_CROSS_FORTRAN is not set
# BR2_INSTALL_OBJC is not set
# BR2_INSTALL_FORTRAN is not set
BR2_GCC_SHARED_LIBGCC=y
#
# Ccache Options
#
BR2_CCACHE=y BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
#
# Gdb Options
#
BR2_PACKAGE_GDB=y
BR2_PACKAGE_GDB_SERVER=y
# BR2_PACKAGE_GDB_HOST is not set
# BR2_GDB_VERSION_6_4 is not set
# BR2_GDB_VERSION_6_5 is not set
# BR2_GDB_VERSION_6_6 is not set
# BR2_GDB_VERSION_6_7_1 is not set
BR2_GDB_VERSION_6_8=y
BR2_GDB_VERSION="6.8"
#
# Common Toolchain Options
#
BR2_LARGEFILE=y
BR2_INET_IPV6=y
BR2_INET_RPC=y
# BR2_ENABLE_LOCALE is not set
# BR2_ENABLE_LOCALE_PURGE is not set
BR2_USE_WCHAR=y
# BR2_USE_SSP is not set
# BR2_PTHREADS_NONE is not set
# BR2_PTHREADS is not set
BR2_PTHREADS_OLD=y
# BR2_PTHREADS_NATIVE is not set
BR2_PROGRAM_INVOCATION=y
# BR2_INSTALL_LIBSTDCPP is not set
BR2_TARGET_OPTIMIZATION="-Os -pipe"
# BR2_MKLIBS is not set
BR2_PACKAGE_SSTRIP_TARGET=y
BR2_PACKAGE_SSTRIP_HOST=y
# BR2_ENABLE_MULTILIB is not set
BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y
#
# Package Selection for the target
#
# BR2_PACKAGE_BUSYBOX is not set
#
# The minimum needed to build a uClibc development system #
BR2_PACKAGE_BASH=y
BR2_PACKAGE_BZIP2=y
BR2_PACKAGE_COREUTILS=y
BR2_PACKAGE_DIFFUTILS=y
BR2_PACKAGE_FINDUTILS=y
BR2_PACKAGE_FLEX=y
BR2_PACKAGE_FLEX_LIBFL=y
BR2_PACKAGE_GAWK=y
BR2_PACKAGE_GCC_TARGET=y BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS="" BR2_PACKAGE_GREP=y
BR2_PACKAGE_MAKE=y
BR2_PACKAGE_PATCH=y
BR2_PACKAGE_SED=y
BR2_PACKAGE_TAR=y
#
# Other development stuff
#
BR2_PACKAGE_AUTOCONF=y
BR2_PACKAGE_AUTOMAKE=y
# BR2_PACKAGE_BISON is not set
BR2_PACKAGE_CCACHE_TARGET=y
# BR2_PACKAGE_CVS is not set
# BR2_PACKAGE_DISTCC is not set
# BR2_PACKAGE_DMALLOC is not set
# BR2_PACKAGE_FAKEROOT is not set
BR2_HOST_FAKEROOT=y
# BR2_PACKAGE_GETTEXT is not set
# BR2_PACKAGE_LIBINTL is not set
# BR2_PACKAGE_LIBGMP is not set
# BR2_PACKAGE_GPERF is not set
# BR2_PACKAGE_LIBMPFR is not set
BR2_PACKAGE_LIBTOOL=y
BR2_PACKAGE_M4=y
# BR2_PACKAGE_MPATROL is not set
#
# oprofile requires a toolchain with C++ support enabled # # BR2_PACKAGE_PKG_CONFIG is not set BR2_PACKAGE_READLINE=y # BR2_PACKAGE_VALGRIND is not set # BR2_PACKAGE_PCRE is not set
#
# Other stuff
#
# BR2_PACKAGE_AT is not set
# BR2_PACKAGE_BEECRYPT is not set
# BR2_PACKAGE_BERKELEYDB is not set
# BR2_PACKAGE_BSDIFF is not set
# BR2_PACKAGE_BOOTUTILS is not set
# BR2_PACKAGE_CUPS is not set
# BR2_PACKAGE_CUSTOMIZE is not set
# BR2_PACKAGE_DASH is not set
BR2_PACKAGE_FILE=y
# BR2_PACKAGE_GAMIN is not set
#
# icu requires a toolchain with C++ support and WCHAR enabled # # BR2_PACKAGE_KEXEC is not set # BR2_PACKAGE_LESS is not set # BR2_PACKAGE_LIBCONFIG is not set # BR2_PACKAGE_LIBCONFUSE is not set # BR2_PACKAGE_LIBDAEMON is not set # BR2_PACKAGE_LIBELF is not set # BR2_PACKAGE_LIBEVENT is not set # BR2_PACKAGE_LIBGCRYPT is not set # BR2_PACKAGE_LIBGPG_ERROR is not set # BR2_PACKAGE_LIBICONV is not set # BR2_PACKAGE_LIBIDN is not set # BR2_PACKAGE_LIBLOCKFILE is not set # BR2_PACKAGE_LIBOIL is not set BR2_PACKAGE_LIBSYSFS=y # BR2_PACKAGE_LOCKFILE_PROGS is not set BR2_PACKAGE_LOGROTATE=y # BR2_PACKAGE_LSOF is not set # BR2_PACKAGE_LTP-TESTSUITE is not set # BR2_PACKAGE_LTRACE is not set # BR2_PACKAGE_MEMSTAT is not set BR2_PACKAGE_MODULE_INIT_TOOLS=y # BR2_PACKAGE_NG_SPICE_REWORK is not set BR2_PACKAGE_POPT=y # BR2_PACKAGE_PROCPS is not set # BR2_PACKAGE_PSMISC is not set BR2_PACKAGE_SCREEN=y # BR2_PACKAGE_SHARED_MIME_INFO is not set # BR2_PACKAGE_STARTUP_NOTIFICATION is not set BR2_PACKAGE_STRACE=y BR2_PACKAGE_SUDO=y BR2_PACKAGE_SYSKLOGD=y # BR2_PACKAGE_SYSVINIT is not set BR2_PACKAGE_UTIL-LINUX=y BR2_PACKAGE_WHICH=y
#
# Database
#
#
# Mysql client requires a toolchain with C++ support enabled #
# BR2_PACKAGE_SQLITE is not set
#
# Text editors
#
# BR2_PACKAGE_ED is not set
BR2_PACKAGE_NANO=y
BR2_PACKAGE_UEMACS=y
BR2_PACKAGE_VIM=y
BR2_PACKAGE_VIM_RUNTIME=y
#
# Networking
#
#
# Networking applications
#
# BR2_PACKAGE_ARGUS is not set
# BR2_PACKAGE_AVAHI is not set
# BR2_PACKAGE_AXEL is not set
# BR2_PACKAGE_BOA is not set
# BR2_PACKAGE_BIND is not set
# BR2_PACKAGE_BMON is not set
# BR2_PACKAGE_BRIDGE is not set
#
# ctorrent requires a toolchain with C++ support enabled # BR2_PACKAGE_ISC_DHCP=y # BR2_PACKAGE_DHCP_SERVER is not set # BR2_PACKAGE_DHCP_RELAY is not set BR2_PACKAGE_DHCP_CLIENT=y # BR2_PACKAGE_DNSMASQ is not set # BR2_PACKAGE_DROPBEAR is not set # BR2_PACKAGE_ETHTOOL is not set # BR2_PACKAGE_HASERL is not set # BR2_PACKAGE_IFPLUGD is not set
#
# iperf requires a toolchain with C++ support enabled # BR2_PACKAGE_IPROUTE2=y # BR2_PACKAGE_IPSEC_TOOLS is not set BR2_PACKAGE_IPTABLES=y # BR2_PACKAGE_IW is not set # BR2_PACKAGE_KISMET is not set # BR2_PACKAGE_L2TP is not set # BR2_PACKAGE_LIBCGI is not set
#
# libcgicc requires a toolchain with C++ support enabled # # BR2_PACKAGE_LIBCURL is not set # BR2_PACKAGE_LIBDNET is not set # BR2_PACKAGE_LIBEXOSIP2 is not set # BR2_PACKAGE_LIBNL is not set # BR2_PACKAGE_LIBOSIP2 is not set BR2_PACKAGE_LIBPCAP=y # BR2_PACKAGE_LIBSOUP is not set # BR2_PACKAGE_LIBUPNP is not set # BR2_PACKAGE_LIGHTTPD is not set # BR2_PACKAGE_LINKS is not set # BR2_PACKAGE_LRZSZ is not set # BR2_PACKAGE_MDNSRESPONDER is not set # BR2_PACKAGE_MIIDIAG is not set # BR2_PACKAGE_MROUTED is not set # BR2_PACKAGE_MUTT is not set # BR2_PACKAGE_NBD is not set # BR2_PACKAGE_NCFTP is not set # BR2_PACKAGE_NEON is not set BR2_PACKAGE_NETCAT=y BR2_PACKAGE_NETKITBASE=y # BR2_PACKAGE_NETKITTELNET is not set # BR2_PACKAGE_NETPLUG is not set # BR2_PACKAGE_NETSNMP is not set # BR2_PACKAGE_NETSTAT_NAT is not set # BR2_PACKAGE_NFS_UTILS is not set # BR2_PACKAGE_NTP is not set # BR2_PACKAGE_OLSR is not set BR2_PACKAGE_OPENNTPD=y BR2_PACKAGE_OPENSSH=y BR2_PACKAGE_OPENSSL=y # BR2_PACKAGE_OPENSSL_BIN is not set # BR2_PACKAGE_OPENSSL_ENGINES is not set # BR2_PACKAGE_OPENVPN is not set # BR2_PACKAGE_PORTMAP is not set BR2_PACKAGE_PPPD=y BR2_PACKAGE_PPPD_FILTER=y # BR2_PACKAGE_RADVD is not set BR2_PACKAGE_RP_PPPOE=y # BR2_PACKAGE_PPTP_LINUX is not set # BR2_PACKAGE_PROFTPD is not set
#
# quagga suite # # BR2_PACKAGE_QUAGGA_ZEBRA is not set # BR2_PACKAGE_QUAGGA_BGPD is not set # BR2_PACKAGE_QUAGGA_RIPD is not set # BR2_PACKAGE_QUAGGA_RIPNGD is not set # BR2_PACKAGE_QUAGGA_OSPFD is not set # BR2_PACKAGE_QUAGGA_OSPF6D is not set # BR2_PACKAGE_QUAGGA_WATCHQUAGGA is not set # BR2_PACKAGE_QUAGGA_ISISD is not set BR2_PACKAGE_RSYNC=y # BR2_PACKAGE_SAMBA is not set # BR2_PACKAGE_SOCAT is not set # BR2_PACKAGE_SPAWN_FCGI is not set # BR2_PACKAGE_STUNNEL is not set BR2_PACKAGE_TCPDUMP=y # BR2_PACKAGE_TCPDUMP_SMB is not set # BR2_PACKAGE_DHCPDUMP is not set # BR2_PACKAGE_TFTPD is not set # BR2_PACKAGE_THTTPD is not set # BR2_PACKAGE_TINYHTTPD is not set # BR2_PACKAGE_TN5250 is not set # BR2_PACKAGE_TTCP is not set # BR2_PACKAGE_UDPCAST is not set # BR2_PACKAGE_VPNC is not set # BR2_PACKAGE_VSFTPD is not set # BR2_PACKAGE_VTUN is not set # BR2_PACKAGE_WEBIF is not set BR2_PACKAGE_WGET=y # BR2_PACKAGE_WIRELESS_TOOLS is not set # BR2_PACKAGE_WPA_SUPPLICANT is not set
#
# Hardware handling / blockdevices and filesystem maintenance #
# BR2_PACKAGE_ACPID is not set
#
# dbus not available (need expat or libxml2) #
#
# dbus-glib needs dbus to be compiled with expat support # # BR2_PACKAGE_DEVMEM2 is not set # BR2_PACKAGE_DMRAID is not set # BR2_PACKAGE_DOSFSTOOLS is not set BR2_PACKAGE_LIBUUID=y BR2_PACKAGE_E2FSPROGS=y BR2_PACKAGE_E2FSPROGS_BADBLOCKS=y BR2_PACKAGE_E2FSPROGS_BLKID=y BR2_PACKAGE_E2FSPROGS_CHATTR=y BR2_PACKAGE_E2FSPROGS_DUMPE2FS=y BR2_PACKAGE_E2FSPROGS_E2FSCK=y BR2_PACKAGE_E2FSPROGS_E2LABEL=y BR2_PACKAGE_E2FSPROGS_FILEFRAG=y BR2_PACKAGE_E2FSPROGS_FINDFS=y BR2_PACKAGE_E2FSPROGS_FSCK=y BR2_PACKAGE_E2FSPROGS_LOGSAVE=y BR2_PACKAGE_E2FSPROGS_LSATTR=y BR2_PACKAGE_E2FSPROGS_MKE2FS=y BR2_PACKAGE_E2FSPROGS_MKLOSTFOUND=y BR2_PACKAGE_E2FSPROGS_TUNE2FS=y BR2_PACKAGE_E2FSPROGS_UUIDGEN=y # BR2_PACKAGE_EEPROG is not set # BR2_PACKAGE_FCONFIG is not set # BR2_PACKAGE_FIS is not set # BR2_PACKAGE_LIBFUSE is not set # BR2_PACKAGE_GADGETFS_TEST is not set # BR2_PACKAGE_HAL is not set # BR2_PACKAGE_HDPARM is not set # BR2_PACKAGE_HOTPLUG is not set # BR2_PACKAGE_HWDATA is not set # BR2_PACKAGE_I2C_TOOLS is not set # BR2_PACKAGE_INPUT_TOOLS is not set # BR2_PACKAGE_IOSTAT is not set # BR2_PACKAGE_LIBAIO is not set # BR2_PACKAGE_LIBRAW1394 is not set BR2_PACKAGE_LIBUSB=y BR2_PACKAGE_LM_SENSORS=y # BR2_PACKAGE_LVM2 is not set # BR2_PACKAGE_MDADM is not set # BR2_PACKAGE_MEMTESTER is not set # BR2_PACKAGE_MTD is not set # BR2_PACKAGE_NTFS_3G is not set # BR2_PACKAGE_NTFSPROGS is not set BR2_PACKAGE_PCIUTILS=y # BR2_PACKAGE_SETSERIAL is not set # BR2_PACKAGE_SFDISK is not set # BR2_PACKAGE_SMARTMONTOOLS is not set # BR2_PACKAGE_UDEV is not set # BR2_PACKAGE_USBMOUNT is not set BR2_PACKAGE_USBUTILS=y # BR2_PACKAGE_WIPE is not set # BR2_PACKAGE_XFSPROGS is not set
#
# Audio and video libraries and applications
#
BR2_PACKAGE_ALSA_LIB=y
BR2_PACKAGE_ALSA_UTILS=y
#
# ALSA utils selection
#
BR2_PACKAGE_ALSA_UTILS_ALSACONF=y
BR2_PACKAGE_ALSA_UTILS_ALSACTL=y
BR2_PACKAGE_ALSA_UTILS_ALSAMIXER=y
# BR2_PACKAGE_ALSA_UTILS_AMIDI is not set
# BR2_PACKAGE_ALSA_UTILS_AMIXER is not set
# BR2_PACKAGE_ALSA_UTILS_APLAY is not set
# BR2_PACKAGE_ALSA_UTILS_ARECORD is not set
# BR2_PACKAGE_ALSA_UTILS_IECSET is not set
# BR2_PACKAGE_ALSA_UTILS_ACONNECT is not set
# BR2_PACKAGE_ALSA_UTILS_APLAYMIDI is not set
# BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI is not set
# BR2_PACKAGE_ALSA_UTILS_ASEQDUMP is not set
# BR2_PACKAGE_ALSA_UTILS_ASEQNET is not set
# BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST is not set
#
# asterisk - disabled (required openssl and mpg123)
#
BR2_PACKAGE_AUMIX=y
# BR2_PACKAGE_FLAC is not set
# BR2_PACKAGE_GSTREAMER is not set
# BR2_PACKAGE_LIBID3TAG is not set
# BR2_PACKAGE_LIBMAD is not set
# BR2_PACKAGE_LIBMMS is not set
# BR2_PACKAGE_LIBMPD is not set
# BR2_PACKAGE_LIBOGG is not set
# BR2_PACKAGE_LIBSNDFILE is not set
# BR2_PACKAGE_LIBTHEORA is not set
# BR2_PACKAGE_LIBVORBIS is not set
# BR2_PACKAGE_MADPLAY is not set
# BR2_PACKAGE_MPG123 is not set
# BR2_PACKAGE_MPLAYER is not set
# BR2_PACKAGE_SPEEX is not set
# BR2_PACKAGE_FESTIVAL is not set
#
# taglib requires a toolchain with C++ support enabled # # BR2_PACKAGE_VLC is not set
#
# Graphic libraries and applications (graphic/text) #
#
# text rendering libraries # BR2_PACKAGE_NCURSES=y BR2_PACKAGE_NCURSES_TARGET_PANEL=y BR2_PACKAGE_NCURSES_TARGET_FORM=y BR2_PACKAGE_NCURSES_TARGET_MENU=y BR2_PACKAGE_NCURSES_TARGET_HEADERS=y BR2_PACKAGE_NEWT=y # BR2_PACKAGE_SLANG is not set
#
# text rendering applications # # BR2_PACKAGE_DIALOG is not set
#
# graphic libraries # # BR2_PACKAGE_DIRECTFB is not set # BR2_PACKAGE_FBDUMP is not set # BR2_PACKAGE_IMAGEMAGICK is not set # BR2_PACKAGE_JPEG is not set # BR2_PACKAGE_LIBART is not set # BR2_PACKAGE_LIBPNG is not set # BR2_PACKAGE_LIBUNGIF is not set # BR2_PACKAGE_LINUX_FUSION is not set # BR2_PACKAGE_PIXMAN is not set # BR2_PACKAGE_SDL is not set # BR2_PACKAGE_TIFF is not set
#
# busybox graphic applications #
#
# --> May be broken in busybox
#
# BR2_PACKAGE_FBV is not set
# BR2_PACKAGE_FBSET is not set
#
# other GUIs #
#
# qt requires a toolchain with C++ support enabled # # BR2_PACKAGE_XORG7 is not set
#
# X libraries and helper libraries
#
# BR2_PACKAGE_ATK is not set
# BR2_PACKAGE_CAIRO is not set
# BR2_PACKAGE_PANGO is not set
# BR2_PACKAGE_LIBDRM is not set
# BR2_PACKAGE_LIBERATION is not set
# BR2_PACKAGE_LIBGLIB12 is not set
# BR2_PACKAGE_LIBGLIB2 is not set
# BR2_PACKAGE_OPENMOTIF is not set
# BR2_PACKAGE_FONTCONFIG is not set
# BR2_PACKAGE_FREETYPE is not set
# BR2_PACKAGE_TSLIB is not set
#
# webkit requires a toolchain with C++ support and WCHAR enabled #
#
# X Window managers
#
# BR2_PACKAGE_MATCHBOX is not set
#
# X applications
#
# BR2_PACKAGE_ALSAMIXERGUI is not set
# BR2_PACKAGE_GQVIEW is not set
# BR2_PACKAGE_GOB2 is not set
# BR2_PACKAGE_LEAFPAD is not set
# BR2_PACKAGE_PCMANFM is not set
# BR2_PACKAGE_SYLPHEED is not set
# BR2_PACKAGE_TORSMO is not set
# BR2_PACKAGE_X11VNC is not set
# BR2_PACKAGE_XPDF is not set
# BR2_PACKAGE_XSTROKE is not set
#
# Compressors / decompressors
#
BR2_PACKAGE_GZIP=y
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_LZOP is not set
#
# lzma requires a toolchain with C++ support # # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y BR2_PACKAGE_ZLIB_TARGET_HEADERS=y
#
# Package managers
#
# BR2_PACKAGE_IPKG is not set
# BR2_PACKAGE_PORTAGE is not set
# BR2_PACKAGE_RPM is not set
#
# Interpreter languages / Scripting
#
# BR2_PACKAGE_LUA is not set
BR2_PACKAGE_MICROPERL=y
BR2_PACKAGE_MICROPERL_MODULES=""
# BR2_PACKAGE_PYTHON is not set
# BR2_PACKAGE_RUBY is not set
# BR2_PACKAGE_TCL is not set
# BR2_PACKAGE_PHP is not set
#
# XML handling
#
# BR2_PACKAGE_EXPAT is not set
# BR2_PACKAGE_EZXML is not set
# BR2_PACKAGE_LIBXML2 is not set
# BR2_PACKAGE_LIBXSLT is not set
#
# xerces-c++ requires a toolchain with C++ support enabled #
#
# Java
#
# BR2_PACKAGE_CLASSPATH is not set
#
# Games
#
# BR2_PACKAGE_GNUCHESS is not set
# BR2_PACKAGE_MAGICCUBE4D is not set
# BR2_PACKAGE_PRBOOM is not set
# BR2_PACKAGE_RUBIX is not set
# BR2_PACKAGE_VICE is not set
# BR2_PACKAGE_XBOARD is not set
#
# Target filesystem options
#
BR2_ROOTFS_PREFIX="rootfs"
BR2_ROOTFS_SUFFIX=""
BR2_ROOTFS_POST_BUILD_SCRIPT=""
#
# filesystem for target device # # BR2_TARGET_ROOTFS_CRAMFS is not set # BR2_TARGET_ROOTFS_CLOOP is not set BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_BLOCKS=0 BR2_TARGET_ROOTFS_EXT2_INODES=0 BR2_TARGET_ROOTFS_EXT2_RESBLKS=0 BR2_TARGET_ROOTFS_EXT2_SQUASH=y BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2" BR2_TARGET_ROOTFS_EXT2_NONE=y # BR2_TARGET_ROOTFS_EXT2_GZIP is not set # BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set # BR2_TARGET_ROOTFS_EXT2_LZMA is not set BR2_TARGET_ROOTFS_EXT2_COPYTO="" # BR2_TARGET_ROOTFS_JFFS2 is not set # BR2_TARGET_ROOTFS_SQUASHFS is not set # BR2_TARGET_ROOTFS_TAR is not set # BR2_TARGET_ROOTFS_CPIO is not set
#
# iso image requires a Linux kernel to be built # # BR2_TARGET_ROOTFS_INITRAMFS is not set # BR2_TARGET_ROOTFS_ROMFS is not set
#
# bootloader for target device # # BR2_TARGET_GRUB is not set # BR2_TARGET_SYSLINUX is not set # BR2_TARGET_PXELINUX is not set # BR2_TARGET_UBOOT is not set
#
# Kernel
#
BR2_KERNEL_none=y
# BR2_KERNEL_LINUX_ADVANCED is not set
# BR2_KERNEL_LINUX is not set
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephen" == Stephen Rodgers <[email protected]> writes:
Hi,
Stephen> Here's the correct file.
Stephen> BR2_UCLIBC_VERSION_STRING="0.9.30.1"
Stephen> BR2_UCLIBC_CONFIG="uClibc.config"
You forgot to send your custom uClibc.config. Coreutils builds here (Debian) with that config but with the default uclibc config (miniperl fails through, looking into that now).
Could you either try with the default uclibc config or post your config?
Signature · 1 line
Bye, Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephen" == Stephen Rodgers <[email protected]> writes:
Hi,
Quoted 1 line
Quoted 1 line
Could you either try with the default uclibc config or post your config?
Stephen> I can confirm that default uClibc config fails in the same Stephen> way. The only difference between my custom config and the Stephen> default config is the enabling of SUSV3 legacy support which Stephen> is required for Asterisk/Zaptel.
Stephen> In the meantime, As a test I modified the config.h in in the Stephen> build_i686/coreutils-7.4 directory to see if it would compile, Stephen> and it did:
Stephen> /* Define if rename does not work when the destination file exists, as Stephen> on Windows. */
Stephen> /* #define RENAME_DEST_EXISTS_BUG 1 */
Ok, but then you need to figure out why that gets defined. Looking at the code it doesn't make any sense to me:
case "$host_os" in
mingw*) gl_cv_func_rename_dest_exists_bug=yes ;;
*) gl_cv_func_rename_dest_exists_bug=no ;;
esacyour host_os definately shouldn't be mingw on a Linux machine. Could you please put your (compressed) coreutils-7.4/config.log file somewhere so I can take a look?
Signature · 1 line
Bye, Peter Korsgaard
Quoted 22 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephen" == Stephen Rodgers <[email protected]> writes:
Hi,
Quoted 1 line
Quoted 1 line
Could you either try with the default uclibc config or post your config?
Stephen> I can confirm that default uClibc config fails in the same Stephen> way. The only difference between my custom config and the Stephen> default config is the enabling of SUSV3 legacy support which Stephen> is required for Asterisk/Zaptel.
Stephen> In the meantime, As a test I modified the
config.hin in the Stephen> build_i686/coreutils-7.4 directory to see if it would compile, Stephen> and it did:Stephen> /* Define if rename does not work when the destination file exists, as Stephen> on Windows. */
Stephen> /* #defineRENAME_DEST_EXISTS_BUG1 */Ok, but then you need to figure out why that gets defined. Looking at the code it doesn't make any sense to me:
Quoted 9 lines
case "$host_os" in mingw*) gl_cv_func_rename_dest_exists_bug=yes ;; *) gl_cv_func_rename_dest_exists_bug=no ;; esacyour
host_osdefinately shouldn't be mingw on a Linux machine. Could you please put your (compressed) coreutils-7.4/config.log file somewhere so I can take a look?
Hi Peter,
As you requested, I tarred up the config.log from the failed coreutils-7.4 build. You should be able to wget config.log.tar.gz using the following url:
http://test.qrvc.com/config.log.tar.gz
Steve.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephen" == Stephen Rodgers <[email protected]> writes:
Hi,
Stephen> As you requested, I tarred up the config.log from the failed Stephen> coreutils-7.4 build. You should be able to wget Stephen> config.log.tar.gz using the following url:
Stephen> http://test.qrvc.com/config.log.tar.gz
Thanks. The bug is in the coreutils configure script:
grep -i -A1 -B1 '^[^|].*dest.*exists' config.log
configure:28670: result: yes
configure:28672: checking whether rename is broken when the destination exists configure:28684: result: no
--
gl_cv_func_re_compile_pattern_working=no gl_cv_func_rename_dest_exists_bug=no gl_cv_func_rename_trailing_dest_slash_bug=yes
--
#define RENAME_TRAILING_SLASH_BUG 1
#define RENAME_DEST_EXISTS_BUG 1
#define rename rpl_rename_dest_slash
It correctly detects that you don't need the windows-only rename workaround, but still it ends up defining RENAME_DEST_EXISTS_BUG.
The logic (m4/rename.m4) goes:
if test $gl_cv_func_rename_trailing_slash_bug = yes ||
test $gl_cv_func_rename_dest_exists_bug = yes; then
AC_LIBOBJ([rename])
AC_DEFINE([rename], [rpl_rename],
[Define to rpl_rename if the replacement function should be used.])
if test $gl_cv_func_rename_trailing_slash_bug; then
AC_DEFINE([RENAME_TRAILING_SLASH_BUG], [1],
[Define if rename does not work for source file names with a trailing
slash, like the one from SunOS 4.1.1_U1.])
fi
if test $gl_cv_func_rename_dest_exists_bug; then
AC_DEFINE([RENAME_DEST_EXISTS_BUG], [1],
[Define if rename does not work when the destination file exists,
as on Windows.])
fi
gl_PREREQ_RENAME
fi
Notice that the 2nd test doesn't do 'test $var = yes', so if any of the 2 variables are true both defines will get set. Just above we see:
dnl When crosscompiling, assume rename is broken. gl_cv_func_rename_trailing_slash_bug=yes)
So the quick fix is to tell configure that we don't need the trailing slash bugfix (which also just adds to the size and isn't needed on uclibc).
I've done that in git (dfca1b2e0e) - Please give it a try.
I've just checked, and all of this is removed in the recently released coreutils 7.5, so we might consider upgrading to that.
Signature · 1 line
Bye, Peter Korsgaard
Quoted 55 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephen" == Stephen Rodgers <[email protected]> writes:
Hi,
Stephen> As you requested, I tarred up the config.log from the failed Stephen> coreutils-7.4 build. You should be able to wget Stephen> config.log.tar.gz using the following url:
Stephen> http://test.qrvc.com/config.log.tar.gz
Thanks. The bug is in the coreutils configure script:
grep -i -A1 -B1 '^[^|].*dest.*exists' config.log
configure:28670: result: yes
configure:28672: checking whether rename is broken when the destination exists configure:28684: result: no
--
gl_cv_func_re_compile_pattern_working=no gl_cv_func_rename_dest_exists_bug=no gl_cv_func_rename_trailing_dest_slash_bug=yes
--
#defineRENAME_TRAILING_SLASH_BUG1
#defineRENAME_DEST_EXISTS_BUG1
#define renamerpl_rename_dest_slashIt correctly detects that you don't need the windows-only rename workaround, but still it ends up defining
RENAME_DEST_EXISTS_BUG.The logic (m4/rename.m4) goes:
if test $gl_cv_func_rename_trailing_slash_bug = yes ||
test $gl_cv_func_rename_dest_exists_bug = yes; then
AC_LIBOBJ([rename])
AC_DEFINE([rename], [rpl_rename],
[Define torpl_renameif the replacement function should be used.])
if test $gl_cv_func_rename_trailing_slash_bug; then
AC_DEFINE([RENAME_TRAILING_SLASH_BUG], [1],
[Define if rename does not work for source file names with a trailing
slash, like the one from SunOS 4.1.1_U1.])
fi
if test $gl_cv_func_rename_dest_exists_bug; then
AC_DEFINE([RENAME_DEST_EXISTS_BUG], [1],
[Define if rename does not work when the destination file exists,
as on Windows.])
fi
gl_PREREQ_RENAME
fiNotice that the 2nd test doesn't do 'test $var = yes', so if any of the 2 variables are true both defines will get set. Just above we see:
dnl When crosscompiling, assume rename is broken. gl_cv_func_rename_trailing_slash_bug=yes)
Quoted 9 lines
So the quick fix is to tell configure that we don't need the trailing slash bugfix (which also just adds to the size and isn't needed on uclibc).
I've done that in git (
dfca1b2e0e) - Please give it a try.I've just checked, and all of this is removed in the recently released coreutils 7.5, so we might consider upgrading to that.
With the fix to coreutils.mk, the build is still failing in exactly the same way. Here's coreutils.mk showing the change:
#############################################################
#
# coreutils # ############################################################# COREUTILS_VERSION:=7.4 COREUTILS_SOURCE:=coreutils-$(COREUTILS_VERSION).tar.gz #COREUTILS_SITE:=ftp://alpha.gnu.org/gnu/coreutils/ COREUTILS_SITE:=$(BR2_GNU_MIRROR)/coreutils COREUTILS_CAT:=$(ZCAT) COREUTILS_DIR:=$(BUILD_DIR)/coreutils-$(COREUTILS_VERSION) COREUTILS_BINARY:=src/vdir COREUTILS_TARGET_BINARY:=bin/vdir BIN_PROGS:=cat chgrp chmod chown cp date dd df dir echo false hostname \ ln ls mkdir mknod mv pwd rm rmdir vdir sleep stty sync touch true uname
$(DL_DIR)/$(COREUTILS_SOURCE):
$(call DOWNLOAD,$(COREUTILS_SITE),$(COREUTILS_SOURCE))
coreutils-source: $(DL_DIR)/$(COREUTILS_SOURCE)
$(COREUTILS_DIR)/.unpacked: $(DL_DIR)/$(COREUTILS_SOURCE)
$(COREUTILS_CAT) $(DL_DIR)/$(COREUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(COREUTILS_DIR) package/coreutils/ coreutils\*.patch $(CONFIG_UPDATE) $(COREUTILS_DIR)/build-aux touch $@
$(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked
(cd $(COREUTILS_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_ARGS) \ ac_cv_func_strtod=yes \ ac_fsusage_space=yes \ fu_cv_sys_stat_statfs2_bsize=yes \ ac_cv_func_closedir_void=no \ ac_cv_func_getloadavg=no \ ac_cv_lib_util_getloadavg=no \ ac_cv_lib_getloadavg_getloadavg=no \ ac_cv_func_getgroups=yes \ ac_cv_func_getgroups_works=yes \ ac_cv_func_chown_works=yes \ ac_cv_have_decl_euidaccess=no \ ac_cv_func_euidaccess=no \ ac_cv_have_decl_strnlen=yes \ ac_cv_func_strnlen_working=yes \ ac_cv_func_lstat_dereferences_slashed_symlink=yes \ ac_cv_func_lstat_empty_string_bug=no \ ac_cv_func_stat_empty_string_bug=no \ gl_cv_func_rename_trailing_slash_bug=no \ ac_cv_have_decl_nanosleep=yes \ jm_cv_func_nanosleep_works=yes \ gl_cv_func_working_utimes=yes \ ac_cv_func_utime_null=yes \ ac_cv_have_decl_strerror_r=yes \ ac_cv_func_strerror_r_char_p=no \ jm_cv_func_svid_putenv=yes \ ac_cv_func_getcwd_null=yes \ ac_cv_func_getdelim=yes \ ac_cv_func_mkstemp=yes \ utils_cv_func_mkstemp_limitations=no \ utils_cv_func_mkdir_trailing_slash_bug=no \ gl_cv_func_rename_dest_exists_bug=no \ ac_cv_func_memcmp_working=yes \ ac_cv_have_decl_malloc=yes \ gl_cv_func_malloc_0_nonnull=yes \ ac_cv_func_malloc_0_nonnull=yes \ ac_cv_func_calloc_0_nonnull=yes \ ac_cv_func_realloc_0_nonnull=yes \ jm_cv_func_gettimeofday_clobber=no \ am_cv_func_working_getline=yes \ gl_cv_func_working_readdir=yes \ jm_ac_cv_func_link_follows_symlink=no \ utils_cv_localtime_cache=no \ ac_cv_struct_st_mtim_nsec=no \ gl_cv_func_tzset_clobber=no \ gl_cv_func_getcwd_null=yes \ gl_cv_func_getcwd_path_max=yes \ ac_cv_func_fnmatch_gnu=yes \ am_getline_needs_run_time_check=no \ am_cv_func_working_getline=yes \ gl_cv_func_mkdir_trailing_slash_bug=no \ gl_cv_func_mkstemp_limitations=no \ ac_cv_func_working_mktime=yes \ jm_cv_func_working_re_compile_pattern=yes \ ac_use_included_regex=no \ gl_cv_c_restrict=no \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --libdir=/lib \ --libexecdir=/usr/lib \ --sysconfdir=/etc \ --datadir=/usr/share \ --localstatedir=/var \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ $(DISABLE_NLS) \ $(DISABLE_LARGEFILE) \ --disable-rpath \ --disable-dependency-tracking \ ) touch $@
$(COREUTILS_DIR)/$(COREUTILS_BINARY): $(COREUTILS_DIR)/.configured
$(MAKE) -C $(COREUTILS_DIR) rm -f $(TARGET_DIR)/$(COREUTILS_TARGET_BINARY)
$(TARGET_DIR)/$(COREUTILS_TARGET_BINARY):
$(COREUTILS_DIR)/$(COREUTILS_BINARY)
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(COREUTILS_DIR) install # some things go in root rather than usr for f in $(BIN_PROGS); do \ mv $(TARGET_DIR)/usr/bin/$$f $(TARGET_DIR)/bin/$$f; \ done # link for archaic shells ln -fs test $(TARGET_DIR)/usr/bin/[ # gnu thinks chroot is in bin, debian thinks it's in sbin mv $(TARGET_DIR)/usr/bin/chroot $(TARGET_DIR)/usr/sbin/chroot $(STRIPCMD) $(TARGET_DIR)/usr/sbin/chroot > /dev/null 2>&1 ifneq ($(BR2_HAVE_INFOPAGES),y) rm -rf $(TARGET_DIR)/usr/share/info endif ifneq ($(BR2_HAVE_MANPAGES),y) rm -rf $(TARGET_DIR)/usr/share/man endif rm -rf $(TARGET_DIR)/share/locale rm -rf $(TARGET_DIR)/usr/share/doc
# If both coreutils and busybox are selected, make certain coreutils
# wins the fight over who gets to have their utils actually installed. ifeq ($(BR2_PACKAGE_BUSYBOX),y) coreutils: uclibc busybox $(TARGET_DIR)/$(COREUTILS_TARGET_BINARY) else coreutils: uclibc $(TARGET_DIR)/$(COREUTILS_TARGET_BINARY) endif
# If both coreutils and busybox are selected, the corresponding applets
# may need to be reinstated by the clean targets. coreutils-clean: $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(COREUTILS_DIR) uninstall -$(MAKE) -C $(COREUTILS_DIR) clean
coreutils-dirclean:
rm -rf $(COREUTILS_DIR)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_COREUTILS),y)
TARGETS+=coreutils
endif
If I search config.log in build_i696/coreutils, I see gl_cv_func_rename_trailing_slash_bug=yes on line 75574. Snippet below:
gl_cv_func_re_compile_pattern_working=no
gl_cv_func_rename_dest_exists_bug=no
gl_cv_func_rename_trailing_dest_slash_bug=yes
gl_cv_func_rename_trailing_slash_bug=yes
gl_cv_func_rmdir_errno_not_empty=ENOTEMPTY
gl_cv_func_select_supports0='guessing yes'
For some unknown reason, gl_cv_func_rename_trailing_slash_bug is getting set to "yes" when configure is run even though it is being passed in as "no" in an environemnt variable from coreutils.mk.
Steve
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephen" == Stephen Rodgers <[email protected]> writes:
Hi,
Stephen> If I search config.log in build_i696/coreutils, I see Stephen> gl_cv_func_rename_trailing_slash_bug=yes on line 75574. Snippet below:
Stephen> gl_cv_func_re_compile_pattern_working=no Stephen> gl_cv_func_rename_dest_exists_bug=no Stephen> gl_cv_func_rename_trailing_dest_slash_bug=yes Stephen> gl_cv_func_rename_trailing_slash_bug=yes Stephen> gl_cv_func_rmdir_errno_not_empty=ENOTEMPTY Stephen> gl_cv_func_select_supports0='guessing yes'
Hmm, it worked here. Is this with a complete clean rebuild? (rm -rf *build_*; make)
Signature · 1 line
Bye, Peter Korsgaard
Quoted 14 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephen" == Stephen Rodgers <[email protected]> writes:
Hi,
Stephen> If I search config.log in build_i696/coreutils, I see Stephen> gl_cv_func_rename_trailing_slash_bug=yes on line 75574. Snippet below:
Stephen> gl_cv_func_re_compile_pattern_working=no Stephen> gl_cv_func_rename_dest_exists_bug=no Stephen> gl_cv_func_rename_trailing_dest_slash_bug=yes Stephen> gl_cv_func_rename_trailing_slash_bug=yes Stephen> gl_cv_func_rmdir_errno_not_empty=ENOTEMPTY Stephen> gl_cv_func_select_supports0='guessing yes'
Quoted 3 lines
Hmm, it worked here. Is this with a complete clean rebuild? (rm -rf *build_*; make)
Yes, it was a complete rebuild with all build dirs. deleted.
Steve.
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephen" == Stephen Rodgers <[email protected]> writes:
Hmm, it worked here. Is this with a complete clean rebuild? (rm -rf *build_*; make)
Stephen> Yes, it was a complete rebuild with all build dirs. deleted.
Strange. I just did a clean rebuild here, and it still works.
Could you please put your config.log somewhere online again?
Signature · 1 line
Bye, Peter Korsgaard
Quoted 11 lines · Peter Korsgaard
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephen" == Stephen Rodgers <[email protected]> writes:
Hmm, it worked here. Is this with a complete clean rebuild? (rm -rf *build_*; make)
Stephen> Yes, it was a complete rebuild with all build dirs. deleted.
Strange. I just did a clean rebuild here, and it still works.
Could you please put your config.log somewhere online again?
Same place as last time, but newer file..
http://test.qrvc.com/config.log.tar.gz
Steve.