首页 新闻 搜索 专区 学院

Apache安装失败 make抛错 求大神解决

0
悬赏园豆:20 [待解决问题]

^
exports.c:2906:13: error: redefinition of ‘ap_hack_apr_uid_name_get’
const void ap_hack_apr_uid_name_get = (const void )apr_uid_name_get;
^
exports.c:1763:13: note: previous definition of ‘ap_hack_apr_uid_name_get’ was here
const void ap_hack_apr_uid_name_get = (const void )apr_uid_name_get;
^
exports.c:2907:13: error: redefinition of ‘ap_hack_apr_uid_get’
const void ap_hack_apr_uid_get = (const void )apr_uid_get;
^
exports.c:1764:13: note: previous definition of ‘ap_hack_apr_uid_get’ was here
const void ap_hack_apr_uid_get = (const void )apr_uid_get;
^
exports.c:2908:13: error: redefinition of ‘ap_hack_apr_uid_homepath_get’
const void ap_hack_apr_uid_homepath_get = (const void )apr_uid_homepath_get;
^
exports.c:1765:13: note: previous definition of ‘ap_hack_apr_uid_homepath_get’ was here
const void ap_hack_apr_uid_homepath_get = (const void )apr_uid_homepath_get;
^
exports.c:2913:13: error: redefinition of ‘ap_hack_apr_gid_name_get’
const void ap_hack_apr_gid_name_get = (const void )apr_gid_name_get;
^
exports.c:1770:13: note: previous definition of ‘ap_hack_apr_gid_name_get’ was here
const void ap_hack_apr_gid_name_get = (const void )apr_gid_name_get;
^
exports.c:2914:13: error: redefinition of ‘ap_hack_apr_gid_get’
const void ap_hack_apr_gid_get = (const void )apr_gid_get;
^
exports.c:1771:13: note: previous definition of ‘ap_hack_apr_gid_get’ was here
const void ap_hack_apr_gid_get = (const void )apr_gid_get;
^
exports.c:2932:13: error: redefinition of ‘ap_hack_apr_version’
const void ap_hack_apr_version = (const void )apr_version;
^
exports.c:1782:13: note: previous definition of ‘ap_hack_apr_version’ was here
const void ap_hack_apr_version = (const void )apr_version;
^
exports.c:2933:13: error: redefinition of ‘ap_hack_apr_version_string’
const void ap_hack_apr_version_string = (const void )apr_version_string;

奔跑的蜗牛哈的主页 奔跑的蜗牛哈 | 初学一级 | 园豆:62
提问于:2019-01-15 14:53
< >
分享
所有回答(1)
0

这种问题一般都是头文件或者库之类的有冲突引起的,这2个地址参考下
https://geekflare.com/error-redefinition-of-ap-hack-apr-allocator-create/
http://blog.chinaunix.net/uid-12274566-id-3761679.html

2012 | 园豆:20686 (高人七级) | 2019-01-17 08:29
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册