Linux编译mysql8.0.15报错,求大神

/usr/local/src/mysql-8.0.15/sql/json_dom.cc: 在函数‘Json_dom_ptr merge_doms(Json_dom_ptr, Json_dom_ptr)’中:
/usr/local/src/mysql-8.0.15/sql/json_dom.cc:112:12: 错误:无法将左值‘Json_object_ptr {aka std::unique_ptr}’绑定到‘std::unique_ptr&&’
return left_object;
^
In file included from /usr/local/include/c++/4.8.4/memory:81:0,
from /usr/local/src/mysql-8.0.15/sql/json_dom.h:29,
from /usr/local/src/mysql-8.0.15/sql/json_dom.cc:23:
/usr/local/include/c++/4.8.4/bits/unique_ptr.h:169:2: 错误:以初始化‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&) [with _Up = Json_object; _Ep = std::default_delete; = void; _Tp = Json_dom; _Dp = std::default_delete]的实参 1
unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
^
/usr/local/src/mysql-8.0.15/sql/json_dom.cc:125:10: 错误:无法将左值‘Json_array_ptr {aka std::unique_ptr}’绑定到‘std::unique_ptr&&’
return left_array;
^
In file included from /usr/local/include/c++/4.8.4/memory:81:0,
from /usr/local/src/mysql-8.0.15/sql/json_dom.h:29,
from /usr/local/src/mysql-8.0.15/sql/json_dom.cc:23:
/usr/local/include/c++/4.8.4/bits/unique_ptr.h:169:2: 错误:以初始化‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&) [with _Up = Json_array; _Ep = std::default_delete; = void; _Tp = Json_dom; _Dp = std::default_delete]’实参 1
unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
^
/usr/local/src/mysql-8.0.15/sql/json_dom.cc: 在成员函数‘virtual Json_dom_ptr Json_object::clone() const’中:
/usr/local/src/mysql-8.0.15/sql/json_dom.cc:1010:10: 错误:无法将左值‘Json_object_ptr {aka std::unique_ptr}’绑定到‘std::unique_ptr&&’
return o;
^
In file included from /usr/local/include/c++/4.8.4/memory:81:0,
from /usr/local/src/mysql-8.0.15/sql/json_dom.h:29,
from /usr/local/src/mysql-8.0.15/sql/json_dom.cc:23:
/usr/local/include/c++/4.8.4/bits/unique_ptr.h:169:2: 错误:以初始化‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&) [with _Up = Json_object; _Ep = std::default_delete; = void; _Tp = Json_dom; _Dp = std::default_delete]的实参 1
unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
^
/usr/local/src/mysql-8.0.15/sql/json_dom.cc: 在成员函数‘virtual Json_dom_ptr Json_array::clone() const’中:
/usr/local/src/mysql-8.0.15/sql/json_dom.cc:1150:10: 错误:无法将左值‘Json_array_ptr {aka std::unique_ptr}’绑定到‘std::unique_ptr&&’
return vv;
^
In file included from /usr/local/include/c++/4.8.4/memory:81:0,
from /usr/local/src/mysql-8.0.15/sql/json_dom.h:29,
from /usr/local/src/mysql-8.0.15/sql/json_dom.cc:23:
/usr/local/include/c++/4.8.4/bits/unique_ptr.h:169:2: 错误:以初始化‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&) [with _Up = Json_array; _Ep = std::default_delete; = void; _Tp = Json_dom; _Dp = std::default_delete]’实参 1
unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
^
/usr/local/src/mysql-8.0.15/sql/json_dom.cc: 在函数‘Json_dom_ptr merge_doms(Json_dom_ptr, Json_dom_ptr)’中:
/usr/local/src/mysql-8.0.15/sql/json_dom.cc:127:1: 警告:在有返回值的函数中,控制流程到达函数尾 [-Wreturn-type]
}
^
/usr/local/src/mysql-8.0.15/sql/json_dom.cc: 在成员函数‘virtual Json_dom_ptr Json_object::clone() const’中:
/usr/local/src/mysql-8.0.15/sql/json_dom.cc:1012:1: 警告:在有返回值的函数中,控制流程到达函数尾 [-Wreturn-type]
}
^
/usr/local/src/mysql-8.0.15/sql/json_dom.cc: 在成员函数‘virtual Json_dom_ptr Json_array::clone() const’中:
/usr/local/src/mysql-8.0.15/sql/json_dom.cc:1152:1: 警告:在有返回值的函数中,控制流程到达函数尾 [-Wreturn-type]
}
^
make[2]: *** [sql/CMakeFiles/sql_main.dir/json_dom.cc.o] 错误 1
make[1]: *** [sql/CMakeFiles/sql_main.dir/all] 错误 2
make: *** [all] 错误 2

1个回答

删除sql_main.dir,调大内存,从新cmake和make

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
编译openJDK报错,求大神指导!!!
最近想学习下《深入理解Java虚拟机 JVM高级特性与最佳实践》 看看jdk源码和JVM,但是在ubuntu系统编译openJDK报错,不知道哪位大神遇到过,或者有解决办法。报错如下,感觉就是第一句error: warnings found and -Werror specified 引起,但是不知道在哪里改这个配置rnrn...................(省略前部分)rnerror: warnings found and -Werror specifiedrn../../../../src/share/classes/java/rmi/MarshalledObject.java:159: warning: [unchecked] unchecked castrn T obj = (T) in.readObject();rn ^rn required: Trn found: Objectrn where T is a type-variable:rn T extends Object declared in class MarshalledObjectrn../../../../src/share/classes/java/rmi/MarshalledObject.java:193: warning: [rawtypes] found raw type: MarshalledObjectrn MarshalledObject other = (MarshalledObject) obj;rn ^rn missing type arguments for generic class MarshalledObjectrn where T is a type-variable:rn T extends Object declared in class MarshalledObjectrn../../../../src/share/classes/java/rmi/server/RemoteObject.java:439: warning: [rawtypes] found raw type: Classrn Class refClass = Class.forName(internalRefClassName);rn rn............rn(中间省略若干行类似代码)rn .............rn missing type arguments for generic class Classrn where T is a type-variable:rn T extends Object declared in class Classrn../../../../src/share/classes/java/util/logging/LogManager.java:1322: warning: [rawtypes] found raw type: Classrn Class clz = ClassLoader.getSystemClassLoader().loadClass(val);rn ^rn missing type arguments for generic class Classrn where T is a type-variable:rn T extends Object declared in class Classrn../../../../src/share/classes/java/beans/PropertyChangeSupport.java:463: warning: [unchecked] unchecked castrn Hashtable children = (Hashtable) fields.get("children", null);rn ^rn required: Hashtablern found: Objectrn../../../../src/share/classes/sun/rmi/server/ActivatableRef.java:333: warning: [deprecation] done(RemoteCall) in RemoteRef has been deprecatedrn public void done(RemoteCall call) throws RemoteException rn ^rn../../../../src/share/classes/sun/rmi/server/ActivatableRef.java:324: warning: [deprecation] invoke(RemoteCall) in RemoteRef has been deprecatedrn public void invoke(RemoteCall call) throws Exceptionrn ^rnNote: Some input files additionally use or override a deprecated API.rn1 errorrn100 warningsrnmake[6]: *** [.compile.classlist] Error 1rnmake[6]: Leaving directory `/opt/openjdk/jdk/make/sun/rmi/rmi'rnmake[5]: *** [all] Error 1rnmake[5]: Leaving directory `/opt/openjdk/jdk/make/sun/rmi'rnmake[4]: *** [all] Error 1rnmake[4]: Leaving directory `/opt/openjdk/jdk/make/sun'rnmake[3]: *** [all] Error 1rnmake[3]: Leaving directory `/opt/openjdk/jdk/make'rnmake[2]: *** [jdk-build] Error 2rnmake[2]: Leaving directory `/opt/openjdk'rnmake[1]: *** [generic_debug_build] Error 2rnmake[1]: Leaving directory `/opt/openjdk'rnmake: *** [build_debug_image] Error 2rn
SQLite 报错 求大神
[img=https://img-bbs.csdn.net/upload/201606/19/1466348080_159492.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201606/19/1466348086_952969.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201606/19/1466348093_460887.png][/img]rn[img=https://img-bbs.csdn.net/upload/201606/19/1466348099_738753.png][/img]
求大神,报错org.hibernate.hql.ast.QuerySyntaxException
项目用的是jpa+hibernate+spring做的,然后我写了个单元测试,运行报错rnjava.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: LsmpOssSetting is not mapped [SELECT t FROM LsmpOssSetting t ]rnrn以下是相关代码rn[code=java]package com.newcosoft.lsmp.oss.mode.po;rnrnimport com.newcosoft.lsmp.common.BaseEntity;rnrnimport java.sql.Timestamp;rnrnimport javax.persistence.Column;rnimport javax.persistence.Entity;rnimport javax.persistence.GeneratedValue;rnimport javax.persistence.GenerationType;rnimport javax.persistence.Id;rnimport javax.persistence.JoinColumn;rnimport javax.persistence.ManyToOne;rnimport javax.persistence.SequenceGenerator;rnimport javax.persistence.Table;rnimport javax.persistence.UniqueConstraint;rnrn/**rn * LsmpOssSetting generated by hbm2javarn */rn@Entityrn@Table(name = "LSMP_OSS_SETTING", uniqueConstraints = @UniqueConstraint(columnNames = "ID"))rnpublic class LsmpOssSetting extends BaseEntity implements java.io.Serializable rnrn /**rn * rn */rn private static final long serialVersionUID = 1L;rn private long id;rn private String lastSettingContent;rn private int syncFlag;rn private String lsmpSettingName;rn private String lsmpSettingDescription;rn private LsmpOssSettingApp lsmpSettingApp;rn private String lsmpSettingContent;rn private int status;rn private Timestamp createTime;rn private Timestamp lastChangeTime;rn private Integer ext01;rn private String ext02;rnrn public LsmpOssSetting() rn rnrn public LsmpOssSetting(long id) rn this.id = id;rn rnrn @Idrn @Column(name = "ID", unique = true, nullable = false, precision = 7, scale = 0)rn @SequenceGenerator(name = "LSMP_OSS_SETTING_ID_GENERATOR", sequenceName = "SEQ_OSS_SETTING")rn @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "LSMP_OSS_SETTING_ID_GENERATOR")rn public long getId() rn return this.id;rn rnrn public void setId(long id) rn this.id = id;rn rnrn @Column(name = "LAST_SETTING_CONTENT")rn public String getLastSettingContent() rn return lastSettingContent;rn rnrn public void setLastSettingContent(String lastSettingContent) rn this.lastSettingContent = lastSettingContent;rn rnrn @Column(name = "SYNC_FLAG")rn public int getSyncFlag() rn return syncFlag;rn rnrn public void setSyncFlag(int syncFlag) rn this.syncFlag = syncFlag;rn rnrn @Column(name = "LSMP_SETTING_NAME")rn public String getLsmpSettingName() rn return this.lsmpSettingName;rn rnrn public void setLsmpSettingName(String lsmpSettingName) rn this.lsmpSettingName = lsmpSettingName;rn rnrn @Column(name = "LSMP_SETTING_DESCRIPTION")rn public String getLsmpSettingDescription() rn return this.lsmpSettingDescription;rn rnrn public void setLsmpSettingDescription(String lsmpSettingDescription) rn this.lsmpSettingDescription = lsmpSettingDescription;rn rnrn @ManyToOnern @JoinColumn(name = "LSMP_SETTING_APP_ID", referencedColumnName = "ID")rn public LsmpOssSettingApp getLsmpSettingApp() rn return this.lsmpSettingApp;rn rnrn public void setLsmpSettingApp(LsmpOssSettingApp lsmpSettingApp) rn this.lsmpSettingApp = lsmpSettingApp;rn rnrn @Column(name = "LSMP_SETTING_CONTENT")rn public String getLsmpSettingContent() rn return this.lsmpSettingContent;rn rnrn public void setLsmpSettingContent(String lsmpSettingContent) rn this.lsmpSettingContent = lsmpSettingContent;rn rnrn @Column(name = "STATUS", precision = 2, scale = 0)rn public int getStatus() rn return this.status;rn rnrn public void setStatus(int status) rn this.status = status;rn rnrn @Column(name = "CREATE_TIME")rn public Timestamp getCreateTime() rn return this.createTime;rn rnrn public void setCreateTime(Timestamp createTime) rn this.createTime = createTime;rn rnrn @Column(name = "LAST_CHANGE_TIME")rn public Timestamp getLastChangeTime() rn return this.lastChangeTime;rn rnrn public void setLastChangeTime(Timestamp lastChangeTime) rn this.lastChangeTime = lastChangeTime;rn rnrn @Column(name = "EXT_01", precision = 7, scale = 0)rn public Integer getExt01() rn return this.ext01;rn rnrn public void setExt01(Integer ext01) rn this.ext01 = ext01;rn rnrn @Column(name = "EXT_02", length = 100)rn public String getExt02() rn return this.ext02;rn rnrn public void setExt02(String ext02) rn this.ext02 = ext02;rn rnrn[/code]rnrnapplicationContext.xmlrn[code=html]rnrnrnrn rn rnrn rnrn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn org.hibernate.dialect.Oracle10gDialectrn rn rn rnrn rn rn rnrn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rn rn rn rnrn rn [/code]rnrnpersistence.xmlrn[code=html]rnrn rnrn rn[/code]rnrn最后是测试用例rn[code=java]package com.newcosoft.lsmp.oss.dao.env;rnrnimport javax.persistence.EntityManager;rnimport javax.persistence.EntityManagerFactory;rnimport javax.persistence.Query;rnrnimport org.junit.Test;rnimport org.springframework.context.support.FileSystemXmlApplicationContext;rnrnpublic class SettingEnvDaoTest rn @Testrn public void getSetting()rn FileSystemXmlApplicationContext context=new FileSystemXmlApplicationContext("E://pcgworkspace/oss-2.6.0/lsmp-oss-web/src/main/resource/applicationContext.xml");rn EntityManagerFactory emf=context.getBean("entityManagerFactory", EntityManagerFactory.class);rn String hql = "SELECT t FROM LsmpOssSetting t ";rn EntityManager em=emf.createEntityManager();rn Query query=em.createQuery(hql);rn System.out.println(query.getResultList().size());rn rn[/code]
mysql8.0.15安装过程中报错服务无法启动
https://blog.csdn.net/weixin_40396510/article/details/79277731 刚下载了安装包之后在网上搜到了上面的链接,按照帖子中的步骤执行,执行到net start mysql(运行)时报错服务无法启动 MySQL 服务正在启动 . MySQL 服务无法启动。 服务没有报告任何错误。 请键入 NET HELPMSG 3534 以获得更多的帮...
求大神,初学Linux
我用 date -s “20170809 08:30:00”设置系统的时间,然后用date看系统的时间,为什么显示的还是今天的时间?我用的是虚拟机rn[img=https://img-bbs.csdn.net/upload/201712/18/1513564989_34904.png][/img]
求linux大神
老板有个客户想是Linux系统,想装linux版本下的informatic 和cognos 10。我对这个压根就约等于白班,求大神解救,最好有详细命令和步骤,小弟感激不尽。另外请大师制作2个cognos报表:1加权平均报表;2移动平均报表。 报表老板说给钱的,有空的大师球帮忙,可以来现场,诚信第一。[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/1.gif][/img] 加分
MySQL8.0.15安装教程
安装MySQL8.0.15安装包下载解压安装文件添加my.ini文件用管理员身份打开cmd更改密码安装部署完成 安装包下载 链接: MySQL官网下载地址 点第一个Download,第一个和第二个安装包的区别在于,第一个文件为zip文件,免安装步骤,第二个为msi文件,为安装使用。在这里选择的是zip安装方式。 下载好的图标如下: 解压安装文件 解压到E:\MySQL\mysql-8.0.1...
mysql8.0.15的jar包
这是mysql8.0.15的jar包,是Java与mysql的连接包,还有hive等数据仓库的所需的jar包
mysql8.0.15创建用户
我想创建test用户,并且密码为test123,命令如下: create user 'test'@'%' identified with mysql_native_password by 'test123'; 注:必须要加上with mysql_native_password,选择密码加密认证方式为mysql_native_password,否则会出现乱码,客户端用SQLyog连接登录失败...
求助大神,linux 编译的问题,
我有2个平台A(64位) , B(32位),但是只想在平台A上编译,rn在A上装有B 的develop路径(其实不是安装的rpm包,是从编译服务器上拷贝的make 路径,rn我在编译某个驱动模块的时候, makefile这样的:rnrnifeq ($(ver),3.18)rn KDIR:=/home/3.18.19.build/ //这是平台B编译后的路径, (arch、block ... 等文件文件)rnelsern KDIR:=/lib/modules/$(shell uname -r)/build/ //只是我本地安装的develop包rnrn这样可以编译2个平台使用的ko文件,rnrn但是我如果要编译用户态文件,比如一个hello word文件,直接用gcc编译出来是无法到B(32位)上使用的,有没有什么办法呢???rn
C3P0 老是报错,求大神!!!
[code=java]rn[2013-02-14 20:37:46] WARN [com.mchange.v2.resourcepool.BasicResourcePool] - Failed to destroy resource: com.mchange.v2.c3p0.impl.NewPooledConnection@14c7262rnjava.util.ConcurrentModificationExceptionrn at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)rn at java.util.HashMap$KeyIterator.next(HashMap.java:828)rn at com.mysql.jdbc.Connection.closeAllOpenStatements(Connection.java:2191)rn at com.mysql.jdbc.Connection.realClose(Connection.java:4777)rn at com.mysql.jdbc.Connection.close(Connection.java:2172)rn at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:474)rn at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)rn at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)rn at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)rn at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)[/code]rnrn[code=java][2013-02-15 11:48:15] WARN [com.mchange.v2.resourcepool.BasicResourcePool] - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@11079b5 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception: rncom.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: rnrn** BEGIN NESTED EXCEPTION ** rnrnjava.net.SocketExceptionrnMESSAGE: java.net.SocketException: No buffer space available (maximum connections reached?): connectrnrnSTACKTRACE:rnrnjava.net.SocketException: java.net.SocketException: No buffer space available (maximum connections reached?): connectrn at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)rn at com.mysql.jdbc.MysqlIO.(MysqlIO.java:276)rn at com.mysql.jdbc.Connection.createNewIO(Connection.java:2666)rn at com.mysql.jdbc.Connection.(Connection.java:1531)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)rn at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)rn at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)rn at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)rn at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)rn at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)rn at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)rn at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)rn at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)rnrnrn** END NESTED EXCEPTION **rnrnrnrnLast packet sent to the server was 0 ms ago.rn at com.mysql.jdbc.Connection.createNewIO(Connection.java:2741)rn at com.mysql.jdbc.Connection.(Connection.java:1531)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)rn at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)rn at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)rn at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)rn at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)rn at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)rn at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)rn at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)rn at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)rn[2013-02-15 11:49:43] WARN [com.mchange.v2.async.ThreadPoolAsynchronousRunner] - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@9184d1 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!rn[2013-02-15 11:49:44] WARN [com.mchange.v2.async.ThreadPoolAsynchronousRunner] - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@9184d1 -- APPARENT DEADLOCK!!! Complete Status: rn Managed Threads: 3rn Active Threads: 0rn Active Tasks: rn Pending Tasks: rn com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@1217953rn com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@a45b9arn com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@79e819rn com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@174e98frn com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@91be7frn com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@719386rn com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@8c7d1crnPool thread stack traces:rn Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,]rn Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,]rn Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,][/code]
AlertDialog的点击事件报错!!!求大神
[code=java]final ListView lv=(ListView)findViewById(R.id.listView1);rn final ArrayList> listItem = new ArrayList>();rn HashMap map = new HashMap();rn final SimpleAdapter mSimpleAdapter=new SimpleAdapter(this,listItem,R.layout.item,new String[]"1","2",new int[]R.id.itemtext1,R.id.itemtext2);rn lv.setAdapter(mSimpleAdapter);rn Button btn=(Button)findViewById(R.id.add);rn btn.setOnClickListener(new View.OnClickListener() rn rn @Overridern public void onClick(View v) rn // TODO 自动生成的方法存根rn Builder builder=new AlertDialog.Builder(MainActivity.this);rn builder.setTitle("添加任务:");rn LayoutInflater inflater=getLayoutInflater();rn View view=inflater.inflate(R.layout.addactivity, null);rn builder.setView(view);rn builder.setPositiveButton("添加", new DialogInterface.OnClickListener() rn rn @Overridern public void onClick(DialogInterface dialog, int which) rn // TODO 自动生成的方法存根rn EditText editname=(EditText)findViewById(R.id.editName);rn String name=editname.getText().toString();rn EditText edittime=(EditText)findViewById(R.id.editTime);rn String time=edittime.getText().toString();rn HashMap map = new HashMap();rn map.put("1", name);rn map.put("2", time);rn rn listItem.add(map);rn rn mSimpleAdapter.notifyDataSetChanged();rn rn );rn builder.setNegativeButton("取消", null);rn builder.create().show();rn rn );[/code]rnrnrn这是代码,简单说一下,在主界面放一个button和一个listview,点击button弹出AlertDialog,AlertDialog是通过addactivity.xml来布局的,在AlertDialog里面有两个EditText(editName,editTime),我希望通过setPosttiveButton获取这两个EditText的值,放到主界面的ListView里面,可是这样报错,大神帮忙看一下哪里错了,谢谢
求大神帮助,delete报错
程序在delete那句中断rn源代码:rn#include< iostream >rn#include< vector >rnusing std::vector;rn#include< string >rnusing namespace std;rnrnchar* tran(string str)rnrn char* t = new char[strlen(str.c_str()) + 1];rn char* p = t;rn strcpy_s(p,strlen(str.c_str())+1,str.c_str());rn while (*p != 0)rn rn if (*p >= 'a'&&*p <= 'z')rn * (p++) -= 32;rn elsern ++p;rn rn p[strlen(str.c_str())] = 0;rn return t;rnrnvoid main()rnrn vector< string > v;rn string s;rn char * t;rn while (cin >> s&&*(s.c_str()) != '#')rn v.push_back(s);rn vector< string >::iterator iter = v.begin();rn t = tran(*iter);rn int len = strlen(t);rnrn delete[] t;////////出错////////////////rnrn system("pause");rnrn
eclipse配置报错!求大神的解决!
[img=http://cwebmail.mail.163.com/js4/read/readpic.jsp?sid=fAhNYcRMhzLTYuEXbZMMscRxsRjCSjoR&mid=465:xtbB0RILtk9o6rcPUwAAsY&part=3&mode=inline&l=read&action=open_attach][/img]rn[img=http://cwebmail.mail.163.com/js4/read/readpic.jsp?sid=fAhNYcRMhzLTYuEXbZMMscRxsRjCSjoR&mid=465:xtbB0RILtk9o6rcPUwAAsY&part=4&mode=inline&l=read&action=open_attach][/img]rnJDK1.6rneclipse启动后报错如图:我想请教一下,是不是问题就出在配置上。。。正确的配置是什么样的?麻烦详细点~~~rnrn我是个菜鸟~~求大神解决~~
DataGrid.as 报错求大神解惑
我已经完全不知道怎么修改了,跪求各位大神伸手rnrn报错信息如下 rnTypeError: Error #1009: 无法访问空对象引用的属性或方法。rn at mx.controls::DataGrid/destroyItemEditor()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\controls\DataGrid.as:4026]rn at mx.controls::DataGrid/itemEditorItemEditEndHandler()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\controls\DataGrid.as:4934]rn at flash.events::EventDispatcher/dispatchEventFunction()rn at flash.events::EventDispatcher/dispatchEvent()rn at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9590]rn at mx.controls::DataGrid/endEdit()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\controls\DataGrid.as:4085]rn at mx.controls::DataGrid/editorMouseDownHandler()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\controls\DataGrid.as:4640]rn会调用两次 第一次_editedItemPosition 有值 第二次为null 报错 dataGrid.as 中4026行 if (! _columns[_editedItemPosition.columnIndex].rendererIsEditor) 报错rnrn
CCS报错 求大神帮忙
编译到 sin或cos函数行 报错rnerror: expression must have (pointer-to-) function typernwarning: variable "sin" is used before its value is setrnrn求大神指导啊
JavaWb405报错求大神帮忙!
public class UserServlet extends HttpServlet { public UserServlet() { super(); } public void destroy() { super.destroy(); } public void doGet(HttpServletRequest request, HttpServletResponse response...
springmvc+mybatis3.3报错,求大神解答
[DEBUG]2015-08-11 22:34:39,338 org.springframework.web.servlet.DispatcherServlet Could not complete requestrnorg.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.ExceptionInInitializerErrorrn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:972)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)rn at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)rn at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.lang.ExceptionInInitializerErrorrn at cn.sg.dao.impl.ProductDaoImpl.qryProductByPage(ProductDaoImpl.java:66)rn at cn.sg.service.CupboardService.qryProductByPage(CupboardService.java:23)rn at cn.sg.controller.BackStageController.QueStoreList(BackStageController.java:46)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)rn at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)rn at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:604)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:565)rn at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)rn ... 24 morernCaused by: org.apache.ibatis.exceptions.PersistenceException: rn### Error building SqlSession.rn### The error may exist in cn/sg/model/Product1.xmlrn### The error occurred while processing mapper_resultMap[tab_product]rn### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource cn/sg/model/Product1.xmlrn at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23)rn at org.apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:79)rn at org.apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:71)rn at cn.sg.util.MyBatisUtilNew.(MyBatisUtilNew.java:29)rn ... 38 morernCaused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource cn/sg/model/Product1.xmlrn at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:106)rn at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:89)rn at org.apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:77)rn ... 40 morernCaused by: java.io.IOException: Could not find resource cn/sg/model/Product1.xmlrn at org.apache.ibatis.io.Resources.getResourceAsStream(Resources.java:108)rn at org.apache.ibatis.io.Resources.getResourceAsStream(Resources.java:95)rn at org.apache.ibatis.builder.xml.XMLConfigBuilder.mapperElement(XMLConfigBuilder.java:317)rn at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:104)rn ... 42 morern八月 11, 2015 10:34:39 下午 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet [sasmvc] in context with path [/CUPBOARD] threw exception [Handler processing failed; nested exception is java.lang.ExceptionInInitializerError] with root causernjava.io.IOException: Could not find resource cn/sg/model/Product1.xmlrn at org.apache.ibatis.io.Resources.getResourceAsStream(Resources.java:108)rn at org.apache.ibatis.io.Resources.getResourceAsStream(Resources.java:95)rn at org.apache.ibatis.builder.xml.XMLConfigBuilder.mapperElement(XMLConfigBuilder.java:317)rn at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:104)rn at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:89)rn at org.apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:77)rn at org.apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:71)rn at cn.sg.util.MyBatisUtilNew.(MyBatisUtilNew.java:29)rn at cn.sg.dao.impl.ProductDaoImpl.qryProductByPage(ProductDaoImpl.java:66)rn at cn.sg.service.CupboardService.qryProductByPage(CupboardService.java:23)rn at cn.sg.controller.BackStageController.QueStoreList(BackStageController.java:46)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)rn at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)rn at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:604)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:565)rn at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)rn at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)rn at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)
excel导出报错,求大神解决
程序在本机跑很好,发布在服务器上,开始也能导出excel,但是过一段时间,大概3天后,就导出报错,提示如下rnRetrieving the COM class factory for component with CLSID 00024500-0000-0000-C000-000000000046 failed due to the following error: 8000401a 因为配置标识不正确,系统无法开始服务器进程。请检查用户名和密码。 (Exception from HRESULT: 0x8000401A). rnrnMicrosoft.Office.Interop.Excel.Application app = new Microsoft.Office.Interop.Excel.Application();//这里报错的rnrn然后我又部署一个新版本上去,又好了,但是过几天后又出现这个问题,网上查应该是权限问题,试了几种方法都没有用,请大神们帮看看。rnrn
[http-bio-8080-exec-10] 报错,求大神帮忙
页面传入一个关于user的一个excel表,然后传入到数据库,基于ssm框架rn这是fileController里面的代码,系统走到59行报错,页面无报错rn以下是fileController 和 userDao 以及错误信息rn[img=https://img-bbs.csdn.net/upload/201805/18/1526602837_280239.png][/img][img=https://img-bbs.csdn.net/upload/201805/18/1526602851_1974.png][/img][img=https://img-bbs.csdn.net/upload/201805/18/1526602855_923651.png][/img]rn上面报的错只是c:\logfile.txt无法访问,好像没什么影响,有人知道问题在哪么rn
求大神解决空指针报错!
activity.jsprnrnList beanListResult =(List)request.getAttribute("list");rnIterator iter_beanList = beanListResult.iterator();rnrnServletrnelse if("/background".equals(module_path))/*访问后台管理模块*/rn ActivityDao activityDao=new ActivityDao();rn if("queryList".equals(action))rn List list=activityDao.queryList(req);rn req.setAttribute("activity", list);rn req.getRequestDispatcher("/background/activity.jsp").forward(req,resp); rn rnrnDAOrnpublic List queryList(HttpServletRequest req)rnString sql="select * from company_acitvityenroll";rnList list=DbBuilder.getListBean(sql,Activity.class);rn return list;rnrnrnSEVERE: Servlet.service() for servlet [jsp] in context with path [] threw exception [An exception occurred processing JSP page /background/activity.jsp at line 166rnrn163: rn164: <%rn165: List beanListResult =(List)request.getAttribute("list");rn166: Iterator iter_beanList = beanListResult.iterator();rn167: while (iter_beanList.hasNext()) rn168: Activity activity=iter_beanList.next();rn169: %>rnrnrnStacktrace:] with root causernjava.lang.NullPointerException
程序报错,求大神指教
adodataset1.Fiter:='Number'+''''+edit1.Text+'''';n为什么报错说nunable to invoke code completion due to errors in source coden求大神解析一下为什么T_T
js报错,求大神指导!!!
这两个错弄了我一上午。。。大神求帮忙!!!![图片说明](https://img-ask.csdn.net/upload/201612/19/1482114064_996249.png)n![图片说明](https://img-ask.csdn.net/upload/201612/19/1482114077_913005.png)n![图片说明](https://img-ask.csdn.net/upload/201612/19/1482114089_7884.png)n![图片说明](https://img-ask.csdn.net/upload/201612/19/1482114098_336267.png)
java生成二维码报错,求大神
![图片说明](https://img-ask.csdn.net/upload/201612/05/1480922973_639848.png)n![图片说明](https://img-ask.csdn.net/upload/201612/05/1480922990_208189.png)
代码报错,求大神支招
二月 23, 2014 4:28:55 下午 org.apache.catalina.core.StandardContext filterStartrnSEVERE: Exception starting filter struts2rnjava.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)rn at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:527)rn at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:509)rn at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:137)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)rn at java.util.concurrent.FutureTask.run(FutureTask.java:166)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:722)rn二月 23, 2014 4:28:55 下午 org.apache.catalina.core.StandardContext startInternalrnSEVERE: Error filterStartrn二月 23, 2014 4:28:55 下午 org.apache.catalina.core.StandardContext startInternalrnSEVERE: Context [/ZQULife] startup failed due to previous errorsrn二月 23, 2014 4:28:55 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaksrnSEVERE: The web application [/ZQULife] created a ThreadLocal with key of type [com.sun.faces.util.Util$1] (value [com.sun.faces.util.Util$1@169f4cd]) and a value of type [java.util.HashMap] (value [com.sun.faces.patternCache= = ]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
ubuntu 16.04 编译android 报错, 求大神支持!!!!!!!
rnrn[color=#FF0000]ninja: build stopped: subcommand failed.rnbuild/core/ninja.mk:142: recipe for target 'ninja_wrapper' failedrnmake: *** [ninja_wrapper] Error 1[/color]rnrnrn[img=https://img-bbs.csdn.net/upload/201609/24/1474671098_710279.jpg][/img]
求大神解决问题编译文件中包含 报错out of memory
经过试验 注掉就没有错误了 不然换成 等头文件都没有问题 求解
自己尝试编译haddoop-2.7.2报错;google大法失效了;求大神
maven settings.xml配置;rn[code=java]/home/repo/maven/repositoryrnrn rn jdk17rn rn truern 1.7rn rn rn 1.7rn 1.7rn 1.7rn rn rn[/code]rncentos6.8环境变量:rn[code=java]export JAVA_HOME=/home/soft/jdk1.7.0_80rnexport PATH=$JAVA_HOME/bin:$PATHrnexport MAVEN_HOME=/home/soft/apache-maven-3.3.9rnexport MAVEN_OPTS="-Xms256m -Xmx512m"rnexport PATH=$MAVEN_HOME/bin:$PATHrnexport FINDBUGS_HOME=/home/soft/findbugs-3.0.1rnexport PATH=$FINDBUGS_HOME/bin:$PATHrnexport ANT_HOME=/home/soft/apache-ant-1.9.6rnexport PATH=$ANT_HOME/bin:$PATH[/code]rn错误日志:rn[code=java][00:23:12][INFO] ------------------------------------------------------------------------rn[00:23:12][INFO] Reactor Summary:rn[00:23:12][INFO] rn[00:23:12][INFO] Apache Hadoop Main ................................. SUCCESS [ 30.634 s]rn[00:23:12][INFO] Apache Hadoop Project POM .......................... SUCCESS [ 0.856 s]rn[00:23:12][INFO] Apache Hadoop Annotations .......................... SUCCESS [ 2.728 s]rn[00:23:12][INFO] Apache Hadoop Assemblies ........................... SUCCESS [ 0.760 s]rn[00:23:12][INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [ 5.117 s]rn[00:23:12][INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [ 2.961 s]rn[00:23:12][INFO] Apache Hadoop MiniKDC .............................. SUCCESS [ 3.642 s]rn[00:23:12][INFO] Apache Hadoop Auth ................................. SUCCESS [ 20.512 s]rn[00:23:12][INFO] Apache Hadoop Auth Examples ........................ SUCCESS [ 4.381 s]rn[00:23:12][INFO] Apache Hadoop Common ............................... SUCCESS [04:39 min]rn[00:23:12][INFO] Apache Hadoop NFS .................................. SUCCESS [ 6.462 s]rn[00:23:12][INFO] Apache Hadoop KMS .................................. SUCCESS [ 18.495 s]rn[00:23:12][INFO] Apache Hadoop Common Project ....................... SUCCESS [ 0.059 s]rn[00:23:12][INFO] Apache Hadoop HDFS ................................. FAILURE [03:39 min]rn[00:23:12][INFO] Apache Hadoop HttpFS ............................... SKIPPEDrn[00:23:12][INFO] Apache Hadoop HDFS BookKeeper Journal .............. SKIPPEDrn[00:23:12][INFO] Apache Hadoop HDFS-NFS ............................. SKIPPEDrn[00:23:12][INFO] Apache Hadoop HDFS Project ......................... SKIPPEDrn[00:23:12][INFO] hadoop-yarn ........................................ SKIPPEDrn[00:23:12][INFO] hadoop-yarn-api .................................... SKIPPEDrn[00:23:12][INFO] hadoop-yarn-common ................................. SKIPPEDrn[00:23:12][INFO] hadoop-yarn-server ................................. SKIPPEDrn[00:23:12][INFO] hadoop-yarn-server-common .......................... SKIPPEDrn[00:23:12][INFO] hadoop-yarn-server-nodemanager ..................... SKIPPEDrn[00:23:12][INFO] hadoop-yarn-server-web-proxy ....................... SKIPPEDrn[00:23:12][INFO] hadoop-yarn-server-applicationhistoryservice ....... SKIPPEDrn[00:23:12][INFO] hadoop-yarn-server-resourcemanager ................. SKIPPEDrn[00:23:12][INFO] hadoop-yarn-server-tests ........................... SKIPPEDrn[00:23:12][INFO] hadoop-yarn-client ................................. SKIPPEDrn[00:23:12][INFO] hadoop-yarn-server-sharedcachemanager .............. SKIPPEDrn[00:23:12][INFO] hadoop-yarn-applications ........................... SKIPPEDrn[00:23:12][INFO] hadoop-yarn-applications-distributedshell .......... SKIPPEDrn[00:23:12][INFO] ------------------------------------------------------------------------rn[00:23:12][INFO] BUILD FAILURErn[00:23:12][INFO] ------------------------------------------------------------------------rn[00:23:12][INFO] Total time: 09:57 minrn[00:23:12][INFO] Finished at: 2016-06-28T12:23:10-04:00rn[00:23:15][INFO] Final Memory: 130M/494Mrn[00:23:15][INFO] ------------------------------------------------------------------------rn[00:23:15][ERROR] Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.0:findbugs (default) on project hadoop-hdfs: Execution default of goal org.codehaus.mojo:findbugs-maven-plugin:3.0.0:findbugs failed: Java returned: 137 -> [Help 1]rn[00:23:15]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.0:findbugs (default) on project hadoop-hdfs: Execution default of goal org.codehaus.mojo:findbugs-maven-plugin:3.0.0:findbugs failed: Java returned: 137rn[00:23:15] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)rn[00:23:15] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)rn[00:23:15] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)rn[00:23:15] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)rn[00:23:15] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)rn[00:23:15] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)rn[00:23:15] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)rn[00:23:15] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)rn[00:23:15] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)rn[00:23:15] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)rn[00:23:15] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)rn[00:23:15] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)rn[00:23:15] at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)rn[00:23:15] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn[00:23:15] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn[00:23:15] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn[00:23:15] at java.lang.reflect.Method.invoke(Method.java:606)rn[00:23:15] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)rn[00:23:15] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)rn[00:23:15] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)rn[00:23:15] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)rn[00:23:15]Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.codehaus.mojo:findbugs-maven-plugin:3.0.0:findbugs failed: Java returned: 137rn[00:23:15] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)rn[00:23:15] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)rn[00:23:15] ... 20 morern[00:23:15]Caused by: : Java returned: 137rn[00:23:15] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)rn[00:23:15] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn[00:23:15] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn[00:23:15] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn[00:23:15] at java.lang.reflect.Method.invoke(Method.java:606)rn[00:23:15] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)rn[00:23:15] at org.apache.tools.ant.Task.perform(Task.java:348)rn[00:23:15] at groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:199)rn[00:23:15] at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:147)rn[00:23:15] at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:149)rn[00:23:15] at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64)rn[00:23:15] at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:756)rn[00:23:15] at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:730)rn[00:23:15] at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)rn[00:23:15] at org.codehaus.mojo.findbugs.FindBugsMojo.executeFindbugs(FindBugsMojo.groovy:995)rn[00:23:15] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn[00:23:15] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn[00:23:15] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn[00:23:15] at java.lang.reflect.Method.invoke(Method.java:606)rn[00:23:15] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)rn[00:23:15] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)rn[00:23:15] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)rn[00:23:15] at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)rn[00:23:15] at org.codehaus.mojo.findbugs.FindBugsMojo.execute(FindBugsMojo.groovy:784)rn[00:23:15] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)rn[00:23:15] ... 21 morern[00:23:15][ERROR] rn[00:23:15][ERROR] rn[00:23:15][ERROR] For more information about the errors and possible solutions, please read the following articles:rn[00:23:15][ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionExceptionrn[00:23:15][ERROR] rn[00:23:15][ERROR] After correcting the problems, you can resume the build with the commandrn[00:23:15][ERROR] mvn -rf :hadoop-hdfs[/code]
编译Android源码,老是给我报错,求大神解决
[b][b]build/core/Makefile:34: warning: overriding commands for target `out/target/product/x6818/system/bin/pppd'rnbuild/core/base_rules.mk:550: warning: ignoring old commands for target `out/target/product/x6818/system/bin/pppd'rnbuild/core/Makefile:34: warning: overriding commands for target `out/target/product/x6818/system/lib/libstagefright_wfd.so'rnbuild/core/base_rules.mk:550: warning: ignoring old commands for target `out/target/product/x6818/system/lib/libstagefright_wfd.so'rnNo private recovery resources for TARGET_DEVICE x6818rnhost Java: antlr-runtime (out/host/common/obj/JAVA_LIBRARIES/antlr-runtime_intermediates/classes)rnexternal/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ANTLRFileStream.java:38: error: error while writing ANTLRFileStream: could not create parent directoriesrnpublic class ANTLRFileStream extends ANTLRStringStream rn ^rnNote: Some input files use unchecked or unsafe operations.rnNote: Recompile with -Xlint:unchecked for details.rn1 errorrnmake: *** [out/host/common/obj/JAVA_LIBRARIES/antlr-runtime_intermediates/javalib.jar] Error 41rnrn#### make failed to build some targets (02:16 (mm:ss)) ####rn
编译不通过.VC6.求大神
#includern#includernint max(int a,int b)rnrn int a,b,max;rn if(a>=b)rn max=a;rn elsern max=b;rn return (max);rnrnvoid main()rnrn int a,b,c;rn scanf("%d,%d",&a,&b);rn c=max(a,b);rn printf("%d",c);rnrnrn
java编译急求大神
用DOS 命令可以敲有Scanner,且能顺利编译成功,用Eclipse无法编译而且报错rn[code=java]//package first;rnrnpublic class first rnrn public static void main(String[] args) rn // TODO Auto-generated method stubrn int sum = 0;rn char a;rn Scanner scanner = new Scanner(System.in); //创建一个变量输入rn int num =scanner.nextInt();//输入的数rn if (num < 0 || num > 1000) rn System.out.println("请输入0到1000之间的数字");rn return;rn rn String str = String.valueOf(num);rn for (int i = 0; i < str.length(); i++) rn a = str.charAt(i);rn sum += a - '0';rn rn System.out.println("这个数各位的和为:" + sum);rnrnrn rnrn[/code]rnrnrn
linux编译各种报错(拙见)
1.error: expected expression before 'struct' 未定义或者未包含相关的头文件 2.Error when bootstrapping CMake: Cannot find a C++ compiler that supports bot G++版本过低 3.Error when bootstrapping CMake: Problem while r...
Linux 安装Mysql8.0.15教程,以及修改密码
      写这篇博客是为了记住我刚刚安装成功的MySQL8.0.15,之前在网上找了很多博客最终没能成功,然后去google上找了几篇最终装好了,装数据库之前我是重装了服务器系统的, 所以这个安装环境是很干净的,写着篇博客希望能帮的上你,同时我自己以后装也不用到处去找了。 第一步,下载安装包wget https://repo.mysql.com//mysql80-community...
Linux部署环境搭建(二)MySQL8.0.15安装
一.下载 以下提供3种下载方式: 官网下载:https://dev.mysql.com/downloads/mysql/ 我所选的是64位,mysql-8.0.15-el7-x86_64.tar.gz安装包。 2.wget从官方下载 wgethttps://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.15-el7-x86_64.t...
Collections.sort报错,大神求分析、求答案
```rn Collections.sort(lcd1, new Comparator()rn @Overridern public int compare(CouponDto o1, CouponDto o2) rn if(o1.getCoupon().getListOrder2() > o2.getCoupon().getListOrder2())rn return -1;rn rn if(o1.getCoupon().getListOrder2() == o2.getCoupon().getListOrder2())rn return 0;rn rn return 1;rn ;rn rn );rn```rnrnrn 报Comparison method violates its general contract异常rn 改成rnrnrn```rn Collections.sort(lcd1, new Comparator()rn @Overridern public int compare(CouponDto o1, CouponDto o2) rn return -(o1.getCoupon().getListOrder2() - o2.getCoupon().getListOrder2());rn ;rn rn );rn```rnrnrn 就不再报错;rn 各位大神,这个是怎么回事
求大神指导C++ 编译求通过
#include rnusing namespace std;rn#include rnrnclass InvoiceItemrnrnprivate:rn char *p;rn int n;rn float costprice;rn float unitprice;rn float all;rn float tax;rn float total;rnpublic:rn InvoiceItem(char *,float);rn void cal();rn void plus(int);//没写析构函数rn int getn()return n;rn float getc()return costprice;rn float getu()return unitprice;rn float gettotal()return total;rn float getall()return all;rn float gettax()return tax;rn char *getname()return *p;*/rn;rnInvoiceItem::InvoiceItem(char *name,float cost)rnrn p=new char[strlen(name+1)];rn strcpy(p,name);rn costprice=cost;rn unitprice=cost*1.3;rnrnrnvoid InvoiceItem::cal()rnrn all=n*unitprice;rn tax=all*0.06;rn total=all+tax;rnrnrnvoid InvoiceItem::plus(int num)rnrn while(1)rn rn if(num>=0)rn rn n=num;rn break;rn rn elsern rn cout<<"购买的商品数量不能为负数!"<>num;rn rn rnrnvoid main()rnrn InvoiceItem item[5]=rn InvoiceItem("computer",4999),rn InvoiceItem("book",40),rn InvoiceItem("medicine",10),rn InvoiceItem("food",5),rn InvoiceItem("fruit",20)rn ;rn int num,i,flag=1,n=0;rn float allprice=0,tax=0;rn char name[30],select;rn cout<<"本店商品列表:"<>num;rn Item[index[n-1]].plus(num);rn Item[index[n-1]].cal();rn cout<<"您是否要继续购买?Y/N"rn while(1)rn rn cin>>select;rn if(select=='Y'||select=='N') break;rn elsern cout<<"输入不正确 请重新输入"<
php编译一直报错,大神们速来
CentOS release 6.4 (Final)rn编译php-5.5.38rngcc-c++-4.4.7-17.el6.x86_64rngcc-4.4.7-17.el6.x86_64drn编译参数--prefix=/usr/local/php --with-config-file-path=/usr/local/php --enable-fpm --with-fpm-user=www --with-fpm-group=www --enable-mysqlnd --enable-opcache --enable-sockets --enable-soap --enable-mysqlnd --with-mysql-sock -with-mysql --with-mysqli --with-pdo-mysql --without-pearrnmake 1>/dev/nullrn/root/php-5.5.38/ext/session/session.c: 在函数‘ps_srlzr_decode_php_serialize’中:rn/root/php-5.5.38/ext/session/session.c:866: 警告:传递‘php_var_unserialize’的第 2 个参数时在不兼容的指针类型间转换rn/root/php-5.5.38/ext/standard/php_var.h:53: 附注:需要类型‘const unsigned char **’,但实参的类型为‘const char **’rn/root/php-5.5.38/Zend/zend_compile.c: 在函数‘zend_traits_copy_functions’中:rn/root/php-5.5.38/Zend/zend_compile.c:4021: 警告:赋值丢弃了指针目标类型的限定rnrn编译一直出错,换成CentOS7也一样出错,真搞不懂了,google一直解决不了,源码肯定没问题,大概都是依赖库版本问题?但是不知道是哪个rn
跪求大神指点,编译openssl报错
rn link /nologo /subsystem:console /opt:ref /debug /fixed /out:out32dll\fips_standalone_sha1.exe @C:\Users\ADMINI~1\AppData\Local\Temp\nm6A75.tmprnsha1dgst.obj : error LNK2019: 无法解析的外部符号 _fips_sha1_block_data_order,该符号在函数 _fips_sha1_update 中被引用rnout32dll\fips_standalone_sha1.exe : fatal error LNK1120: 1 个无法解析的外部命令rnNMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.EXE"”: 返回代码“0x460”rnStop.rnrn[img=https://img-bbs.csdn.net/upload/201510/29/1446092355_121499.png][/img]
linux安装opencv,执行cmake .报错 求大神!!
CMakeError.log内容: cc1plus: 警告:命令行选项“-Wmissing-prototypes”对 C/ObjC 是有效的,但对 C++ 无效 cc1plus: 警告:命令行选项“-Wstrict-prototypes”对 C/ObjC 是有效的,但对 C++ 无效 cc1plus: 警告:命令行选项“-Wno-missing-declarations”对 C/ObjC 是
各位大神 求解决 Linux 下 LAMP 环境搭建 扩展编译
linux : Ubuntu 14.04 rnPHP : 5.5rn安装 php已经成功安装并且可以phpinfo()输出信息,但是在编译安装PDO_MYSQL出现错误 (编译其他的扩展是也出现同样的问题)在生成configure 时我用的命令是:sudo /usr/local/php/bin/phpize rn这一步是系统输出是rnConfiguring for:rnPHP Api Version: 20121113rnZend Module Api No: 20121212rnZend Extension Api No: 220121212rn然后我执行编译命令:rnsudo ./configure --with-php-config = /usr/local/php/bin/php-config --with-pdo_mysql rn这里的php-config 文件路径是对的 我保证rn然后系统输出下列信息有点多 我标记错误信息:rnrn[color=#FF0000]./configure: line 1290: =: command not found[/color]rnrnexport COLORTERM="gnome-terminal"rnexport CONFIG_SHELL="/bin/bash"rnexport DISPLAY=":0"rnexport DUALCASE="1"rnexport HOME="/home/prg"rnexport LANG="en_US.UTF-8"rnexport LANGUAGE="C"rnexport LC_ADDRESS="zh_CN.UTF-8"rnexport LC_ALL="C"rnexport LC_IDENTIFICATION="zh_CN.UTF-8"rnexport LC_MEASUREMENT="zh_CN.UTF-8"rnexport LC_MONETARY="zh_CN.UTF-8"rnexport LC_NAME="zh_CN.UTF-8"rnexport LC_NUMERIC="zh_CN.UTF-8"rnexport LC_PAPER="zh_CN.UTF-8"rnexport LC_TELEPHONE="zh_CN.UTF-8"rnexport LC_TIME="zh_CN.UTF-8"rnexport LOGNAME="root"rnexport LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"rnexport OLDPWDrnexport PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"rnexport PWD="/home/prg/PHP/php-5.5.10/ext/pdo_mysql"rnexport SHELL="/bin/bash"rnexport SHLVL="1"rnexport SUDO_COMMAND="./configure --with-php-config = /usr/local/php/bin/php-config --with-pdo_mysql"rnexport SUDO_GID="1000"rnexport SUDO_UID="1000"rnexport SUDO_USER="prg"rnexport TERM="xterm"rnexport USER="root"rnexport USERNAME="root"rnexport XAUTHORITY="/var/run/gdm/auth-for-prg-NbD87m/database"rnexport as_nl="rn"rn[color=#FF0000]configure: WARNING: you should use --build, --host, --targetrnconfigure: WARNING: invalid host type: /usr/local/php/bin/php-config[/color]rnrnchecking for grep that handles long lines and -e... /bin/greprnchecking for egrep... /bin/grep -Ernchecking for a sed that does not truncate output... /bin/sedrnchecking for /usr/local/php/bin/php-config-cc... nornchecking for /usr/local/php/bin/php-config-gcc... nornchecking for cc... ccrnchecking for C compiler default output file name... a.outrnchecking whether the C compiler works... yesrnchecking whether we are cross compiling... nornchecking for suffix of executables... rnchecking for suffix of object files... ornchecking whether we are using the GNU C compiler... yesrnchecking whether cc accepts -g... yesrnchecking for cc option to accept ISO C89... none neededrnchecking how to run the C preprocessor... cc -Ernchecking for icc... nornchecking for suncc... nornchecking whether cc understands -c and -o together... yesrnchecking for system library directory... librnchecking if compiler supports -R... nornchecking if compiler supports -Wl,-rpath,... yesrnchecking build system type... /usr/local/php/bin/php-configrnrn[color=#FF0000]configure: error: invalid value of canonical build[/color]rnrn到最后直接停止编译了 google baidu了半天 不知怎么解决 求助 因为linux真机 还不知道怎么截图什么的 希望把问题描述清楚了,谢谢各位大神了 rnrn
相关热词 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池 c#5.0 安装程序 c# 分页算法