[求助]关于Make的问题
时间:2005-05-12
来源:互联网
小弟现在在mdk中make时,总是出现类似下边的错误
[root@localhost myget-0.0.1]# make
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make all-recursive
make[1]: Entering directory `/home/saub/myget-0.0.1'
Making all in src
make[2]: Entering directory `/home/saub/myget-0.0.1/src'
source='url.cpp' object='url.o' libtool=no \
depfile='.deps/url.Po' tmpdepfile='.deps/url.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_FILE_OFFSET_BITS=64 -g -O2 -c -o url.o `test -f url.cpp || echo './'`url.cpp
url.cpp: In member function `int URL::_parse(const char*)':
url.cpp:415: error: ISO C++ forbids cast to non-reference type used as lvalue
make[2]: *** [url.o] 错误 1
make[2]: Leaving directory `/home/saub/myget-0.0.1/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/saub/myget-0.0.1'
make: *** [all] 错误 2
[root@localhost myget-0.0.1]#
这个是装wget时候的,装其他的软件也是类似的错误,不知道是那里的问题,还请大虾指点。
[root@localhost myget-0.0.1]# make
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make all-recursive
make[1]: Entering directory `/home/saub/myget-0.0.1'
Making all in src
make[2]: Entering directory `/home/saub/myget-0.0.1/src'
source='url.cpp' object='url.o' libtool=no \
depfile='.deps/url.Po' tmpdepfile='.deps/url.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_FILE_OFFSET_BITS=64 -g -O2 -c -o url.o `test -f url.cpp || echo './'`url.cpp
url.cpp: In member function `int URL::_parse(const char*)':
url.cpp:415: error: ISO C++ forbids cast to non-reference type used as lvalue
make[2]: *** [url.o] 错误 1
make[2]: Leaving directory `/home/saub/myget-0.0.1/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/saub/myget-0.0.1'
make: *** [all] 错误 2
[root@localhost myget-0.0.1]#
这个是装wget时候的,装其他的软件也是类似的错误,不知道是那里的问题,还请大虾指点。
作者: saub 发布时间: 2005-05-12
顺便说一下,configure的时候没有问题,
作者: saub 发布时间: 2005-05-12
http://linuxfans.org/nuke/modules.ph...ninfo&did=3537
is this similar to your problem?
is this similar to your problem?
作者: csyfek 发布时间: 2005-05-12
谢谢指点,好了,呵呵
作者: saub 发布时间: 2005-05-12
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28