您当前的位置: 首页 >  ar

静静喜欢大白

暂无认证

  • 2浏览

    0关注

    521博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Linux安装编译mwget报错strcmp’ was not declared in this scope

静静喜欢大白 发布时间:2021-01-28 15:59:18 ,浏览量:2

1、问题

在执行make时报错


make  all-recursive
make[1]: Entering directory '/home/lj/software/mwget_0.1.0.orig'
Making all in mach-info
make[2]: Entering directory '/home/lj/software/mwget_0.1.0.orig/mach-info'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/lj/software/mwget_0.1.0.orig/mach-info'
Making all in src
make[2]: Entering directory '/home/lj/software/mwget_0.1.0.orig/src'
g++ -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/local/share/locale\"    -D_FILE_OFFSET_BITS=64 -MT httpplugin.o -MD -MP -MF .deps/httpplugin.Tpo -c -o httpplugin.o httpplugin.cpp
httpplugin.cpp: In member function ‘virtual int HttpPlugin::get_info(Task*)’:
httpplugin.cpp:105:8: error: ‘strcmp’ was not declared in this scope
     if(strcmp(location, task->url.get_url()) == 0) break;
        ^~~~~~
httpplugin.cpp:105:8: note: ‘strcmp’ is defined in header ‘’; did you forget to
关注
打赏
1510642601
查看更多评论
立即登录/注册

微信扫码登录

0.0420s