Guest User

Untitled

a guest
Sep 13th, 2012
358
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /home/lex/openwrt/8.09/staging_dir/host/bin/sed -i -e 's,^CROSS=.*,CROSS=mips-linux-uclibc-,g' /home/lex/openwrt/8.09/build_dir/toolchain-mips_gcc4.1.2/uClibc-0.9.29/Rules.mak
  2. PATH=/home/lex/openwrt/8.09/staging_dir/toolchain-mips_gcc4.1.2/bin:/home/lex/openwrt/8.09/staging_dir/host/bin:/home/lex/openwrt/8.09/staging_dir/mips/host/bin:/home/lex/openwrt/8.09/staging_dir/toolchain-mips_gcc4.1.2/bin:/home/lex/openwrt/8.09/staging_dir/host/bin:/home/lex/openwrt/8.09/staging_dir/mips/host/bin:/home/lex/openwrt/8.09/staging_dir/toolchain-mips_gcc4.1.2/bin:/home/lex/openwrt/8.09/staging_dir/host/bin:/home/lex/openwrt/8.09/staging_dir/mips/host/bin:/usr/local/sbin:/usr/local/bin:/usr/libexec:/sbin:/home/lex/.rc/.bin:/usr/local/bin:/usr/bin:/bin:/usr/games make -C /home/lex/openwrt/8.09/build_dir/toolchain-mips_gcc4.1.2/uClibc-0.9.29 AR=mips-linux-uclibc-ar AS="mips-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts" LD=mips-linux-uclibc-ld NM=mips-linux-uclibc-nm CC="mips-linux-uclibc-gcc" GCC="mips-linux-uclibc-gcc" CXX="mips-linux-uclibc-g++" RANLIB=mips-linux-uclibc-ranlib STRIP=mips-linux-uclibc-strip OBJCOPY=mips-linux-uclibc-objcopy OBJDUMP=mips-linux-uclibc-objdump SIZE=mips-linux-uclibc-size DEVEL_PREFIX=/ RUNTIME_PREFIX=/ HOSTCC="gcc" CPU_CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts" PREFIX= all
  3. make[4]: Entering directory `/home/lex/openwrt/8.09/build_dir/toolchain-mips_gcc4.1.2/uClibc-0.9.29'
  4. make -C extra/config conf
  5. make[5]: `conf' is up to date.
  6. make headers-y
  7. ln -sf .././libpthread/linuxthreads.old/sysdeps/pthread/pthread.h ./include/
  8. ln -sf .././libpthread/linuxthreads.old/semaphore.h ./include/
  9. install -d ./include/bits
  10. ln -sf ../.././libpthread/linuxthreads.old/sysdeps/pthread/bits/pthreadtypes.h ./include/bits/
  11. ln -fs sgidefs.h ./include/
  12. \
  13. set -e; \
  14. if [ -e libc/sysdeps/linux/mips/fpu_control.h ] ; then \
  15. ln -fs ../libc/sysdeps/linux/mips/fpu_control.h include/ ; \
  16. else \
  17. ln -fs ../libc/sysdeps/linux/common/fpu_control.h include/ ; \
  18. fi; \
  19. for f in dl-osinfo.h hp-timing.h ; do \
  20. ln -fs ../libc/sysdeps/linux/common/$f include/ ; \
  21. done
  22. \
  23. cd include/bits; \
  24. set -e; \
  25. 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 \
  26. ln -fs ../../libc/sysdeps/linux/common/bits/$i .; \
  27. done; \
  28. 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 \
  29. ln -fs ../../libc/sysdeps/linux/mips/bits/$i .; \
  30. done; \
  31. 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 \
  32. ln -fs ../../libc/sysdeps/linux/mips/bits//$i .; \
  33. done
  34. \
  35. cd include/sys; \
  36. set -e; \
  37. for i in `ls ../../libc/sysdeps/linux/common/sys/*.h` ; do \
  38. ln -fs $i .; \
  39. done; \
  40. if [ -d ../../libc/sysdeps/linux/mips/sys ] ; then \
  41. for i in `ls ../../libc/sysdeps/linux/mips/sys/*.h` ; do \
  42. ln -fs $i .; \
  43. done; \
  44. fi
  45. \
  46. set -e; \
  47. cd ./; \
  48. tmp=`mktemp include/bits/sysnum.h.XXXXXX 2>/dev/null`; \
  49. [ -z "$tmp" ] && tmp='include/bits/sysnum.h.new'; \
  50. KERNEL_HEADERS="/home/lex/openwrt/8.09/build_dir/toolchain-mips_gcc4.1.2/linux/include/" top_builddir=. CC="mips-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts" /bin/sh extra/scripts/gen_bits_syscall_h.sh > $tmp; \
  51. if cmp include/bits/sysnum.h $tmp >/dev/null 2>&1; then \
  52. rm -f $tmp; \
  53. else \
  54. mv -f $tmp include/bits/sysnum.h; \
  55. fi
  56. <stdin>:1:24: error: asm/unistd.h: No such file or directory
  57. <stdin>:1:24: error: asm/unistd.h: No such file or directory
  58. mips-linux-uclibc-gcc -c ldso/ldso/ldso.c -o ldso/ldso/ldso.oS -include ./include/libc-symbols.h -Wall -Wstrict-prototypes -fno-strict-aliasing -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -fno-stack-protector -fno-builtin -nostdinc -I./include -I. -Os -funit-at-a-time -fno-tree-loop-optimize -fno-tree-dominator-opts -fno-strength-reduce -mno-split-addresses -I./libpthread/linuxthreads.old/sysdeps/unix/sysv/linux/mips -I./libpthread/linuxthreads.old/sysdeps/mips -I./libpthread/linuxthreads.old/sysdeps/unix/sysv/linux -I./libpthread/linuxthreads.old/sysdeps/pthread -I./libpthread/linuxthreads.old -I./libpthread -I/home/lex/openwrt/8.09/build_dir/toolchain-mips_gcc4.1.2/linux/include/ -isystem /home/lex/openwrt/8.09/staging_dir/toolchain-mips_gcc4.1.2/lib/gcc/mips-linux-uclibc/4.1.2/include -DNDEBUG -mno-split-addresses -fPIC -DSHARED -DNOT_IN_libc -DIS_IN_rtld -fno-stack-protector -fno-omit-frame-pointer -I./ldso/ldso/mips -I./ldso/include -I./ldso/ldso -DUCLIBC_RUNTIME_PREFIX="/" -DUCLIBC_LDSO="ld-uClibc.so.0" -DLDSO_ELFINTERP="mips/elfinterp.c"
  59. In file included from ./ldso/include/ldso.h:36,
  60. from ldso/ldso/ldso.c:33:
  61. ./ldso/include/dl-syscall.h: In function '_dl_exit':
  62. ./ldso/include/dl-syscall.h:58: error: '__NR_exit' undeclared (first use in this function)
  63. ./ldso/include/dl-syscall.h:58: error: (Each undeclared identifier is reported only once
  64. ./ldso/include/dl-syscall.h:58: error: for each function it appears in.)
  65. ./ldso/include/dl-syscall.h: In function '_dl_close':
  66. ./ldso/include/dl-syscall.h:61: error: '__NR_close' undeclared (first use in this function)
  67. ./ldso/include/dl-syscall.h: In function '_dl_open':
  68. ./ldso/include/dl-syscall.h:64: error: '__NR_open' undeclared (first use in this function)
  69. ./ldso/include/dl-syscall.h: In function '_dl_write':
  70. ./ldso/include/dl-syscall.h:68: error: '__NR_write' undeclared (first use in this function)
  71. ./ldso/include/dl-syscall.h: In function '_dl_read':
  72. ./ldso/include/dl-syscall.h:72: error: '__NR_read' undeclared (first use in this function)
  73. ./ldso/include/dl-syscall.h: In function '_dl_mprotect':
  74. ./ldso/include/dl-syscall.h:76: error: '__NR_mprotect' undeclared (first use in this function)
  75. ./ldso/include/dl-syscall.h: In function '_dl_stat':
  76. ./ldso/include/dl-syscall.h:80: error: '__NR_stat' undeclared (first use in this function)
  77. ./ldso/include/dl-syscall.h: In function '_dl_fstat':
  78. ./ldso/include/dl-syscall.h:84: error: '__NR_fstat' undeclared (first use in this function)
  79. ./ldso/include/dl-syscall.h: In function '_dl_munmap':
  80. ./ldso/include/dl-syscall.h:87: error: '__NR_munmap' undeclared (first use in this function)
  81. ./ldso/include/dl-syscall.h: In function '_dl_getuid':
  82. ./ldso/include/dl-syscall.h:93: error: '__NR_getuid' undeclared (first use in this function)
  83. ./ldso/include/dl-syscall.h: In function '_dl_geteuid':
  84. ./ldso/include/dl-syscall.h:99: error: '__NR_getuid' undeclared (first use in this function)
  85. ./ldso/include/dl-syscall.h: In function '_dl_getgid':
  86. ./ldso/include/dl-syscall.h:105: error: '__NR_getgid' undeclared (first use in this function)
  87. ./ldso/include/dl-syscall.h: In function '_dl_getegid':
  88. ./ldso/include/dl-syscall.h:111: error: '__NR_getgid' undeclared (first use in this function)
  89. ./ldso/include/dl-syscall.h: In function '_dl_getpid':
  90. ./ldso/include/dl-syscall.h:117: error: '__NR_getpid' undeclared (first use in this function)
  91. ./ldso/include/dl-syscall.h: In function '_dl_readlink':
  92. ./ldso/include/dl-syscall.h:120: error: '__NR_readlink' undeclared (first use in this function)
  93. In file included from ./ldso/include/ldso.h:36,
  94. from ldso/ldso/ldso.c:33:
  95. ./ldso/include/dl-syscall.h:196:3: error: #error "Your architecture doesn't seem to provide mmap() !?"
  96. ldso/ldso/ldso.c: In function '_dl_malloc':
  97. ldso/ldso/ldso.c:898: warning: implicit declaration of function '_dl_mmap'
  98. ldso/ldso/ldso.c:899: warning: assignment makes pointer from integer without a cast
  99. In file included from ldso/ldso/ldso.c:918:
  100. ldso/ldso/dl-elf.c: In function '_dl_map_cache':
  101. ldso/ldso/dl-elf.c:60: warning: assignment makes pointer from integer without a cast
  102. ldso/ldso/dl-elf.c: In function '_dl_load_elf_shared_library':
  103. ldso/ldso/dl-elf.c:386: warning: assignment makes pointer from integer without a cast
  104. ldso/ldso/dl-elf.c: In function '_dl_dprintf':
  105. ldso/ldso/dl-elf.c:729: warning: assignment makes pointer from integer without a cast
  106. make[4]: *** [ldso/ldso/ldso.oS] Error 1
  107. make[4]: Leaving directory `/home/lex/openwrt/8.09/build_dir/toolchain-mips_gcc4.1.2/uClibc-0.9.29'
  108. make[3]: *** [/home/lex/openwrt/8.09/staging_dir/toolchain-mips_gcc4.1.2/stamp/.uclibc_installed] Error 2
  109. make[3]: Leaving directory `/home/lex/openwrt/8.09/toolchain/uClibc'
  110. make[2]: *** [toolchain/uClibc/compile] Error 2
  111. make[2]: Leaving directory `/home/lex/openwrt/8.09'
  112. make[1]: *** [/home/lex/openwrt/8.09/staging_dir/mips/stamp/.toolchain_install] Error 2
  113. make[1]: Leaving directory `/home/lex/openwrt/8.09'
  114. make: *** [world] Error 2
RAW Paste Data