LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 727|回复: 0

编译glibc-2.3.6出错~~

[复制链接]
发表于 2010-8-1 10:47:28 | 显示全部楼层 |阅读模式
ARM交叉编译环境的建立。
make -r PARALLELMFLAGS="" CVSOPTS="" -C .. objdir=`pwd` all
make[1]: Entering directory `/home/scuter/Download/glibc-2.3.6'
make  -C csu subdir_lib
make[2]: Entering directory `/home/scuter/Download/glibc-2.3.6/csu'
arm-linux-gcc ../sysdeps/unix/sysv/linux/init-first.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g      -I../include -I. -I/home/scuter/Download/glibc-2.3.6/arm-linux/csu -I.. -I../libio  -I/home/scuter/Download/glibc-2.3.6/arm-linux -I../sysdeps/arm/elf -I../linuxthreads/sysdeps/unix/sysv/linux/arm -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm -I../sysdeps/unix/sysv/linux/arm -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/fpu -I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /home/scuter/x-tools/lib/gcc/arm-linux/3.4.2/include -isystem /home/scuter/x-tools/arm-linux/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -o /home/scuter/Download/glibc-2.3.6/arm-linux/csu/init-first.o -MD -MP -MF /home/scuter/Download/glibc-2.3.6/arm-linux/csu/init-first.o.dt -MT /home/scuter/Download/glibc-2.3.6/arm-linux/csu/init-first.o
In file included from ../sysdeps/unix/sysdep.h:21,
                 from ../sysdeps/unix/arm/sysdep.h:19,
                 from ../sysdeps/unix/sysv/linux/arm/sysdep.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:24:
../sysdeps/unix/sysv/linux/sys/syscall.h:25:24: asm/unistd.h: No such file or directory
In file included from ../sysdeps/unix/sysv/linux/sys/param.h:24,
                 from ../sysdeps/unix/sysv/linux/init-first.c:26:
/home/scuter/x-tools/arm-linux/include/linux/param.h:4:23: asm/param.h: No such file or directory
In file included from ../signal/signal.h:333,
                 from ../include/signal.h:5,
                 from ../linuxthreads/internals.h:23,
                 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
                 from ../sysdeps/generic/ldsodefs.h:38,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:30:
../sysdeps/unix/sysv/linux/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or directory
In file included from ../include/signal.h:5,
                 from ../linuxthreads/internals.h:23,
                 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
                 from ../sysdeps/generic/ldsodefs.h:38,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:30:
../signal/signal.h:336: warning: "struct sigcontext" declared inside parameter list
../signal/signal.h:336: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from ../linuxthreads/internals.h:23,
                 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
                 from ../sysdeps/generic/ldsodefs.h:38,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:30:
../include/signal.h:40: warning: "struct sigcontext" declared inside parameter list
In file included from ../sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:20,
                 from ../linuxthreads/internals.h:27,
                 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
                 from ../sysdeps/generic/ldsodefs.h:38,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:30:
../sysdeps/unix/sysv/linux/arm/bits/armsigctx.h:33:24: asm/ptrace.h: No such file or directory
In file included from ../sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:20,
                 from ../linuxthreads/internals.h:27,
                 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
                 from ../sysdeps/generic/ldsodefs.h:38,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:30:
../sysdeps/unix/sysv/linux/arm/bits/armsigctx.h:64: error: field `reg' has incomplete type
In file included from ../socket/sys/socket.h:35,
                 from ../include/sys/socket.h:2,
                 from ../inet/netinet/in.h:24,
                 from ../include/netinet/in.h:3,
                 from ../resolv/resolv.h:57,
                 from ../include/resolv.h:11,
                 from ../linuxthreads/descr.h:19,
                 from ../linuxthreads/internals.h:30,
                 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
                 from ../sysdeps/generic/ldsodefs.h:38,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:30:
../sysdeps/unix/sysv/linux/bits/socket.h:304:24: asm/socket.h: No such file or directory
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表