该文被密码保护。 阅读全文
posted @ 2017-04-09 12:23 IT张先生 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 其他形式1: 1、定义函数 def test4(a = ()): print('################test4################') print(type(a)) print(a) 2、调用函数 正确调用: test4((1, 2)) #a在函数体内部为tuple类型 te 阅读全文
posted @ 2017-03-27 20:09 IT张先生 阅读(260) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-03-12 20:02 IT张先生 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-03-10 21:16 IT张先生 阅读(1) 评论(0) 推荐(0) 编辑
摘要: est/test_fifo.test: error while loading shared libraries: libcunit.so.1: cannot open shared object file: No such file or directoryMakefile:70: recipe 阅读全文
posted @ 2017-03-08 20:49 IT张先生 阅读(538) 评论(0) 推荐(1) 编辑
摘要: 我们用gcc编译程序时,可能会用到“-I”(大写i),“-L”(大写l),“-l”(小写l)等参数,下面做个记录: 例: gcc -o hello hello.c -I /home/hello/include -L /home/hello/lib -lworld 上面这句表示在编译hello.c时: 阅读全文
posted @ 2017-03-08 20:29 IT张先生 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://hi.baidu.com/yzkuang/blog/item/557e4f24423d8136c9955908.html 阅读全文
posted @ 2017-03-07 22:14 IT张先生 阅读(2055) 评论(0) 推荐(0) 编辑
摘要: 1. Examples/Makefile.am:26: to 'configure.ac' and run 'autoconf' again. configure.ac:211: error: required file 'config.h.in' not found 解决方法: autorecon 阅读全文
posted @ 2017-03-07 21:34 IT张先生 阅读(782) 评论(0) 推荐(0) 编辑
摘要: 编译内核步骤: 1.先查看自己OS使用的内核版本 mrzhang@mrzhang:~$ uname -r4.4.0-51-genericmrzhang@mrzhang:~$ 2.如果安装系统时,自动安装了源码。在 /usr/src 目录下有对应的使用的版本目录(ubuntu安装完一般没有源码需要自己 阅读全文
posted @ 2016-12-06 22:05 IT张先生 阅读(2572) 评论(0) 推荐(0) 编辑