homework

(1)定义以下这些接口和类,并完成相关属性和方法的声明和调用.数据类型,参数列表,返回值类型等请根据题目需要自行定义.
学习接口Learning(包含方法: 预习preLearn,上课lessons,复习reveiw)
喝酒接口Drinking(包含方法: 喝酒drink, 吐throwup,耍酒疯playMad)
抽象类Person(包含属性:姓名、年龄、性别,抽象方法:谈恋爱(Love) 
学生Student是人,得会学习但不能喝酒(因为会使大脑变笨);他们还有自己的学校(school),还喜欢和朋友聊微信(chatting).
公务员Officer是人,不用学习,但经常需要喝酒应酬;他们还得经常开一些无聊的会议(meeting).
程序猿Programmer,是人,必须经常学习,较少社交所以不喝酒;他们特别喜欢写代码(coding),和修bug(debuging).
(2)在场景类Client中定义一个方法method1,在形参和实参上体现对象的多态性,在方法中进行调用,如果对象的实际类型是学生,就和朋友聊微信;如果是公务员,就去开会;如果是程序猿,就去写代码和修bug.
(3)直接打印一个学生对象,就能以下面格式来输出:
学生信息:  姓名:张三,性别:男,年龄:20,学校:北大.
(4)如果两个学生的姓名、性别、年龄、学校一样,则认为这两个学生“相等”。

学习接口Learning:
package homework;

public interface Learning {
	public abstract void preLearn();
	public abstract void lessons();
	public abstract void review();
}

喝酒接口Drinking:
package homework;

public interface Drinking {
	public abstract void drink();
	public abstract void throwUp();
	public abstract void playMad();
}

抽象类Person:
package homework;
public abstract class Person {
	private String name;
	private String sex;
	private int age;
	
	public Person() {
		super();
	}

	public Person(String name, String sex, int age) {
		super();
		this.name = name;
		this.sex = sex;
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public abstract void love();
	public void work(){
		
	}
}

学生类Student继承Person类实现Learning接口:
package homework;

public class Student extends Person implements Learning{
	private String school;
	public Student() {
	}
	public Student(String name,String sex,int age, String school){
		super(name, sex, age);
		this.school=school;
	}
	
	public String getSchool() {
		return school;
	}
	public void setSchool(String school) {
		this.school = school;
	}
	@Override
	public void love() {

	}

	@Override
	public void preLearn() {

	}

	@Override
	public void lessons() {
		
	}

	@Override
	public void review() {
		
	}
	public void chatting(){
		System.out.println("学生和朋友聊微信");
	}
	@Override
	public String toString() {
		return "姓名:"+getName()+",性别:"+getSex()+",年龄:"+getAge()+",学校:"+getSchool();
	}
	@Override
	public boolean equals(Object object) {
		if(object==null){
			return false;
		}else if(object==this){
			return true;
		}else if(!(object instanceof Student)){
			return false;
		}
		Student student=(Student)object;
		if(getName().equals(student.getName()) && getSex().equals(student.getSex()) && getAge()==student.getAge() && school.equals(student.school)){
			return true;
		}
		return false;
	}
}

公务员Officer继承Person类实现Drinking接口:
package homework;

public class Officer extends Person implements Drinking{

	@Override
	public void drink() {
	
	}

	@Override
	public void throwUp() {
	
	}

	@Override
	public void playMad() {
	
	}

	@Override
	public void love() {
		
	}
	public void meeting(){
		System.out.println("公务员去开会");
	}
}

程序猿Programmer类继承Person类实现Learning接口:
package homework;
public class Programmer extends Person implements Learning{

	@Override
	public void preLearn() {
	}

	@Override
	public void lessons() {
	}

	@Override
	public void review() {
	}

	@Override
	public void love() {
	}
	public void coding(){
		System.out.println("程序员写代码");
	}
	public void debuging(){
		System.out.println("程序员修bug");
	}
}

场景类Client:
package homework;

public class Client {
	public void method1(Person person){
		if(person==null){
		System.out.println("不能传空值");	
		}else if(person instanceof Student){
			Student student=(Student)person;
			student.chatting();
		}else if(person instanceof Programmer){
			Programmer programmer=(Programmer)person;
			programmer.coding();
			programmer.debuging();
		}else if(person instanceof Officer){
			Officer officer=new Officer();
			officer.meeting();
		}
	}
}
测试类Test:
package homework;

public class Test {
	public static void main(String[] args){
		Student student1=new Student();
		Client client=new Client();
		//学生和朋友聊天
		client.method1(student1);
		Person programmer=new Programmer();//向上转型
		//程序员改代码、修bug
		client.method1(programmer);
		//公务员开会
		client.method1(new Officer());
		
		Student student=new Student("张三","男",20,"北大");
		System.out.println(student);
		Student student2=new Student("张三","男",20,"北大");
		System.out.println(student.equals(student2)?"学生相等":"学生不相等");
		
	}
	
}




$ make package/ubus_ipc_crc/compile V=99 make[1]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1' make[2]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/libs/toolchain' if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install.clean; fi; echo "libc" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install.clean; fi; echo "libgcc" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install.clean; fi; echo "libpthread" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install make[2]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/libs/toolchain' make[2]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/libs/libjson-c' if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libjson-c.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libjson-c.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libjson-c.default.install.clean; fi; echo "libjson-c" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libjson-c.default.install make[2]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/libs/libjson-c' make[2]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/utils/lua' if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install.clean; fi; echo "liblua" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install.clean; fi; echo "lua" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install make[2]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/utils/lua' make[2]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/libs/libubox' if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean; fi; echo "libubox" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean; fi; echo "libblobmsg-json" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean; fi; echo "jshn" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean; fi; echo "libjson-script" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install make[2]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/libs/libubox' make[2]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/system/ubus' if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean; fi; echo "libubus" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean; fi; echo "libubus-lua" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean; fi; echo "ubus" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean; fi; echo "ubusd" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install make[2]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/system/ubus' make[2]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/ubus_ipc_crc' mkdir -p /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc cp -fpR ./src/* /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ touch /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/.prepared_17edf9e0d8c7e2d69ed91b923871c7b2 rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/stamp/.ubus_ipc_crc_installed (cd /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/./; if [ -x ./configure ]; then find /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ -name config.guess | xargs -r chmod u+w; find /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ -name config.guess | xargs -r -n1 cp --remove-destination /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/scripts/config.guess; find /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ -name config.sub | xargs -r chmod u+w; find /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ -name config.sub | xargs -r -n1 cp --remove-destination /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/scripts/config.sub; AR="arm-openwrt-linux-uclibcgnueabi-gcc-ar" AS="arm-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv6k -mtune=mpcore -mfpu=vfp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard" LD=arm-openwrt-linux-uclibcgnueabi-ld NM="arm-openwrt-linux-uclibcgnueabi-gcc-nm" CC="arm-openwrt-linux-uclibcgnueabi-gcc" GCC="arm-openwrt-linux-uclibcgnueabi-gcc" CXX="arm-openwrt-linux-uclibcgnueabi-g++" RANLIB="arm-openwrt-linux-uclibcgnueabi-gcc-ranlib" STRIP=arm-openwrt-linux-uclibcgnueabi-strip OBJCOPY=arm-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=arm-openwrt-linux-uclibcgnueabi-objdump SIZE=arm-openwrt-linux-uclibcgnueabi-size CFLAGS="-Os -pipe -march=armv6k -mtune=mpcore -mfpu=vfp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard " CXXFLAGS="-Os -pipe -march=armv6k -mtune=mpcore -mfpu=vfp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard " CPPFLAGS="-I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/include -I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/include -I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/include -I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/include " LDFLAGS="-L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib " ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls ; fi; ) rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/.configured_* touch /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/.configured_yyy arm-openwrt-linux-uclibcgnueabi-gcc -Os -pipe -march=armv6k -mtune=mpcore -mfpu=vfp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -std=c99 -I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/include/libubus -I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/include/libubox /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/b_server.c /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/crc32.c -o /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/b_server -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib -lubus -lubox -lm /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/b_server.c:79:5: warning: implicit declaration of function 'UBUS_OBJECT' [-Wimplicit-function-declaration] UBUS_OBJECT("data_service", &hello_obj_type, hello_methods, ARRAY_SIZE(hello_methods)); ^ /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/b_server.c:79:5: error: invalid initializer Makefile:48: recipe for target '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/.built' failed make[2]: *** [/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/.built] Error 1 make[2]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/ubus_ipc_crc' package/Makefile:191: recipe for target 'package/ubus_ipc_crc/compile' failed make[1]: *** [package/ubus_ipc_crc/compile] Error 2 make[1]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1' /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/include/toplevel.mk:181: recipe for target 'package/ubus_ipc_crc/compile' failed make: *** [package/ubus_ipc_crc/compile] Error 2 shihaopeng@shihaopeng-virtual-machine11:~/Desktop/CODE/homework3/openwrt-15.05.1$ cat /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target -arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/include/libubus/libubus.h cat: /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/include/libubus/libubus.h: No such file or directory shihaopeng@shihaopeng-virtual-machine11:~/Desktop/CODE/homework3/openwrt-15.05.1$ make package/ubus_ipc_crc/compile V=99 make[1]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1' make[2]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/libs/toolchain' if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install.clean; fi; echo "libc" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install.clean; fi; echo "libgcc" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install.clean; fi; echo "libpthread" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/toolchain.default.install make[2]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/libs/toolchain' make[2]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/libs/libjson-c' if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libjson-c.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libjson-c.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libjson-c.default.install.clean; fi; echo "libjson-c" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libjson-c.default.install make[2]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/libs/libjson-c' make[2]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/utils/lua' if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install.clean; fi; echo "liblua" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install.clean; fi; echo "lua" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/lua.default.install make[2]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/utils/lua' make[2]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/libs/libubox' if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean; fi; echo "libubox" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean; fi; echo "libblobmsg-json" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean; fi; echo "jshn" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install.clean; fi; echo "libjson-script" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/libubox.default.install make[2]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/libs/libubox' make[2]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/system/ubus' if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean; fi; echo "libubus" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean; fi; echo "libubus-lua" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean; fi; echo "ubus" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install.clean; fi; echo "ubusd" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus.default.install make[2]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/system/ubus' make[2]: Entering directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/ubus_ipc_crc' mkdir -p /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc cp -fpR ./src/* /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ touch /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/.prepared_17edf9e0d8c7e2d69ed91b923871c7b2 rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/stamp/.ubus_ipc_crc_installed (cd /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/./; if [ -x ./configure ]; then find /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ -name config.guess | xargs -r chmod u+w; find /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ -name config.guess | xargs -r -n1 cp --remove-destination /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/scripts/config.guess; find /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ -name config.sub | xargs -r chmod u+w; find /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ -name config.sub | xargs -r -n1 cp --remove-destination /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/scripts/config.sub; AR="arm-openwrt-linux-uclibcgnueabi-gcc-ar" AS="arm-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv6k -mtune=mpcore -mfpu=vfp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard" LD=arm-openwrt-linux-uclibcgnueabi-ld NM="arm-openwrt-linux-uclibcgnueabi-gcc-nm" CC="arm-openwrt-linux-uclibcgnueabi-gcc" GCC="arm-openwrt-linux-uclibcgnueabi-gcc" CXX="arm-openwrt-linux-uclibcgnueabi-g++" RANLIB="arm-openwrt-linux-uclibcgnueabi-gcc-ranlib" STRIP=arm-openwrt-linux-uclibcgnueabi-strip OBJCOPY=arm-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=arm-openwrt-linux-uclibcgnueabi-objdump SIZE=arm-openwrt-linux-uclibcgnueabi-size CFLAGS="-Os -pipe -march=armv6k -mtune=mpcore -mfpu=vfp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard " CXXFLAGS="-Os -pipe -march=armv6k -mtune=mpcore -mfpu=vfp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard " CPPFLAGS="-I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/include -I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/include -I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/include -I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/include " LDFLAGS="-L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib " ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls ; fi; ) rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/.configured_* touch /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/.configured_yyy arm-openwrt-linux-uclibcgnueabi-gcc -Os -pipe -march=armv6k -mtune=mpcore -mfpu=vfp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -std=c99 -I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/include/libubus -I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/include/libubox /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/b_server.c /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/crc32.c -o /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/b_server -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib -lubus -lubox -lm /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/b_server.c:84:5: warning: braces around scalar initializer [enabled by default] .id = { 0 }, ^ /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/b_server.c:84:5: warning: (near initialization for 'hello_obj.id') [enabled by default] /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/b_server.c:85:5: warning: braces around scalar initializer [enabled by default] .path = { 0 }, ^ /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/b_server.c:85:5: warning: (near initialization for 'hello_obj.path') [enabled by default] arm-openwrt-linux-uclibcgnueabi-gcc -Os -pipe -march=armv6k -mtune=mpcore -mfpu=vfp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -std=c99 -I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/include/libubus -I/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/include/libubox /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/a_client.c /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/crc32.c -o /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/a_client -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib -lubus -lubox -lm touch /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/.built mkdir -p /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/bin/realview/packages /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ipkg-realview/ubus_ipc_crc/CONTROL /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo install -d -m0755 /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ipkg-realview/ubus_ipc_crc/usr/bin install -m0755 /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/b_server /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ipkg-realview/ubus_ipc_crc/usr/bin/ install -m0755 /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/a_client /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ipkg-realview/ubus_ipc_crc/usr/bin/ find /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ipkg-realview/ubus_ipc_crc -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf export CROSS="arm-openwrt-linux-uclibcgnueabi-" NO_RENAME=1 ; NM="arm-openwrt-linux-uclibcgnueabi-nm" STRIP="/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/host/bin/sstrip" STRIP_KMOD="/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/scripts/strip-kmod.sh" PATCHELF="/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/host/bin/patchelf" /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/scripts/rstrip.sh /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ipkg-realview/ubus_ipc_crc rstrip.sh: /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ipkg-realview/ubus_ipc_crc/usr/bin/b_server: executable rstrip.sh: /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ipkg-realview/ubus_ipc_crc/usr/bin/a_client: executable (cd /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ipkg-realview/ubus_ipc_crc/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm; ) install -d -m0755 /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/bin/realview/packages/base /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/scripts/ipkg-build -c -o 0 -g 0 /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ipkg-realview/ubus_ipc_crc /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/bin/realview/packages/base Packaged contents of /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/ipkg-realview/ubus_ipc_crc into /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/bin/realview/packages/base/ubus_ipc_crc_1_realview.ipk rm -rf /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/root-realview/tmp-ubus_ipc_crc mkdir -p /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/root-realview/stamp /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/root-realview/tmp-ubus_ipc_crc install -d -m0755 /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/root-realview/tmp-ubus_ipc_crc/usr/bin install -m0755 /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/b_server /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/root-realview/tmp-ubus_ipc_crc/usr/bin/ install -m0755 /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/ubus_ipc_crc/a_client /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/root-realview/tmp-ubus_ipc_crc/usr/bin/ SHELL= /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/host/bin/flock /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/tmp/.root-copy.flock -c 'cp -fpR /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/root-realview/tmp-ubus_ipc_crc/. /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/root-realview/' rm -rf /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/root-realview/tmp-ubus_ipc_crc touch /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/root-realview/stamp/.ubus_ipc_crc_installed if [ -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus_ipc_crc.default.install.clean ]; then rm -f /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus_ipc_crc.default.install /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus_ipc_crc.default.install.clean; fi; echo "ubus_ipc_crc" >> /home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/pkginfo/ubus_ipc_crc.default.install make[2]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1/package/ubus_ipc_crc' make[1]: Leaving directory '/home/shihaopeng/Desktop/CODE/homework3/openwrt-15.05.1'
08-10
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值