Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache 配置错误:“void*”的大小小于“long”_Apache_Arm_Cross Compiling_Powerpc - Fatal编程技术网

Apache 配置错误:“void*”的大小小于“long”

Apache 配置错误:“void*”的大小小于“long”,apache,arm,cross-compiling,powerpc,Apache,Arm,Cross Compiling,Powerpc,配置错误:void*的大小小于long 这就是我在为powerpc交叉编译apache时遇到的错误您为powerpc 64编译了apache 在编译之前,您可能需要检查配置,以设置正确的配置选项。我在构建配置选项中添加了ap\u cv\u void\u ptr\u lt\u long=4。然后运行configure脚本 运行时查找以下行。/configure以查找正确的大小: checking for inline... inline checking for an ANSI C-conform

配置错误:void*的大小小于long


这就是我在为powerpc交叉编译apache时遇到的错误

您为powerpc 64编译了apache


在编译之前,您可能需要检查配置,以设置正确的配置选项。

我在构建配置选项中添加了ap\u cv\u void\u ptr\u lt\u long=4。然后运行configure脚本

运行时查找以下行。/configure以查找正确的大小:

checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether setpgrp takes no argument... (cached) no
checking for socklen_t... yes
checking size of void*... 4
checking size of char... 1
checking size of int... 4
checking size of long... 4
checking size of short... 2
checking size of long long... 8
checking for INT64_C... yes
checking size of pid_t... 8
checking whether ssize_t and int are the same... yes

在/etc/ld.so.conf文件中似乎没有/usr/local/lib

完成此操作后重试-

echo "/usr/local/lib" >> /etc/ld.so.conf

ldconfig

有谁能帮我解决这个问题吗?我从早上就一直坚持这个问题。同样的问题,但我认为我的交叉构建是为了手臂