u_int64_t not foundcat

Itachi_zheng 2015-03-20 02:52:00

building for Linux:arm
checking for C compiler ... found (not tested, cross compiling)
+ using GNU C compiler
+ gcc version: 4.3.5 (Buildroot 2011.02)
checking for gcc -pipe switch ... found
checking for --with-ld-opt="-L/home/itachi/A20/20141010/lichee/buildroot/output/host/usr/i386-unknown-linux-uclibc/sysroot/lib -L/home/itachi/A20/20141010/lichee/buildroot/output/host/usr/i386-unknown-linux-uclibc/sysroot/usr/lib" ... found
checking for gcc builtin atomic operations ... not found
checking for C99 variadic macros ... found (not tested, cross compiling)
checking for gcc variadic macros ... found (not tested, cross compiling)
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux:arm specific features
checking for epoll ... not found
checking for O_PATH ... not found
checking for sendfile() ... found (not tested, cross compiling)
checking for sendfile64() ... not found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... not found
checking for sched_setaffinity() ... not found
checking for crypt_r() ... not found
checking for sys/vfs.h ... found
checking for nobody group ... found
checking for poll() ... not found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... not found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... not found
checking for O_DIRECT ... not found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... not found
checking for statvfs() ... not found
checking for dlopen() ... not found
checking for dlopen() in libdl ... not found
checking for sched_yield() ... not found
checking for sched_yield() in librt ... not found
checking for SO_SETFIB ... not found
checking for SO_ACCEPTFILTER ... not found
checking for TCP_DEFER_ACCEPT ... not found
checking for TCP_KEEPIDLE ... not found
checking for TCP_FASTOPEN ... not found
checking for TCP_INFO ... not found
checking for accept4() ... not found
checking for int size ... 4 bytes
checking for long size ... 4 bytes
checking for long long size ... 8 bytes
checking for void * size ... 4 bytes
checking for uint64_t ... uint64_t not foundcat: objs/autotest.c: No such file or directory
u_int64_t not foundcat: objs/autotest.c: No such file or directory

./configure: error: can not define uint64_t
make: *** [/home/itachi/A20/20141010/lichee/buildroot/output/build/nginx-1.7.7/.stamp_configured] 错误 1


1.准备在根文件系统里面搭建一个服务器nginx,自动下载编译。完成下载,编译的时候这步不行,求助。
2.以前是在官网下载源码包,进行交叉编译移植。这个是它根据要求下载源码包。我是ubuntu14.04.1,真机。
...全文
1197 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
sanallen 2015-10-08
  • 打赏
  • 举报
回复
打开源码目录下的./auto/types/,目录下的sizeof typedef 和 uintptr_t里面的代码都是直接调用$CC的,这样直接在linux PC中调用交叉arm-linux-gcc就会出现错误,将上述文件中的$CC改成gcc即可。
qq_15691089 2015-09-16
  • 打赏
  • 举报
回复
后来如何了?我也碰上这个问题
Itachi_zheng 2015-04-16
  • 打赏
  • 举报
回复
不是的,上面的交叉工具链都不是采用arm-linux编译的,选择的是X86的,搞不出来了这个。
jizhenhuiai 2015-04-14
  • 打赏
  • 举报
回复
./configure 的时候 加上sudo
Itachi_zheng 2015-03-23
  • 打赏
  • 举报
回复
这是搭建nginx服务器报的错,查看了obj/autoconf.err里面的信息:

#error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
求大神指点

1,318

社区成员

发帖
与我相关
我的任务
社区描述
主要是开发驱动技术
社区管理员
  • 驱动程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧