I am building trunk with the profile Broadcom BCM947xx/953xx [2.6] and No Wifi, and getting an error reported by uClibc..
the old revison of trunk(about rev 112xx) can be build correctly but the lastest revison cause this error with my building entironment.(arch linux 2.6.22 and gcc 4.2.1)
emm.. I have not do anything before svn up if I remember rightly.
log is here, any help is appreciation.
sorry for my english..
make[1]: Entering directory `/doggy/openwrt/kamikaze'
make[2]: Entering directory `/doggy/openwrt/kamikaze'
++ mkdir -p /doggy/openwrt/kamikaze/staging_dir/mipsel
++ cd /doggy/openwrt/kamikaze/staging_dir/mipsel
++ mkdir -p bin lib include stamp
++ mkdir -p /doggy/openwrt/kamikaze/staging_dir/host
++ cd /doggy/openwrt/kamikaze/staging_dir/host
++ mkdir -p bin lib include stamp
mkdir -p /doggy/openwrt/kamikaze/build_dir/host/stamp /doggy/openwrt/kamikaze/build_dir/mipsel/stamp
install -m0644 /doggy/openwrt/kamikaze/tools/include/*.h /doggy/openwrt/kamikaze/staging_dir/host/include/
touch /doggy/openwrt/kamikaze/staging_dir/mipsel/.prepared
make[3]: Entering directory `/doggy/openwrt/kamikaze/toolchain/kernel-headers'
make[3]: Leaving directory `/doggy/openwrt/kamikaze/toolchain/kernel-headers'
make[3]: Entering directory `/doggy/openwrt/kamikaze/toolchain/uClibc'
prepare uClibc version 0.9.29
bzcat /doggy/openwrt/kamikaze/dl/uClibc-0.9.29.tar.bz2 | /bin/tar -C /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29/.. -xf -
Ignoring subdirectory ./patches/0.9.28.2
Applying ./patches/001-fix_mmap.patch using plaintext:
patching file test/mmap/mmap2.c
patching file libc/sysdeps/linux/arm/mmap.c
patching file libc/sysdeps/linux/common/mmap64.c
Applying ./patches/002-conditional_sched_affinity.patch using plaintext:
patching file libc/sysdeps/linux/common/sched_getaffinity.c
patching file libc/sysdeps/linux/common/sched_setaffinity.c
Applying ./patches/004-fix_gethostent_r_failure_retval.patch using plaintext:
patching file libc/inet/resolv.c
Applying ./patches/005-fix_internal_function_definition.patch using plaintext:
patching file libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
patching file include/libc-symbols.h
Applying ./patches/006-rm_whitespace.patch using plaintext:
patching file include/assert.h
patching file include/complex.h
patching file include/features.h
patching file include/tgmath.h
Applying ./patches/007-avr32.patch using plaintext:
patching file Rules.mak
patching file extra/Configs/Config.avr32
patching file extra/Configs/Config.in
patching file extra/Configs/defconfigs/avr32
patching file include/elf.h
patching file ldso/include/dl-string.h
patching file ldso/include/dl-syscall.h
patching file ldso/ldso/avr32/dl-debug.h
patching file ldso/ldso/avr32/dl-startup.h
patching file ldso/ldso/avr32/dl-syscalls.h
patching file ldso/ldso/avr32/dl-sysdep.h
patching file ldso/ldso/avr32/elfinterp.c
patching file ldso/ldso/avr32/resolve.S
patching file ldso/ldso/dl-startup.c
patching file libc/inet/resolv.c
patching file libc/string/avr32/Makefile
patching file libc/string/avr32/bcopy.S
patching file libc/string/avr32/bzero.S
patching file libc/string/avr32/memcmp.S
patching file libc/string/avr32/memcpy.S
patching file libc/string/avr32/memmove.S
patching file libc/string/avr32/memset.S
patching file libc/string/avr32/strcmp.S
patching file libc/string/avr32/strlen.S
patching file libc/sysdeps/linux/avr32/Makefile
patching file libc/sysdeps/linux/avr32/Makefile.arch
patching file libc/sysdeps/linux/avr32/__longjmp.S
patching file libc/sysdeps/linux/avr32/bits/atomic.h
patching file libc/sysdeps/linux/avr32/bits/byteswap.h
patching file libc/sysdeps/linux/avr32/bits/endian.h
patching file libc/sysdeps/linux/avr32/bits/fcntl.h
patching file libc/sysdeps/linux/avr32/bits/kernel_stat.h
patching file libc/sysdeps/linux/avr32/bits/kernel_types.h
patching file libc/sysdeps/linux/avr32/bits/mman.h
patching file libc/sysdeps/linux/avr32/bits/setjmp.h
patching file libc/sysdeps/linux/avr32/bits/stackinfo.h
patching file libc/sysdeps/linux/avr32/bits/syscalls.h
patching file libc/sysdeps/linux/avr32/bits/uClibc_arch_features.h
patching file libc/sysdeps/linux/avr32/bits/wordsize.h
patching file libc/sysdeps/linux/avr32/brk.c
patching file libc/sysdeps/linux/avr32/bsd-_setjmp.S
patching file libc/sysdeps/linux/avr32/bsd-setjmp.S
patching file libc/sysdeps/linux/avr32/clone.c
patching file libc/sysdeps/linux/avr32/crt1.S
patching file libc/sysdeps/linux/avr32/crti.S
patching file libc/sysdeps/linux/avr32/crtn.S
patching file libc/sysdeps/linux/avr32/mmap.c
patching file libc/sysdeps/linux/avr32/setjmp.S
patching file libc/sysdeps/linux/avr32/sigaction.c
patching file libc/sysdeps/linux/avr32/sigrestorer.S
patching file libc/sysdeps/linux/avr32/sys/elf.h
patching file libc/sysdeps/linux/avr32/sys/procfs.h
patching file libc/sysdeps/linux/avr32/sys/ucontext.h
patching file libc/sysdeps/linux/avr32/sys/user.h
patching file libc/sysdeps/linux/avr32/syscall.S
patching file libc/sysdeps/linux/avr32/vfork.S
patching file libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h
patching file libpthread/linuxthreads/sysdeps/avr32/pt-machine.h
patching file utils/ldd.c
Applying ./patches/008-avr32_fix_sa_onstack.patch using plaintext:
patching file libc/sysdeps/linux/avr32/sigaction.c
Applying ./patches/009-fix_getaddrinfo_infinite_loop.patch using plaintext:
patching file libc/inet/getaddrinfo.c
Applying ./patches/100-termios.patch using plaintext:
patching file libc/sysdeps/linux/common/bits/termios.h
Applying ./patches/110-compat_macros.patch using plaintext:
patching file include/string.h
patching file include/strings.h
Applying ./patches/120-adjtimex.patch using plaintext:
patching file include/sys/timex.h
Applying ./patches/130-compile_fixes.patch using plaintext:
patching file libc/string/mips/sysdep.h
patching file Rules.mak
Applying ./patches/130-sockets_throw.patch using plaintext:
patching file libc/sysdeps/linux/mips/bits/socket.h
cp -fpR ././config/mipsel /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29/.config
/doggy/openwrt/kamikaze/staging_dir/host/bin/sed -i -e 's,^KERNEL_HEADERS=.*,KERNEL_HEADERS=\"/doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include\",g' -e 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=y,g' -e 's,^.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=y,g' -e 's,^.*CONFIG_ARM_EABI.*,CONFIG_ARM_EABI=n,g' -e 's,^.*CONFIG_ARM_OABI.*,CONFIG_ARM_OABI=y,g' -e 's,^.*UCLIBC_HAS_SHADOW.*,UCLIBC_HAS_SHADOW=y,g' /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29/.config
mkdir -p /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc_dev/usr/include
mkdir -p /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc_dev/usr/lib
mkdir -p /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc_dev/lib
if [ ! -f /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc_dev/usr/include/linux/version.h ] ; then cp -pLR /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include/asm /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc_dev/usr/include/; cp -pLR /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include/asm-mips /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc_dev/usr/include/; cp -pLR /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include/asm-generic /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc_dev/usr/include/; cp -pLR /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include/linux /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc_dev/usr/include/; cp -pLR /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include/asm /doggy/openwrt/kamikaze/staging_dir/toolchain-mipsel_gcc4.1.2/include/ ; cp -pLR /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include/asm-mips /doggy/openwrt/kamikaze/staging_dir/toolchain-mipsel_gcc4.1.2/include/ ; cp -pLR /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include/asm-generic /doggy/openwrt/kamikaze/staging_dir/toolchain-mipsel_gcc4.1.2/include/ ; cp -pLR /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include/linux /doggy/openwrt/kamikaze/staging_dir/toolchain-mipsel_gcc4.1.2/include/ ; cp -pLR /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include/asm /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29/include/ ; cp -pLR /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include/asm-mips /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29/include/ ; cp -pLR /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include/asm-generic /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29/include/ ; cp -pLR /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include/linux /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29/include/ ; fi;
make -C /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29/extra/config conf KBUILD_HAVE_NLS= HOSTCFLAGS="-DKBUILD_NO_NLS"
make[4]: Entering directory `/doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29/extra/config'
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS -MM *.c > .depend 2>/dev/null || :
make[4]: Leaving directory `/doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29/extra/config'
make[4]: Entering directory `/doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29/extra/config'
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS -c conf.c -o conf.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS -c kxgettext.c -o kxgettext.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS -c lxdialog/checklist.c -o lxdialog/checklist.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS -c lxdialog/inputbox.c -o lxdialog/inputbox.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS -c lxdialog/menubox.c -o lxdialog/menubox.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS -c lxdialog/textbox.c -o lxdialog/textbox.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS -c lxdialog/util.c -o lxdialog/util.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS -c lxdialog/yesno.c -o lxdialog/yesno.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS -c mconf.c -o mconf.o
mconf.c: In function 'conf_string':
mconf.c:775: warning: assignment discards qualifiers from pointer target type
mconf.c:778: warning: assignment discards qualifiers from pointer target type
mconf.c:781: warning: assignment discards qualifiers from pointer target type
cat zconf.tab.c_shipped > zconf.tab.c
cat lex.zconf.c_shipped > lex.zconf.c
cat zconf.hash.c_shipped > zconf.hash.c
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS -I. -c zconf.tab.c -o zconf.tab.o
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -DKBUILD_NO_NLS -lncursesw conf.o zconf.tab.o -o conf
make[4]: Leaving directory `/doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29/extra/config'
PATH=/doggy/openwrt/kamikaze/staging_dir/toolchain-mipsel_gcc4.1.2/bin:/doggy/openwrt/kamikaze/staging_dir/host/bin:/doggy/openwrt/kamikaze/staging_dir/mipsel/host/bin:/doggy/openwrt/kamikaze/staging_dir/toolchain-mipsel_gcc4.1.2/bin:/doggy/openwrt/kamikaze/staging_dir/host/bin:/doggy/openwrt/kamikaze/staging_dir/mipsel/host/bin:/doggy/openwrt/kamikaze/staging_dir/toolchain-mipsel_gcc4.1.2/bin:/doggy/openwrt/kamikaze/staging_dir/host/bin:/doggy/openwrt/kamikaze/staging_dir/mipsel/host/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin make -C /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29 PREFIX=/doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc_dev/ DEVEL_PREFIX=/usr/ RUNTIME_PREFIX=/doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc_dev/ HOSTCC="gcc" CPU_CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts" pregen install_dev;
make[4]: Entering directory `/doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29'
install -d include/bits
make -C extra/config conf
gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -MM *.c > .depend 2>/dev/null || :
make[5]: `conf' is up to date.
install -d include/bits/
.config:60:warning: trying to assign nonexistent symbol KERNEL_SOURCE
.config:72:warning: trying to assign nonexistent symbol BUILD_UCLIBC_LDSO
.config:79:warning: trying to assign nonexistent symbol DL_FINI_CRT_COMPAT
*
* uClibc Configuration
*
Target Architecture
1. alpha (TARGET_alpha)
2. arm (TARGET_arm)
3. avr32 (TARGET_avr32)
4. bfin (TARGET_bfin)
5. cris (TARGET_cris)
6. e1 (BROKEN) (TARGET_e1)
7. frv (BROKEN) (TARGET_frv)
8. h8300 (BROKEN) (TARGET_h8300)
9. hppa (TARGET_hppa)
10. i386 (TARGET_i386)
11. i960 (BROKEN) (TARGET_i960)
12. ia64 (TARGET_ia64)
13. m68k (TARGET_m68k)
14. microblaze (BROKEN) (TARGET_microblaze)
> 15. mips (TARGET_mips)
16. nios (TARGET_nios)
17. nios2 (TARGET_nios2)
18. powerpc (TARGET_powerpc)
19. superh (TARGET_sh)
20. sh64 (TARGET_sh64)
21. sparc (TARGET_sparc)
22. v850 (BROKEN) (TARGET_v850)
23. vax (TARGET_vax)
24. x86_64 (TARGET_x86_64)
choice[1-24?]: 15
*
* Target Architecture Features and Options
*
Target ABI
> 1. O32 ABI (CONFIG_MIPS_O32_ABI)
2. N32 ABI (CONFIG_MIPS_N32_ABI)
3. N64 ABI (CONFIG_MIPS_N64_ABI)
choice[1-3?]: 1
Target Processor Architecture
1. Generic (MIPS I) (CONFIG_MIPS_ISA_1)
2. MIPS II (CONFIG_MIPS_ISA_2)
3. MIPS III (CONFIG_MIPS_ISA_3)
4. MIPS IV (CONFIG_MIPS_ISA_4)
> 5. MIPS32 (CONFIG_MIPS_ISA_MIPS32)
6. MIPS64 (CONFIG_MIPS_ISA_MIPS64)
choice[1-6?]: 5
*
* Using ELF file format
*
Target Processor Endianness
1. Big Endian (ARCH_WANTS_BIG_ENDIAN)
> 2. Little Endian (ARCH_WANTS_LITTLE_ENDIAN)
choice[1-2?]: 2
Target CPU has a memory management unit (MMU) (ARCH_HAS_MMU) [Y/n/?] y
Do you want to utilize the MMU? (ARCH_USE_MMU) [Y/n/?] y
Enable floating point number support (UCLIBC_HAS_FLOATS) [Y/n/?] y
Target CPU has a floating point unit (FPU) (UCLIBC_HAS_FPU) [Y/n/?] y
Enable full C99 math library support (DO_C99_MATH) [Y/n/?] y
Linux kernel header location (KERNEL_HEADERS) [/doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include] /doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include
*
* General Library Settings
*
Generate only Position Independent Code (PIC) (DOPIC) [Y/n/?] y
Enable support for shared libraries (HAVE_SHARED) [Y/n/?] y
Only load shared libraries which can share their text segment (FORCE_SHAREABLE_TEXT_SEGMENTS) [N/y/?] n
Native 'ldd' support (LDSO_LDD_SUPPORT) [Y/n/?] y
Enable library loader cache (ld.so.conf) (LDSO_CACHE_SUPPORT) [Y/n/?] y
Enable library loader preload file (ld.so.preload) (LDSO_PRELOAD_FILE_SUPPORT) [N/y/?] n
Shared library loader naming prefix (LDSO_BASE_FILENAME) [ld.so] ld.so
Link ldconfig statically (UCLIBC_STATIC_LDCONFIG) [N/y/?] n
Enable ELF RUNPATH tag support (LDSO_RUNPATH) [Y/n/?] y
Support global constructors and destructors (UCLIBC_CTOR_DTOR) [Y/n/?] y
POSIX Threading Support (UCLIBC_HAS_THREADS) [Y/n/?] y
Build pthreads debugging support (PTHREADS_DEBUG_SUPPORT) [N/y/?] n
Use the older (stable) version of linuxthreads (LINUXTHREADS_OLD) [Y/n/?] y
Large File Support (UCLIBC_HAS_LFS) [Y/n/?] y
Malloc Implementation
1. malloc (MALLOC)
2. malloc-simple (MALLOC_SIMPLE)
> 3. malloc-standard (MALLOC_STANDARD)
choice[1-3?]: 3
Malloc returns live pointer for malloc(0) (MALLOC_GLIBC_COMPAT) [Y/n/?] y
Dynamic atexit() Support (UCLIBC_DYNAMIC_ATEXIT) [Y/n/?] y
Old (visible) atexit Support (COMPAT_ATEXIT) [Y/n/?] y
Enable SuSv3 LEGACY functions (UCLIBC_SUSV3_LEGACY) [N/y/?] n
Enable SuSv3 LEGACY macros (UCLIBC_SUSV3_LEGACY_MACROS) [Y/n/?] y
Shadow Password Support (UCLIBC_HAS_SHADOW) [Y/n/?] y
Support for program_invocation_name (UCLIBC_HAS_PROGRAM_INVOCATION_NAME) [Y/n/?] y
Support for __progname (UCLIBC_HAS___PROGNAME) [Y/n/?] y
Support only Unix 98 PTYs (UNIX98PTY_ONLY) [N/y/?] n
Assume that /dev/pts is a devpts or devfs file system (ASSUME_DEVPTS) [Y/n/?] y
Support 'struct tm' timezone extension fields (UCLIBC_HAS_TM_EXTENSIONS) [Y/n/?] y
Enable caching of the last valid timezone 'TZ' string (UCLIBC_HAS_TZ_CACHING) [Y/n/?] y
Enable '/etc/TZ' file support to set a default timezone (uClibc-specific) (UCLIBC_HAS_TZ_FILE) [Y/n/?] y
Repeatedly read the '/etc/TZ' file (UCLIBC_HAS_TZ_FILE_READ_MANY) [Y/n/?] y
Path to the 'TZ' file for setting the global timezone (UCLIBC_TZ_FILE_PATH) [/etc/TZ] /etc/TZ
*
* Advanced Library Settings
*
Buffer size for getpwnam() and friends (UCLIBC_PWD_BUFFER_SIZE) [256] 256
Buffer size for getgrnam() and friends (UCLIBC_GRP_BUFFER_SIZE) [256] 256
*
* Networking Support
*
IP version 6 Support (UCLIBC_HAS_IPV6) [Y/n/?] y
Remote Procedure Call (RPC) support (UCLIBC_HAS_RPC) [Y/n/?] y
Full RPC support (UCLIBC_HAS_FULL_RPC) [Y/n/?] y
Reentrant RPC support (UCLIBC_HAS_REENTRANT_RPC) [N/y/?] n
Use netlink to query interfaces (UCLIBC_USE_NETLINK) [N/y/?] n
Support res_close() (bsd-compat) (UCLIBC_HAS_BSD_RES_CLOSE) [Y/n/?] y
*
* String and Stdio Support
*
Use glibc generic string functions (UCLIBC_HAS_STRING_GENERIC_OPT) [Y/n/?] y
Use arch-specific string functions (UCLIBC_HAS_STRING_ARCH_OPT) [Y/n/?] y
Use Table Versions Of 'ctype.h' Functions. (UCLIBC_HAS_CTYPE_TABLES) [Y/n/?] y
Support Signed Characters In 'ctype.h' Functions. (UCLIBC_HAS_CTYPE_SIGNED) [Y/n/?] y
ctype argument checking
1. Do not check -- unsafe (UCLIBC_HAS_CTYPE_UNSAFE)
> 2. Detect and handle appropriately (UCLIBC_HAS_CTYPE_CHECKED)
3. Issue a diagnostic and abort() (UCLIBC_HAS_CTYPE_ENFORCED)
choice[1-3?]: 2
Wide Character Support (UCLIBC_HAS_WCHAR) [Y/n/?] y
Locale Support (UCLIBC_HAS_LOCALE) [N/y/?] n
Support hexadecimal float notation (UCLIBC_HAS_HEXADECIMAL_FLOATS) [Y/n/?] y
Support glibc's register_printf_function() (glibc-compat) (UCLIBC_HAS_GLIBC_CUSTOM_PRINTF) [Y/n/?] y
Maximum number of positional args. Either 0 or >= 9. (UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS) [9] 9
Support glibc's 'a' flag for scanf string conversions (not implemented) (UCLIBC_HAS_SCANF_GLIBC_A_FLAG) [Y/n/?] y
Stdio buffer size
1. 256 (minimum ANSI/ISO C99 value) (UCLIBC_HAS_STDIO_BUFSIZ_256)
2. 512 (UCLIBC_HAS_STDIO_BUFSIZ_512)
3. 1024 (UCLIBC_HAS_STDIO_BUFSIZ_1024)
4. 2048 (UCLIBC_HAS_STDIO_BUFSIZ_2048)
> 5. 4096 (UCLIBC_HAS_STDIO_BUFSIZ_4096)
6. 8192 (UCLIBC_HAS_STDIO_BUFSIZ_8192)
choice[1-6?]: 5
Stdio builtin buffer size (uClibc-specific)
> 1. None (UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE)
2. 4 (UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4)
3. 8 (UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8)
choice[1-3?]: 1
Attempt to shutdown stdio subsystem when abort() is called. (UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT) [N/y/?] n
Provide a macro version of getc() (UCLIBC_HAS_STDIO_GETC_MACRO) [Y/n/?] y
Provide a macro version of putc() (UCLIBC_HAS_STDIO_PUTC_MACRO) [Y/n/?] y
Support auto-r/w transition (UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION) [Y/n/?] y
Support an fopen() 'F' flag for large file mode (uClibc-specific) (UCLIBC_HAS_FOPEN_LARGEFILE_MODE) [N/y/?] n
Support an fopen() 'x' flag for exclusive mode (glibc-compat) (UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE) [Y/n/?] y
Support fmemopen(), open_memstream(), and fopencookie() (glibc-compat) (UCLIBC_HAS_GLIBC_CUSTOM_STREAMS) [Y/n/?] y
Support the '%m' specifier in printf format strings (glibc-compat) (UCLIBC_HAS_PRINTF_M_SPEC) [Y/n/?] y
Include the errno message text in the library (UCLIBC_HAS_ERRNO_MESSAGES) [Y/n/?] y
Support sys_errlist[] (obsolete-compat) (UCLIBC_HAS_SYS_ERRLIST) [N/y/?] n
Include the signum message text in the library (UCLIBC_HAS_SIGNUM_MESSAGES) [Y/n/?] y
Support sys_siglist[] (bsd-compat) (UCLIBC_HAS_SYS_SIGLIST) [N/y/?] n
Support gnu getopt (UCLIBC_HAS_GNU_GETOPT) [Y/n/?] y
Support glibc getsubopt (UCLIBC_HAS_GNU_GETSUBOPT) [Y/n/?] y
*
* Big and Tall
*
Regular Expression Support (UCLIBC_HAS_REGEX) [Y/n/?] y
Use the older (stable) regular expression code (UCLIBC_HAS_REGEX_OLD) [Y/n/?] y
fnmatch Support (UCLIBC_HAS_FNMATCH) [Y/n/?] y
Use the older (stable) fnmatch code (UCLIBC_HAS_FNMATCH_OLD) [Y/n/?] y
Support the wordexp() interface (UCLIBC_HAS_WORDEXP) [Y/n/?] y
Support the ftw() and nftw() interfaces (UCLIBC_HAS_FTW) [Y/n/?] y
Support the glob() interface (UCLIBC_HAS_GLOB) [Y/n/?] y
Support gnu glob() interface (UCLIBC_HAS_GNU_GLOB) [Y/n/?] y
*
* Library Installation Options
*
Shared library loader path (SHARED_LIB_LOADER_PREFIX) [/lib] /lib
uClibc runtime library directory (RUNTIME_PREFIX) [/] /
uClibc development environment directory (DEVEL_PREFIX) [/usr/] /usr/
*
* Security options
*
Build utilities as ET_DYN/PIE executables (UCLIBC_BUILD_PIE) [N/y/?] n
Include the arc4random() function (UCLIBC_HAS_ARC4RANDOM) [N/y/?] n
Support for propolice smashing stack protector (UCLIBC_HAS_SSP) [N/y/?] n
Build uClibc with RELRO (UCLIBC_BUILD_RELRO) [Y/n/?] y
Build uClibc with NOW (UCLIBC_BUILD_NOW) [N/y/?] n
Build uClibc with noexecstack marking (UCLIBC_BUILD_NOEXECSTACK) [Y/n/?] y
*
* uClibc development/debugging options
*
Cross-compiling toolchain prefix (CROSS_COMPILER_PREFIX) []
Enter any extra CFLAGS to use to build uClibc (UCLIBC_EXTRA_CFLAGS) []
Build uClibc with debugging symbols (DODEBUG) [N/y/?] n
Build pthread with debugging output (DODEBUG_PT) [N/y/?] n
Strip libraries and executables (DOSTRIP) [Y/n/?] y
Build uClibc with run-time assertion testing (DOASSERTS) [N/y/?] n
Build the shared library loader with debugging support (SUPPORT_LD_DEBUG) [N/y/?] n
Build the shared library loader with early debugging support (SUPPORT_LD_DEBUG_EARLY) [N/y/?] n
Build malloc with debugging support (UCLIBC_MALLOC_DEBUGGING) [N/y/?] n
Compiler Warnings (WARNINGS) [-Wall] -Wall
Enable extra annoying warnings (EXTRA_WARNINGS) [N/y/?] n
Compile all sources at once into an object (DOMULTI) [N/y/?] n
Manuel's hidden warnings (UCLIBC_MJN3_ONLY) [N/y/?] n
#
# configuration written to .config
#
./extra/scripts/conf-header.sh .config > include/bits/uClibc_config.h
make headers-y
ln -sf .././libpthread/linuxthreads.old/sysdeps/pthread/pthread.h ./include/
ln -sf .././libpthread/linuxthreads.old/semaphore.h ./include/
install -d ./include/bits
ln -sf ../.././libpthread/linuxthreads.old/sysdeps/pthread/bits/pthreadtypes.h ./include/bits/
ln -fs sgidefs.h ./include/
\
set -e; \
if [ -e libc/sysdeps/linux/mips/fpu_control.h ] ; then \
ln -fs ../libc/sysdeps/linux/mips/fpu_control.h include/ ; \
else \
ln -fs ../libc/sysdeps/linux/common/fpu_control.h include/ ; \
fi; \
for f in dl-osinfo.h hp-timing.h ; do \
ln -fs ../libc/sysdeps/linux/common/$f include/ ; \
done
\
cd include/bits; \
set -e; \
for i in byteswap.h cmathcalls.h confname.h elfclass.h environments.h errno.h fenvinline.h getopt.h huge_val.h huge_valf.h huge_vall.h in.h inf.h initspin.h ioctls.h local_lim.h locale.h mathcalls.h mathinline.h mqueue.h nan.h netdb.h posix1_lim.h posix2_lim.h posix_opt.h sched.h select.h sigset.h sigthread.h sockaddr.h statvfs.h stdio.h stdio_lim.h time.h types.h typesizes.h uClibc_clk_tck.h uClibc_ctype.h uClibc_errno.h uClibc_fpmax.h uClibc_local_lim.h uClibc_locale.h uClibc_mutex.h uClibc_pthread.h uClibc_stdio.h uClibc_touplow.h uClibc_uintmaxtostr.h uClibc_uwchar.h uClibc_va_copy.h uio.h ustat.h utmp.h utmpx.h utsname.h waitflags.h waitstatus.h wchar.h xopen_lim.h ; do \
ln -fs ../../libc/sysdeps/linux/common/bits/$i .; \
done; \
for i in atomic.h dirent.h dlfcn.h endian.h errno_values.h fcntl.h fenv.h ioctl-types.h ipc.h kernel_sigaction.h kernel_stat.h kernel_types.h mathdef.h mman.h msq.h poll.h resource.h sem.h setjmp.h shm.h sigaction.h sigcontext.h sigcontextinfo.h siginfo.h signum.h sigstack.h socket.h stackinfo.h stat.h statfs.h syscalls.h termios.h uClibc_arch_features.h uClibc_page.h wordsize.h ; do \
ln -fs ../../libc/sysdeps/linux/mips/bits/$i .; \
done; \
for i in atomic.h dirent.h dlfcn.h endian.h errno_values.h fcntl.h fenv.h ioctl-types.h ipc.h kernel_sigaction.h kernel_stat.h kernel_types.h mathdef.h mman.h msq.h poll.h resource.h sem.h setjmp.h shm.h sigaction.h sigcontext.h sigcontextinfo.h siginfo.h signum.h sigstack.h socket.h stackinfo.h stat.h statfs.h syscalls.h termios.h uClibc_arch_features.h uClibc_page.h wordsize.h ; do \
ln -fs ../../libc/sysdeps/linux/mips/bits//$i .; \
done
\
cd include/sys; \
set -e; \
for i in `ls ../../libc/sysdeps/linux/common/sys/*.h` ; do \
ln -fs $i .; \
done; \
if [ -d ../../libc/sysdeps/linux/mips/sys ] ; then \
for i in `ls ../../libc/sysdeps/linux/mips/sys/*.h` ; do \
ln -fs $i .; \
done; \
fi
\
set -e; \
cd ./; \
tmp=`mktemp include/bits/sysnum.h.XXXXXX 2>/dev/null`; \
[ -z "$tmp" ] && tmp='include/bits/sysnum.h.new'; \
KERNEL_HEADERS="/doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/linux/include/" top_builddir=. CC=" gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts" /bin/sh extra/scripts/gen_bits_syscall_h.sh > $tmp; \
if cmp include/bits/sysnum.h $tmp >/dev/null 2>&1; then \
rm -f $tmp; \
else \
mv -f $tmp include/bits/sysnum.h; \
fi
make[4]: *** [headers] Error 127
make[4]: Leaving directory `/doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29'
make[3]: *** [/doggy/openwrt/kamikaze/build_dir/toolchain-mipsel_gcc4.1.2/uClibc-0.9.29/.prepared32b419d9e6565bdb66e7e3be59c0bc99] Error 2
make[3]: Leaving directory `/doggy/openwrt/kamikaze/toolchain/uClibc'
make[2]: *** [toolchain/uClibc/prepare] Error 2
make[2]: Leaving directory `/doggy/openwrt/kamikaze'
make[1]: *** [/doggy/openwrt/kamikaze/staging_dir/mipsel/stamp/.toolchain_install] Error 2
make[1]: Leaving directory `/doggy/openwrt/kamikaze'
make: *** [world] Error 2