- 论坛徽章:
- 0
|
构建arm-gcc交叉编译链,安装glibc库的时候
../glibc-2.7/configure --host=arm-linux --prefix="/usr" --with-headers=/home/kuernikewa/armlinux/tools/arm-linux/include --enable-add-ons
执行make,结果出现如下错误,不知道怎么弄:
在包含自 ../sysdeps/unix/sysdep.h:21 的文件中,
从 ../ports/sysdeps/unix/arm/sysdep.h:20,
从 ../ports/sysdeps/unix/sysv/linux/arm/sysdep.h:26,
从 <stdin>:1:
../sysdeps/unix/sysv/linux/sys/syscall.h:25:24: 错误:asm/unistd.h:没有那个文件或目录
在包含自 ../include/tls.h:6 的文件中,
从 <stdin>:2:
../ports/sysdeps/arm/nptl/tls.h:48:3: 错误:#error "TLS support is required."
在包含自 ../sysdeps/unix/sysv/linux/sys/param.h:24 的文件中,
从 ../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h:23,
从 ../nptl/descr.h:30,
从 ../ports/sysdeps/arm/nptl/tls.h:63,
从 ../include/tls.h:6,
从 <stdin>:2:
/home/kuernikewa/armlinux/tools/arm-linux/include/linux/param.h:4:23: 错误:asm/param.h:没有那个文件或目录
在包含自 ../socket/sys/socket.h:36 的文件中,
从 ../include/sys/socket.h:2,
从 ../inet/netinet/in.h:25,
从 ../include/netinet/in.h:3,
从 ../resolv/resolv.h:57,
从 ../include/resolv.h:12,
从 ../nptl/descr.h:39,
从 ../ports/sysdeps/arm/nptl/tls.h:63,
从 ../include/tls.h:6,
从 <stdin>:2:
../sysdeps/unix/sysv/linux/bits/socket.h:320:24: 错误:asm/socket.h:没有那个文件或目录
make[2]: *** [/home/kuernikewa/armlinux/build-tools/build-glibc/tcb-offsets.h] 错误 1
make[2]: Leaving directory `/home/kuernikewa/armlinux/build-tools/glibc-2.7/csu'
make[1]: *** [csu/subdir_lib] 错误 2
make[1]: Leaving directory `/home/kuernikewa/armlinux/build-tools/glibc-2.7'
make: *** [all] 错误 2
[ 本帖最后由 kuernikewa 于 2008-11-5 16:34 编辑 ] |
|