LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 670|回复: 3

[求助]关于Make的问题

[复制链接]
发表于 2005-5-12 10:18:23 | 显示全部楼层 |阅读模式
小弟现在在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时候的,装其他的软件也是类似的错误,不知道是那里的问题,还请大虾指点。
 楼主| 发表于 2005-5-12 10:19:22 | 显示全部楼层
顺便说一下,configure的时候没有问题,
回复 支持 反对

使用道具 举报

发表于 2005-5-12 12:59:48 | 显示全部楼层
http://linuxfans.org/nuke/module ... eninfo&did=3537

is this similar to your problem?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-12 13:52:55 | 显示全部楼层
谢谢指点,好了,呵呵
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表