升级系统,把php5.2.9升级到5.3.6,按照以前的编译参数,configure能正常通过,但是在make的时候提示: In file included from /root/php-5.3.6/ext/gd/libgd/gd_compat.c:8: /usr/local/jpeg/include/jpeglib.h:938: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/local/jpeg/incl…
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':/ext/iconv/iconv.c:2491: undefined reference to `libiconv_open'collect2: ld returned 1 exit statusmake: *** [sapi/cli/php] Error 1 解决方法: 使用:make ZEND_EXTRA_LIBS='-liconv'  或者: vim Ma…
在Sublime2中编译运行Python文件时,如果代码中包含用户输入的函数时(eg. raw_input()),Ctrl+b编译运行之后会提示以下错误: 解决方法:安装SublimeREPL打开Sublime Text2编辑器,按 Ctrl+Shift+p,输入install,选择Package Control: Install Package,接着输入sublimeREPL,回车即可安装,安装完毕,重启sublime即可. 编译python文件的时候,可以选择[Tools]——[sublim…
杜工就不在这里啰嗦怎么遇到这个问题的了,如果你确实安装了的gd库,却发现无法支持jpeg格式的图片,可从下面找到答案. 原因是在编译gd库前,配置时未声明jpeg库路径.解决方法如下: 32位系统: ./configure –with-php-config=/usr/local/php5/bin/php-config–with-jpeg-dir=/usr/lib 64位系统 ./configure –with-php-config=/usr/local/php5/bin/php-config–w…
CentOS编译安装MySQL,./coonfigure时出现错误: checking for termcap functions library... configure: error: No curses/termcap library found 解决方法:安装 1.下载网址:ftp://invisible-island.net/ncurses/ # tar -zvxf ncurses-5.7.tar.gz # ./configure # make # make install 2.安装了…
在VS 2012 中编译 C 语言项目,如果使用了 scanf 函数,编译时便会提示如下错误: error C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 原因是Visual C++ 2012 使用了更加安…
  ➜  test_sqlite3 gcc *.c -I . -o xixi -pthread      /tmp/cckGKTrr.o: In function `unixDlOpen': sqlite3.c:(.text+0x1124d): undefined reference to `dlopen' /tmp/cckGKTrr.o: In function `unixDlError': sqlite3.c:(.text+0x1126c): undefined reference to `…
最近装了Vs2010 准备把一些项目,升级到.Net 4.0 在编译时,总是出现 MSB6006: “LC.exe”已退出 的错误.很是郁闷.刚开始以为是第三方控件的,去掉了,也不行.后来在网上找了一下资料,只需删除项目下面的 licenses.licx 文件就可以了. 测试有效.…
转自 http://blog.csdn.net/qq465235530/article/details/53897538 首先出现这种问题是说明正在使用低版本jdk编译其本身不支持的语法,出现这种情况有三种解决办法, 1.首先检查"File" -> "Project Structure" -> "Project settings" -> "Project" -> "Project langua…
IDEA编译时出现cannot resolve symbol的报错时,(老表的问题出现在另一台电脑上,所以现在没办法给大家截图报错时的图,今天是周末没用那台电脑,突然想起来就想把它写下来,抱歉抱歉!!!不过没关系下面的步骤有图有真相)   在使用IDEA的时候,在控制器中我需要获取IOUtile对象,编译时出现cannot resolve symbol的报错问题,然后网上查找资料解决了以后,今天突然想到了这件事这里记录一下.     具体操作步骤如下: 1.先检查一下tomcat是否配置serv…