CoovaChilli-1.3.0编译时出现main-opt.c:781: error: ‘ptr’ may be used uninitialized in this function的解决方法
2015-07-10 15:03
447 查看
转自VC错误:[b]http://www.vcerror.com/?p=1625
问题描述:[/b]
在执行make时报错:
/local/etc/chilli.conf"' -DDEFPIDFILE='"/usr/local/var/run/chilli.pid"' -DDEFSTATEDIR='"/usr/local/var/run"' -DSBINDIR='"/usr/local/sbin"' -g -O2 -MT main-opt.o -MD -MP -MF .deps/main-opt.Tpo -c -o main-opt.o main-opt.c
cc1: warnings being treated as errors
main-opt.c: In function ‘main’:
main-opt.c:781: error: ‘ptr’ may be used uninitialized in this function
make[3]: *** [main-opt.o] Erreur 1
make[3]: quittant le répertoire « /root/coova-chilli/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /root/coova-chilli/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /root/coova-chilli »
make: *** [all] Erreur 2
解决方法:
具体的解决方法参考文章:http://www.vcerror.com/?p=1625
问题描述:[/b]
在执行make时报错:
/local/etc/chilli.conf"' -DDEFPIDFILE='"/usr/local/var/run/chilli.pid"' -DDEFSTATEDIR='"/usr/local/var/run"' -DSBINDIR='"/usr/local/sbin"' -g -O2 -MT main-opt.o -MD -MP -MF .deps/main-opt.Tpo -c -o main-opt.o main-opt.c
cc1: warnings being treated as errors
main-opt.c: In function ‘main’:
main-opt.c:781: error: ‘ptr’ may be used uninitialized in this function
make[3]: *** [main-opt.o] Erreur 1
make[3]: quittant le répertoire « /root/coova-chilli/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /root/coova-chilli/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /root/coova-chilli »
make: *** [all] Erreur 2
解决方法:
具体的解决方法参考文章:http://www.vcerror.com/?p=1625
相关文章推荐
- Diesel powered certainly are a very hot favored around the globe
- Similarity in Elasticsearch: A Brief Introduction to the Similarity Models Available
- This file probably contains a syntax error."错误
- MFC 单文档中添加OnPaint
- 更新xcode6 运行报错 Command /usr/bin/codesign failed with exit code 1
- 操作系统(aix\redhat\suse)修改主机名方法
- 我对CONTAINING_RECORD宏的详细解释
- 1 对WinMain的理解
- hdu 5045 - Contest(2014 ACM/ICPC Asia Regional Shanghai Online )概率dp
- 安装配置fail2ban防止暴力破解
- HDU 2476 String painter(区间dp)
- editor dose not contain a main type
- "NO 3D support is available from the host"
- "NO 3D support is available from the host"
- TurboMail为各行业提供个性化邮件系统方案
- Leetcode Factorial Trailing Zeroes
- Contains Duplicate
- hdu 1789 Doing Homework again 贪心
- 在main函数之前执行一些函数
- 谓词predicate(验证email,手机号)