Lab1 2.3 make 报error2解决方案

6 views
Skip to first unread message

东东

unread,
May 16, 2011, 10:32:21 AM5/16/11
to mips-a...@googlegroups.com
去下http://202.120.38.188/wiki/images/b/b3/Simics_install.pdf
按照1.2.d的操作执行configuration,把warning中缺失的包和库用apt-get装上就ok了

杜若飞

unread,
May 16, 2011, 10:47:29 AM5/16/11
to mips-a...@googlegroups.com
thx~

2011/5/16 东东 <yyd...@gmail.com>
去下http://202.120.38.188/wiki/images/b/b3/Simics_install.pdf
按照1.2.d的操作执行configuration,把warning中缺失的包和库用apt-get装上就ok了



--
Yours Sincerely
Ruofei Du
ACM class, Computer Science and Engineering
School of Electronic, Information and Electrical Engineering 
Shanghai Jiao Tong University
800 Dong Chuan Rd., Minhang District, Shanghai 200240, China
       此致
敬礼!
杜若飞
上海交通大学 电子信息与电气工程学院 计算机系
上海市闵行区东川路800号(200240)
手机:+8615216711009

东东

unread,
May 16, 2011, 9:46:43 PM5/16/11
to mips-a...@googlegroups.com
肖涛 9:38:36 *Warning*: Could not find library for LIBBZ2=-lbz2 *Warning*: Could not find library for LIBELF=-lelf *Warning*: Could not find library for LIBREADLINE=-lreadline -ltermcap *Warning*: Could not find library for LIBZ=-lz
 袁 哲 9:40:43
 
apt-get install libbz2-dev
肖涛 9:41:42
 
这个libbz2-dev是啥啊?
 袁 哲 9:42:55
 
a library
肖涛 9:43:54
 
装好了,但是重新configure后还是有 *Warning*: Could not find library for LIBELF=-lelf *Warning*: Could not find library for LIBREADLINE=-lreadline -ltermcap *Warning*: Could not find library for LIBZ=-lz 的问题
 袁 哲 9:45:14
 
还要继续装
 袁 哲 9:45:21
 
libelf-dev
肖涛 9:45:31
 

2011/5/16 杜若飞 <xiaox...@gmail.com>

东东

unread,
May 16, 2011, 9:50:40 PM5/16/11
to mips-a...@googlegroups.com
肖涛  9:45:31
哦 
肖涛  9:49:28
都装好了,没有warning了,但是Error 2仍旧有= = 
 袁 哲  9:49:53
make clean
 袁 哲  9:50:00
再make
肖涛  9:50:29
OK 


2011/5/17 东东 <yyd...@gmail.com>

Meilun Sheng

unread,
May 16, 2011, 10:26:29 PM5/16/11
to mips-a...@googlegroups.com
bz2的开发包,bz2是种压缩算法

Meilun Sheng

unread,
May 16, 2011, 10:27:27 PM5/16/11
to mips-a...@googlegroups.com
话说怎么觉得缺失的包一个比一个坑爹= =|||

From: 东东
Sent: Tuesday, May 17, 2011 9:46 AM
Subject: Re: Lab1 2.3 make 报error2解决方案

陈旒俐

unread,
Jun 2, 2011, 9:11:01 AM6/2/11
to mips-a...@googlegroups.com
../configure没有warning了……也make clean了,但是还是error 2...

我在make的时候
如果sudo make,就会User name in license (sea), does not match name of current user (root)
如果直接make,就会mkdir: 无法创建目录"x86-linux/.environment-check": 权限不够

求帮助。。
--
陈旒俐
 Liuli Chen
上海交通大学 电子信息与电气工程学院 ACM班
ACM Clas

Baiger

unread,
Jun 2, 2011, 9:24:15 AM6/2/11
to mips-a...@googlegroups.com
你在哪个目录里make的?

2011/6/2 陈旒俐 <chenli...@gmail.com>
>
> ../configure没有warning了......也make clean了,但是还是error 2...

--
Yao Chen
F0803028, Shanghai Jiaotong Univ.,
No. 800 Dongchuan Rd., Shanghai
200240

陈旒俐

unread,
Jun 2, 2011, 9:27:16 AM6/2/11
to mips-a...@googlegroups.com
sea@ubuntu:~/simics$

Baiger

unread,
Jun 2, 2011, 9:35:24 AM6/2/11
to mips-a...@googlegroups.com
你先这样
cd ~
ls -l | grep simics 看一下目录所有者和权限的设置

2011/6/2 陈旒俐 <chenli...@gmail.com>:

陈旒俐

unread,
Jun 2, 2011, 9:41:13 AM6/2/11
to mips-a...@googlegroups.com
恩,已经解决了~
感谢强哥~
Reply all
Reply to author
Forward
0 new messages