Curl make的时候报错,求大佬指点迷津

因为默认的curl不支持https协议,我编译安装完openssl之后显示已支持https了,但是在重新make curl时出现报错。
求大佬指点迷津。

curl版本:7.57
openssl版本:1.1.0g
ubuntu版本:14.04.2 LTS 

详细报错信息如下:

root@iZwz9akk7iswd53zv5vrzeZ:~/curl-7.57.0# make
Making all in lib
make[1]: Entering directory `/root/curl-7.57.0/lib'
make  all-am
make[2]: Entering directory `/root/curl-7.57.0/lib'
make[2]: Leaving directory `/root/curl-7.57.0/lib'
make[1]: Leaving directory `/root/curl-7.57.0/lib'
Making all in src
make[1]: Entering directory `/root/curl-7.57.0/src'
Making all in ../docs
make[2]: Entering directory `/root/curl-7.57.0/docs'
Making all in .
make[3]: Entering directory `/root/curl-7.57.0/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/curl-7.57.0/docs'
Making all in cmdline-opts
make[3]: Entering directory `/root/curl-7.57.0/docs/cmdline-opts'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/curl-7.57.0/docs/cmdline-opts'
make[2]: Leaving directory `/root/curl-7.57.0/docs'
make[2]: Entering directory `/root/curl-7.57.0/src'
  CCLD     curl
../lib/.libs/libcurl.so: undefined reference to `SSLv23_client_method'
../lib/.libs/libcurl.so: undefined reference to `CONF_modules_free'
../lib/.libs/libcurl.so: undefined reference to `ERR_free_strings'
../lib/.libs/libcurl.so: undefined reference to `sk_value'
../lib/.libs/libcurl.so: undefined reference to `SSL_library_init'
../lib/.libs/libcurl.so: undefined reference to `sk_pop_free'
../lib/.libs/libcurl.so: undefined reference to `SSLeay'
../lib/.libs/libcurl.so: undefined reference to `SSLv3_client_method'
../lib/.libs/libcurl.so: undefined reference to `OPENSSL_add_all_algorithms_noconf'
../lib/.libs/libcurl.so: undefined reference to `SSL_COMP_free_compression_methods'
../lib/.libs/libcurl.so: undefined reference to `EVP_cleanup'
../lib/.libs/libcurl.so: undefined reference to `sk_num'
../lib/.libs/libcurl.so: undefined reference to `sk_pop'
../lib/.libs/libcurl.so: undefined reference to `SSL_load_error_strings'
collect2: error: ld returned 1 exit status
make[2]: *** [curl] Error 1
make[2]: Leaving directory `/root/curl-7.57.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/curl-7.57.0/src'
make: *** [all-recursive] Error 1

error

6个回答

大佬们,上面的链接我试过了,还是报错

应该缺少依赖库libcrypto吧

感谢各位大佬,问题已经解决了。

./configure --disable-ldap --disable-ldaps
执行这个命令就可以解决。

/configure --disable-ldap --disable-ldaps

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
求各位大佬指点迷津!
dspC601在往sdram中写数据时出现只往一个地址中写数据时,结果多个地址被写入此数据的问题,例如往0x02000000中写入一个32bit的数据5,结果在0x02200000、0x02400000、0x02600000、0x02800000等地址都被写入5这个数。rn求指点会是什么导致的!
请大佬指点迷津
按enter键后为什么会连续出来两个菜单啊[face]monkey:32.gif[/face]n还有第一张画黑线那行具体什么意思啊[face]monkey:2.gif[/face][img=https://img-bbs.csdn.net/upload/201906/30/1561881291_450925.png][/img][img=https://img-bbs.csdn.net/upload/201906/30/1561881293_316196.jpg][/img][img=https://img-bbs.csdn.net/upload/201906/30/1561881295_348885.jpg][/img][img=https://img-bbs.csdn.net/upload/201906/30/1561881297_262246.jpg][/img][img=https://img-bbs.csdn.net/upload/201906/30/1561881299_158407.jpg][/img][img=https://img-bbs.csdn.net/upload/201906/30/1561881301_942266.jpg][/img]
技术前沿的大佬们指点迷津
2年前学了1年Java Web  中间慢慢把java给放下了,想重新捡起来,有什么比较好的前沿技术学习路线啊
请大佬 指点迷津
[img=https://img-bbs.csdn.net/upload/201703/29/1490779185_578998.png][/img]
MySQL 报错问题,求大佬
[img=https://img-bbs.csdn.net/upload/201805/14/1526287297_736956.png][/img][img=https://img-bbs.csdn.net/upload/201805/14/1526287335_504501.png][/img]rnrnrnrn这个错误怎么解决???搞了一天了
make 报错
  问题:执行make时出现如下报错:   原因:没有指定交叉编译工具链。   解决方法: 设置环境变量或者make时带上CROSS_COMPILE参数。如make CROSS_COMPILE=arm-xilinx-linux-gnueabi-...
make报错
makefile文件内容:rnASSEMBLY= MySharedAssembly.dllrnBIN=E:\work\Myapp\test\binrnSRC=E:\work\Myapp\testrnDEST=E:\work\Myapp\test\binrnrnCSC=csc /nologo /debug+ /d:DEBUG /d:TRACErnrnMODULETARGET=/t:modulernLIBTARGET=/t:libraryrnEXETARGET=/t:exernrnREFERENCES=System.dllrnrnMODULES=$(DEST)\Fraction.dll $(DEST)\Calc.dllrnMETADATA=$(SRC)\AssemblyInfo.csrnrnall: $(DEST)\MySharedAssembly.dllrnrn$(DEST)\$(ASSEMBLY): $(METADATA) $(MODULES) $(DEST) $(CSC) $(LIBTARGET) /addmodule:$(MODULES: =;) /out:$@ %srnrn$(DEST)\Calc.dll: Calc.cs $(DEST) $(CSC) $(MODULETARGET) /r:$(MODULES: =;) /out:$@ %srnrn$(DEST)\Fraction.dll: Fraction.cs $(DEST) $(CSC) $(MODULETARGET) /r:$(MODULES: =;) /out:$@ %srn$(DEST):: rn!if !EXISTS($(DEST))rn mkdir $(DEST)rn!endifrn_________________________________________________________________________________________rn报错信息:rnE:\work\MyApp\test>makernMAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.rnError makefile 26: Expression syntax error in !if statementrn*** 1 errors during make ***rn
make的时候Oracle报错,高手帮看看
在我的项目里,用的是Oracle数据库,以前编译我的项目都没问题,现在拿到一台没有Oracle的机器上make。就报错rnPro*C/C++: Release 10.2.0.1.0 - Production on Fri Mar 13 18:52:48 2009rnrnCopyright (c) 1982, 2005, Oracle. All rights reserved.rnrnSystem default option values taken from: /u01/app/oracle/product10g/precomp/admin/pcscfg.cfgrnrnPCC-F-02104, Unable to connect to Oraclernrn应该能跳过这个吧,不可能一定要在装Oracle的系统下编译。高手请~
make && make all 一直报错。
[root@test redis-stable]# make && make installrncd src && make allrnmake[1]: Entering directory `/var/www/html/redis-stable/src'rnrnHint: To run 'make test' is a good idea ;)rnrnmake[1]: Leaving directory `/var/www/html/redis-stable/src'rncd src && make installrnmake[1]: Entering directory `/var/www/html/redis-stable/src'rnrnHint: To run 'make test' is a good idea ;)rnrn INSTALL installrn INSTALL installrn INSTALL installrn INSTALL installrn INSTALL installrnmake[1]: Leaving directory `/var/www/html/redis-stable/src'
spark连接cassandra报错 求指点迷津
spark0.9版本连接cassandra2.0.7版本 跑example CassandraTest报错:rnException in thread "main" java.lang.IncompatibleClassChangeError:Found interface rnrnorg.apache.hadoop.mapreduce.JobContext,but class was expectedrn[color=#FF0000] at org.apache.cassandra.hadoop.AbstractColumnFamilyInputFormat.getSplits[/color]rnrn(AbstractColumnFamilyInputFormat.java:113)rn at org.apache.spark.rdd.NewHadoopRDD.getPartitions(NewHadoopRDD.scala:75)rnrn求高人指点一二 感激不尽!
vue打包之后报错 求大佬看一下
就是我现在随便在路由里注释一个页面就不会报错rnrnvue也没有引入bootstraprnrn[img=https://img-bbs.csdn.net/upload/201805/28/1527473512_356480.png][/img]
mongodb报错,求大佬帮忙,谢谢。
[img=https://img-bbs.csdn.net/upload/201907/31/1564549431_295735.png][/img][img=https://img-bbs.csdn.net/upload/201907/31/1564549439_235361.png][/img][img=https://img-bbs.csdn.net/upload/201907/31/1564549446_790951.png][/img][img=https://img-bbs.csdn.net/upload/201907/31/1564549571_42509.png][/img]rn
unity报错 查不到 求各位大佬帮帮忙
点击模型 就报错 还卡unity Assertion failed: Assertion failed on expression: 'kValidSceneObjectIdentifier == res' [img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/50.gif][/img] [img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/50.gif][/img][img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/50.gif][/img]
NuSMV最后make报错,求大牛帮忙
NuSMV是一个基于linux的模型检测工具,小弟安装它出现了问题,求大牛帮帮忙。rnrn这是在Ubuntu Server上安装的,我在此系统上安装成功过NuSMV。rnrn系统里直接apt-get的g++包。rnrn$$ ./configure rn命令执行成功rn截图如下:rn[img=https://img-bbs.csdn.net/upload/201401/09/1389232267_491538.png][/img]rnrn$$ makern命令后报错如下:rn[img=https://img-bbs.csdn.net/upload/201401/09/1389232310_861651.png][/img]rnrn求大牛帮帮忙,看看怎么弄这个
求指点迷津……
var w=window.open("","");rn在如上javascript代码中,","代表什么意思
求指点迷津。。。
我是java新手,目前学到Struts。然后,是学习struts1呢?还是学习Struts2?都说直接学习Struts2,那Struts1有必要学习吗?rn谢谢!!
求指点迷津
1、redhat下 如何查看designer的版本啊rn2、我的机器里有两个版本的designer,一个是系统自带的,另一个是自己安装的 ,打算用自己安装的designer,怎么样才能在任意目录下都能打开它呢? 困惑
求指点迷津~~~
我们企业这几个月要做一个企业解决方案选型,我负责这个case,我最开始先根据我们公司的各种情况发出需求,之后就有很多家企业都来给我介绍它们的产品,我要求他们能根据我提供给他们的情况给我一份详细的报告,我看完他们提供的报告后,综合比较了一下,从中选出SAP、用友、金蝶这几家,但是这个投入毕竟是一笔不小的投资,所以我觉得应该比较慎重的选择。其中我比较倾向于SAP。但是不管哪个,无论从理论还是技术方面都要比较适合我们的企业才行。在这里发这个帖子也是希望有经验人士给我提点建议,先谢谢各位了,最后补充一下我们是中小企业,但资金相对来说还算可以。
求教:使用curl报错
系统:centos6.2rnrnphp版本:5.2.17rnrnphpinfo:rncURL support enabledrncURL Information libcurl/7.26.0 OpenSSL/1.0.0 zlib/1.2.3 libidn/1.18rnrn错误信息:Fatal error: Call to undefined function curl_init()rnrn求教!!!
bochs make 的过程中报错
我在使用 ubuntu 10.04 安装 bochs 的时候, 由于没有自带 G++ 编译器, 所以先rn apt-get install g++ rn安装了 g++。 然后从 bochs 主页下载了 2.3.5 的 tar.gz 的包, 解压后 rn ./configure --enable-debugger --enable-disasmrn成功。rn继续 make 的时候就出错了, 报错如下:rnsymbols.cc: At global scope:rnsymbols.cc:137:10: error: ‘hash_map’ does not name a typernsymbols.cc:145:1: error: ‘hash_map’ does not name a typernsymbols.cc: In constructor ‘context_t::context_t(Bit32u)’:rnsymbols.cc:152:5: error: ‘map’ was not declared in this scopernsymbols.cc: In static member function ‘static context_t* context_t::get_context(Bit32u)’:rnsymbols.cc:173:12: error: ‘map’ was not declared in this scopernmake[1]: *** [symbols.o] 错误 1rnmake[1]:正在离开目录 `/home/song/下载/bochs-2.3.5/bx_debug'rnmake: *** [bx_debug/libdebug.a] 错误 2rnrn请问这是怎么回事?
ubuntu下make Qt4.4.3-x11报错
In file included from ../../include/QtGui/private/qt_x11_p.h:1,rn from kernel/qapplication.cpp:70:rn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:65:22: error: X11/Xlib.h: No such file or directoryrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:70:23: error: X11/Xutil.h: No such file or directoryrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:71:21: error: X11/Xos.h: No such file or directoryrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:78:23: error: X11/Xatom.h: No such file or directoryrnIn file included from ../../include/QtGui/private/qt_x11_p.h:1,rn from kernel/qapplication.cpp:70:rn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:280: error: ‘Colormap’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:281: error: ISO C++ forbids declaration of ‘Visual’ with no typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:281: error: expected ‘;’ before ‘*’ tokenrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:290: error: ‘Time’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:291: error: ‘Window’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:292: error: ‘Window’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:315: error: ‘Window’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:318: error: ‘Window’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:319: error: ‘Window’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:319: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:320: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:321: error: ‘Window’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:321: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:332: error: ISO C++ forbids declaration of ‘XSelectionRequestEvent’ with no typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:332: error: expected ‘,’ or ‘...’ before ‘*’ tokenrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:334: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:335: error: ‘Atom’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:337: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:338: error: ‘Atom’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:339: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:340: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:340: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:341: error: ‘Atom’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:341: error: template argument 1 is invalidrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:342: error: ‘Atom’ has not been declaredrnIn file included from ../../include/QtGui/private/qt_x11_p.h:1,rn from kernel/qapplication.cpp:70:rn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:343: error: ‘Atom’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:404: error: ISO C++ forbids declaration of ‘Atom’ with no typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:404: error: expected ‘;’ before ‘*’ tokenrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:406: error: ISO C++ forbids declaration of ‘Window’ with no typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:406: error: expected ‘;’ before ‘*’ tokenrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:408: error: ‘Window’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:414: error: ‘Time’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:415: error: ‘Time’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:441: error: ISO C++ forbids declaration of ‘Visual’ with no typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:441: error: expected ‘;’ before ‘*’ tokenrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:442: error: ‘Colormap’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:620: error: ‘Atom’ does not name a typern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:622: error: ‘Atom’ has not been declaredrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:645: error: ‘FocusOut’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:646: error: ‘FocusIn’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:647: error: ‘KeyPress’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:648: error: ‘KeyRelease’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:649: error: ‘None’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:650: error: ‘RevertToParent’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:651: error: ‘GrayScale’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:652: error: ‘CursorShape’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:667: error: ‘XPoint’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:667: error: template argument 1 is invalidrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:668: error: ‘XRectangle’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:668: error: template argument 1 is invalidrn../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:669: error: ‘XChar2b’ was not declared in this scopern../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:669: error: template argument 1 is invalidrnmake[1]: *** [.obj/release-shared/qapplication.o] Error 1rnmake[1]: Leaving directory `/software/qt-x11-opensource-src-4.4.3/src/gui'rnmake: *** [sub-gui-make_default-ordered] Error 2rn
make clean为何报错?
rnrnMakefile内容如下:rn[code=text]rnhello1:rn g++ hello.cpp -o hellornhello0:rn g++ hello.cpprnclean:rn rm *.o hello a.outrn[/code]rn rn运行make之后运行make clean,为何报错?rn怎样修改Makefile才能使make clean时不报错呢?rnrnrn错误信息如下所示:rnrnmake cleanrnrm *.o hello a.outrnrm: cannot remove ‘*.o: No such file or directoryrnrm: cannot remove ‘a.out: No such file or directoryrnmake: *** [clean] Error 1
nagios在make过程中报错
```rnlibnpcommon.a(sslutils.o): In function `np_net_ssl_init_with_hostname_version_and_cert':rn/root/nagios-plugins-2.2.1/plugins/sslutils.c:125: undefined reference to `SSLv23_client_method'rn/root/nagios-plugins-2.2.1/plugins/sslutils.c:129: undefined reference to `SSL_library_init'rn/root/nagios-plugins-2.2.1/plugins/sslutils.c:130: undefined reference to `SSL_load_error_strings'rn/root/nagios-plugins-2.2.1/plugins/sslutils.c:131: undefined reference to `OPENSSL_add_all_algorithms_conf'rn/root/nagios-plugins-2.2.1/plugins/sslutils.c:68: undefined reference to `SSLv3_client_method'rn/root/nagios-plugins-2.2.1/plugins/sslutils.c:60: undefined reference to `SSLv2_client_method'rncollect2: ld returned 1 exit statusrn```rn已经执行过yum -y gd gd-devel \*openssl\*rnrn但重新编译任然报上述错误。
大佬转义序列报错啊
我也不敢问,我也不好说[img=https://img-bbs.csdn.net/upload/201905/06/1557157278_462819.jpg][/img][img=https://img-bbs.csdn.net/upload/201905/06/1557157426_945701.jpg][/img][img=https://img-bbs.csdn.net/upload/201905/06/1557157425_305051.jpg][/img]
mysql make时报错
./configure --enable-languages=c --prefix=/usr/local/mysqlrn编译正常rn但是make 时报错:Can't open y.tab.c rn难道是 C 出错?rn请高手指点,在线等rn
curl 报错 无法解析主机
按教程做一个软件 卡在这个地方半天了 希望高手帮忙解答!n![图片说明](https://img-ask.csdn.net/upload/201711/25/1511543321_597647.png)n![图片说明](https://img-ask.csdn.net/upload/201711/25/1511543337_819678.png)
curl post报错问题
[color=#FF0000] curl_setopt() expects parameter 2 to be long[/color] 是什么错误??rnrn [code=php]//初始化curlrn $ch = curl_init();rn //设置超时rn curl_setopt($ch, CURLOP_TIMEOUT, $this->curl_timeout);rn curl_setopt($ch, CURLOPT_URL, $url);rn curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,FALSE);rn curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,FALSE);rn curl_setopt($ch, CURLOPT_HEADER, FALSE);rn curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);rn //运行curl,结果以jason形式返回rn $res = curl_exec($ch);rn curl_close($ch);[/code]
curl在apache2.2.14下报错
代码用的是curl接口方式传递参数,代码如下:rn $header[]="Content-Type: text/xml; charset=utf-8";rn $header[]="User-Agent: Apache/1.3.26 (Unix)";rn $header[]="Host: 192.168.101.230";rn $header[]="Connection: keep-alive";rn $header[]="Content-Length: ".strlen($acContent);rn $ch = curl_init();rn curl_setopt($ch, CURLOPT_URL, $url);rn curl_setopt($ch, CURLOPT_HTTPHEADER, $header);rn curl_setopt($ch, CURLOPT_POST, 1);rn curl_setopt($ch, CURLOPT_POSTFIELDS, $acContent);rn curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);rn curl_setopt($ch, CURLOPT_HEADER, 0);rn curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1); //启用ssl方式rn curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);rn $res = curl_exec($ch);rn curl_close($ch);rn return $res;rn在apache2.2.8 php5.2.6版本下,能成功返回我想要的结果,而在apache2.2.14 php5.2.12版本下,返回如下错误:rn rnrn rn Apache Server Errorrn rn rn rn Apache Server Errorrn Failed to read POST data!< > Please Email:Aspire Interface Support for details. Content headers of the requestrnAccept: */* Content-Type: text/xml; charset=utf-8 User-Agent: Apache/1.3.26 (Unix) Host: 192.168.101.230 Connection: keep-alive Content-Length: 802 Expect: 100-continue rnrn有没有知道出现这种情况的原因是什么呀,google也很难找到类似的情况rn
内核编译 make menuconfig报错
条件:rn1.[linux操作系统] .ubuntu-10.04-dvd-i386rn2.准备对linux 内核进行移植开发 要移植的内核版本 linux-2.6.30.4。其中天嵌开发板已经提供了 .configrn3.开发板 天嵌2440rnrn小弟新手还不太会,也是刚学rn我的问题出现了,解压缩内核后,进入内核目录进行 内核配置rnrn上来1 make distclean rn 2 make menuconfig ARCH=armrnrn问题就出现在这里了。。。。图形菜单没出来,就报错了rnrnrn*** Unable to find the ncurses libraries or thern *** required header files.rn *** 'make menuconfig' requires the ncurses libraries.rn *** rn *** Install ncurses (ncurses-devel) and try again.rn *** rnmake[1]: *** [scripts/kconfig/dochecklxdialog] 错误 1rnmake: *** [menuconfig] 错误 2rnrnrn这个问题怎么解决啊?我真是一点思路都没。。。请大家给指点下吧谢谢rnrnrnrn[color=#FF0000]我知道答案了 rn问题解决了rnrn需要的按我的自己解决, 分数不浪费,给第一个抢到楼的哦。。。。100分rnsudo apt-get install build-essentialrnsudo apt-get install libncurses5rnapt-get install libncurses5-dev[/color]
编译时候 make和 make sdk有什么区别?
编译时候 make和 make sdk有什么区别?
php curl访问报错
[img=https://img-bbs.csdn.net/upload/201801/17/1516150629_37306.png][/img][img=https://img-bbs.csdn.net/upload/201801/17/1516150634_448594.jpg][/img]
make命令后报错
Makefile:276: .deps/bighashtable.Po: No such file or directoryrnMakefile:277: .deps/bitmap.Po: No such file or directoryrnMakefile:278: .deps/bloom.Po: No such file or directoryrnMakefile:279: .deps/checksum.Po: No such file or directoryrnMakefile:280: .deps/chunk.Po: No such file or directoryrnMakefile:281: .deps/hash.Po: No such file or directoryrnMakefile:282: .deps/hashdb.Po: No such file or directoryrnMakefile:283: .deps/md5.Po: No such file or directoryrnMakefile:284: .deps/red_black_tree.Po: No such file or directoryrnMakefile:285: .deps/simhash.Po: No such file or directoryrnMakefile:286: .deps/simhashtable.Po: No such file or directoryrnMakefile:287: .deps/table.Po: No such file or directoryrnMakefile:288: .deps/util.Po: No such file or directoryrnMakefile:289: .deps/vector.Po: No such file or directoryrnmake: *** No rule to make target `.deps/vector.Po'. Stop.rn
php make报错。
php编译通过 rnmake的时候报错,错误如下rnrn[img=https://img-bbs.csdn.net/upload/201408/21/1408586089_728650.jpg][/img]rnrnphp安装版本是5.5rn网上说是gd库的原因。还是要改源码,感觉不太靠谱。rn怎么解决呢?多谢大家了。
subversion make的时候错误
/home/licy/subversion-1.6.1/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `gss_release_name'rn/home/licy/subversion-1.6.1/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `gss_display_status'rn/home/licy/subversion-1.6.1/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `gss_import_name'rn/home/licy/subversion-1.6.1/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'rn/home/licy/subversion-1.6.1/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `gss_release_buffer'rn/home/licy/subversion-1.6.1/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `gss_delete_sec_context'rn/home/licy/subversion-1.6.1/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `gss_init_sec_context'rncollect2: ld returned 1 exit statusrnmake: *** [subversion/svn/svn] 错误 1rn
make时候错误提示
1、make时候的问题 *** No rule to make target ‘/mnt/hgfs/winshare/s5pv210/project/testproject/include/fb.h’, needed by ‘fb.o’. Stop. 出现上述编译失败的原因: 1、Makefile文件有问题 2、Makefile文件中有未知的字符 3、在源代码中有原来未被删除的.d、.o文件等。...
【求围观,求指点迷津】
本人工作一年多了,语言是C#..一直做winform方面的开发;之前在学校学的是ASP.NET web方面的,后又参加过一次培训,也是培训的ASP.NET 方面的,做过一些web的小项目;起初对web开发情有独钟,在我们班的成绩也算拔尖。之后就参加工作了,参加工作后,公司的任务是做winform c/s结构的,那就做呗。一做一年多过去了,现在web开发的技术都快忘光了;js、jquery、CSS+DIV等前端技术更是不太熟悉。现在想转到更是B2C项目组,用的技术是ASP.NET MVC2.0 ,[color=#FF0000]大家觉得我现在需要了解哪些知识?需要补充哪些方面的技能?[/color]PS:C#语言基础包括面向对象基础、数据库方面的技术,自我感觉还是不错的。主要是web的一些技术不太熟悉。rnrnrn求大家不吝赐教,多提建议!谢谢!
makefile make的时候提示 make[2]: o: Command not found make
makefile make的时候提示 make[2]: o: Command not found make[2]: [snmptrap] Error 127 (ignored) rn这是怎么回事呢 向大家求助 以下是源代码rnUSELIBS = ../snmplib/libnetsnmp.a rnUSETRAPLIBS = ../agent/libnetsnmpagent.a ../agent/libnetsnmpmibs.a ../agent/helpers/libnetsnmphelpers.a $(USELIBS)rnLOCAL_LIBS = -L../snmplib -L../agent -L../agent/helpersrnLIBS = $(USELIBS) $(LDLIBS$(LDLIBS_$@))rnTRAPLIBS = $(USETRAPLIBS) $(LDLIBS$(LDLIBS_$@))rnrnCPPFLAGS = -I$(top_srcdir)/include -I../include \rn -I.. -I$(srcdir)/.. -I$(srcdir)/../snmplib \rn -I$(srcdir)/../agent -I../agent/helpers \rn -I$(srcdir)/../agent/mibgrouprnOSUFFIX = ornOBJS = *.ornrnrnsnmptrap$(EXEEXT): snmptrap.$(OSUFFIX) $(USELIBS)rn $(LINK) -o $@ snmptrap.$(OSUFFIX) $(LOCAL_LIBS) $LDFLAGS $LIBS
求助!在rh9上编译2.0.38的内核make的时候总是报错
在rh9上编译2.0.38的内核rn在make的时候总是有下面的提示:rngcc -D__KERNEL__ -I/opt linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o init/main.o init/main.crn`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.rncc1: warning: -malign-loops is obsolete, use -falign-loopsrncc1: warning: -malign-jumps is obsolete, use -falign-jumpsrncc1: warning: -malign-functions is obsolete, use -falign-functionsrn各位XDJM能不能指点一下,要怎么改啊?
make的时候报错:[Linker Error]unresolved external 'WinMain' referenced from
:[Linker Error]unresolved external 'WinMain' referenced from D:\borland\lib\cow32.objrn请问是不是安装的有问题?我这基本上是个空壳的project
[求助] linux下,make的时候报错,大家来看看是什么问题
makefile初学,写了个 makefile,make的时候报错,请大家看看:rnrnmakefile内容(部分):rnrn# ------- Main body ---------------------------------rnall: deps viewrnrndeps: $(DEMO_SRCS) Makefilern @echo "Generating new dependency file...";rn @-rm -f deps;rn @for f in $(DEMO_SRCS); do \rn OBJ=objects/`basename $$f|sed -e 's/\.cpp/\.o/' -e 's/\.c/\.o/'`; \rn echo $$OBJ: $$f>> deps; \rn echo ' $(CC) $$(CFLAGS) $$(CXXFLAGS) -c -o $$@ $$^'>> deps; \rn donern-include ./depsrnrn.PHONY: rnrnview.o: $(DEMO_OBJS)rn $(LD) -r $(DEMO_OBJS) -o $@ -nostdlib -lpthread -lmrnrnrnview: view.o $(NANOXLIBS) rnrnrnrnclean:rn rm -f viewrn rm -f $(DEMO_DIR)/*.orn rm -f depsrnrnrngcc make报错如下:rnrnview.o(.text+0xc5af): In function `__pthread_initialize_manager':rn: undefined reference to `_res'rnview.o(.text+0xcd9f): In function `__pthread_reset_main_thread':rn: undefined reference to `_errno'rnview.o(.text+0xcdaf): In function `__pthread_reset_main_thread':rn: undefined reference to `_h_errno'rnview.o(.text+0xcdb9): In function `__pthread_reset_main_thread':rn: undefined reference to `_res'rnview.o(.text+0xcf3a): In function `__pthread_kill_other_threads_np':rn: undefined reference to `_errno'rnview.o(.text+0xcf54): In function `__pthread_kill_other_threads_np':rn: undefined reference to `_res'rnview.o(.text+0xd3ed): In function `pthread_initialize':rn: undefined reference to `_res'rnview.o(.text+0xea45): In function `__libc_write':rn: undefined reference to `__syscall_error'rnview.o(.text+0xea75): In function `__libc_write':rn: undefined reference to `__syscall_error'rnview.o(.text+0xeaa5): In function `read':rn: undefined reference to `__syscall_error'rnview.o(.text+0xead5): In function `read':rn: undefined reference to `__syscall_error'rnview.o(.text+0xeaff): In function `close':rn: undefined reference to `__syscall_error'rnview.o(.text+0xeb29): more undefined references to `__syscall_error' followrnview.o(.data+0x3338): undefined reference to `_errno'rnview.o(.data+0x3340): undefined reference to `_h_errno'rnview.o(.data+0x3348): undefined reference to `_res'rncollect2: ld returned 1 exit statusrnmake: *** [view] Error 1rnrnrn请教大家这是什么问题?rn
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件