git push not configured with USE_CURL_MULTI
来源:互联网 发布:系统网络架构设计 编辑:程序博客网 时间:2024/06/08 09:11
git 默认编译时,在push的时候会提示不能运行,因为编译的时候没有指定USE_CURL_MULTI,在哪里指定呢。
直接在Makefile的CFLAGS里加 -DUSE_CURL_MULTI,但是不好使!
最后上网搜到是在http.h里,果然最开始的时候加了一句 #undef USE_CURL_MULTI,难怪在命令行里加 -DUSE_CURL_MULTI,无效,把#undef改为#define,并在下面定义 #define DEFAULT_MAX_REQUESTS 5 即可(跟下面的curl版本大于多少多少一样)
最后,网上说之所以默认时会是这样,因curl早期版本有bug,会导致数据丢失,不过目前看来,我的这个还是好使的,我的系统是cenos 5.5,
curl-7.15.5-9.el5
- git push not configured with USE_CURL_MULTI
- git push时遇到问题“fatal: No destination configured to push to.”
- git push时遇到问题“fatal: No destination configured to push to.”
- Error:NDK not configured. Download it with SDK manager
- A problem with git push via proxy
- clone & push all remote branches with git
- clone & push all remote branches with git
- git-push with specific SSH key
- libcurl.dll error with git push
- BNE_UIX_PHYSICAL_DIRECTORY is not configured.
- JSP support not configured
- Is not configured
- NDK not configured、
- NDK not configured
- “Nothing to push” error in Android studio with Git
- 移植完RT-Thread之后,串口输出rtc not configured,please configure with set_date and set_time
- Not enough physical memory is available to power on this virtual machine with its configured setting
- git push error:not Signed-off-by author/committer/uploader
- 解决错误Error creating bean with name 'MySessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init
- Hibernate 中save方法运行成功之后却没有保存进数据库的原因
- android之DPAD上下左右四个键控制
- 开篇
- 最简单和VBA程序(宏)
- git push not configured with USE_CURL_MULTI
- 关于[Android] strings.xml的使用方法几例
- 数据结构
- PY 文件路径
- struts2配置文件struts.xml的目录问题
- ecos 编译时无法找到 tclConfig.sh 和 tkConfig.sh
- 如果你有放不下的人,进来看看吧,相信你会懂的.
- 浅谈android与Xen之间的一点共性
- vc2010_error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x