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



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

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

我在构建配置选项中添加了"ap_cv_void_ptr_lt_long=4"。然后运行配置脚本。

运行时,请查找以下线路/配置以找到合适的大小:

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

您为powerpc 64编译了apache?

也许您必须在编译之前检查配置,以设置正确的配置选项。

最新更新