Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /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
- 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
- make[4]: Entering directory `/home/lex/openwrt/8.09/build_dir/toolchain-mips_gcc4.1.2/uClibc-0.9.29'
- make -C extra/config conf
- make[5]: `conf' is up to date.
- 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="/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; \
- if cmp include/bits/sysnum.h $tmp >/dev/null 2>&1; then \
- rm -f $tmp; \
- else \
- mv -f $tmp include/bits/sysnum.h; \
- fi
- <stdin>:1:24: error: asm/unistd.h: No such file or directory
- <stdin>:1:24: error: asm/unistd.h: No such file or directory
- 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"
- In file included from ./ldso/include/ldso.h:36,
- from ldso/ldso/ldso.c:33:
- ./ldso/include/dl-syscall.h: In function '_dl_exit':
- ./ldso/include/dl-syscall.h:58: error: '__NR_exit' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h:58: error: (Each undeclared identifier is reported only once
- ./ldso/include/dl-syscall.h:58: error: for each function it appears in.)
- ./ldso/include/dl-syscall.h: In function '_dl_close':
- ./ldso/include/dl-syscall.h:61: error: '__NR_close' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h: In function '_dl_open':
- ./ldso/include/dl-syscall.h:64: error: '__NR_open' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h: In function '_dl_write':
- ./ldso/include/dl-syscall.h:68: error: '__NR_write' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h: In function '_dl_read':
- ./ldso/include/dl-syscall.h:72: error: '__NR_read' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h: In function '_dl_mprotect':
- ./ldso/include/dl-syscall.h:76: error: '__NR_mprotect' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h: In function '_dl_stat':
- ./ldso/include/dl-syscall.h:80: error: '__NR_stat' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h: In function '_dl_fstat':
- ./ldso/include/dl-syscall.h:84: error: '__NR_fstat' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h: In function '_dl_munmap':
- ./ldso/include/dl-syscall.h:87: error: '__NR_munmap' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h: In function '_dl_getuid':
- ./ldso/include/dl-syscall.h:93: error: '__NR_getuid' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h: In function '_dl_geteuid':
- ./ldso/include/dl-syscall.h:99: error: '__NR_getuid' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h: In function '_dl_getgid':
- ./ldso/include/dl-syscall.h:105: error: '__NR_getgid' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h: In function '_dl_getegid':
- ./ldso/include/dl-syscall.h:111: error: '__NR_getgid' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h: In function '_dl_getpid':
- ./ldso/include/dl-syscall.h:117: error: '__NR_getpid' undeclared (first use in this function)
- ./ldso/include/dl-syscall.h: In function '_dl_readlink':
- ./ldso/include/dl-syscall.h:120: error: '__NR_readlink' undeclared (first use in this function)
- In file included from ./ldso/include/ldso.h:36,
- from ldso/ldso/ldso.c:33:
- ./ldso/include/dl-syscall.h:196:3: error: #error "Your architecture doesn't seem to provide mmap() !?"
- ldso/ldso/ldso.c: In function '_dl_malloc':
- ldso/ldso/ldso.c:898: warning: implicit declaration of function '_dl_mmap'
- ldso/ldso/ldso.c:899: warning: assignment makes pointer from integer without a cast
- In file included from ldso/ldso/ldso.c:918:
- ldso/ldso/dl-elf.c: In function '_dl_map_cache':
- ldso/ldso/dl-elf.c:60: warning: assignment makes pointer from integer without a cast
- ldso/ldso/dl-elf.c: In function '_dl_load_elf_shared_library':
- ldso/ldso/dl-elf.c:386: warning: assignment makes pointer from integer without a cast
- ldso/ldso/dl-elf.c: In function '_dl_dprintf':
- ldso/ldso/dl-elf.c:729: warning: assignment makes pointer from integer without a cast
- make[4]: *** [ldso/ldso/ldso.oS] Error 1
- make[4]: Leaving directory `/home/lex/openwrt/8.09/build_dir/toolchain-mips_gcc4.1.2/uClibc-0.9.29'
- make[3]: *** [/home/lex/openwrt/8.09/staging_dir/toolchain-mips_gcc4.1.2/stamp/.uclibc_installed] Error 2
- make[3]: Leaving directory `/home/lex/openwrt/8.09/toolchain/uClibc'
- make[2]: *** [toolchain/uClibc/compile] Error 2
- make[2]: Leaving directory `/home/lex/openwrt/8.09'
- make[1]: *** [/home/lex/openwrt/8.09/staging_dir/mips/stamp/.toolchain_install] Error 2
- make[1]: Leaving directory `/home/lex/openwrt/8.09'
- make: *** [world] Error 2
Advertisement
Add Comment
Please, Sign In to add comment