homework

形式化方法是使用数学技术进行系统描述、开发和验证的方法,尤其适用于高安全要求的系统。它包括形式验证,即通过数学证明来确认硬件和软件的正确性。形式语言是研究语法而不涉及语义的数学语言,常用于计算机科学中。


阅读和了解什么是形式化方法?

来源网络和维基百科:

形式化方法,中文也称形式方法[1]、正规方法[2]。在计算机科学和软件工程领域,形式化方法是基于数学的特种技术,适合于软件和硬件系统的描述、开发和验证[3]。将形式化方法用于软件和硬件设计,是期望能够像其它工程学科一样,使用适当的数学分析以提高设计的可靠性和强健性[4]。但是,由于采用形式化方法的成本高意味着它们通常只用于开发注重安全性的高度整合的系统[5]。

形式验证:在计算机硬件(特别是集成电路)和软件系统的设计过程中,形式验证的含义是根据某个或某些形式规范或属性,使用数学的方法证明其正确性或非正确性。

在计算机硬件(特别是集成电路)和软件系统的设计过程中,形式化验证的含义是根据某个或某些形式化规范或属性,使用数学的方法证明其正确性或非正确性。神秘感大抵来源于定义中的两个严谨而且抽象的关键词——“形式化规范”和“数学方法证明”。事实上,揭开这层神秘的面纱,你会发现形式化验证的许多有趣之处。

形式语言:在数学、逻辑和计算机科学中,形式语言(英语:Formal language)是用精确的数学或机器可处理的公式定义的语言。

如语言学中语言一样,形式语言一般有两个方面:语法和语义。专门研究语言的语法的数学和计算机科学分支叫做形式语言理论,它只研究语言的语法而不致力于它的语义。在形式语言理论中,形式语言是一个字母表上的某些有限长字符串的集合。一个形式语言可以包含无限多个字符串

$ 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、付费专栏及课程。

余额充值