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

问题描述 投票:1回答:3

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

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

apache arm cross-compiling powerpc
3个回答
0
投票

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

运行./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

0
投票

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

这样做之后再试一次 -

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

ldconfig

-1
投票

你为powerpc 64编译了apache?

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

© www.soinside.com 2019 - 2024. All rights reserved.