自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

小猪爱拱地

勤奋和毅力是通向成功的阶梯

  • 博客(7)
  • 资源 (1)
  • 收藏
  • 关注

原创 Ncurses 5.9 Compilation Error - error: expected ')' before 'int'

编ncurses 代码的时候,出错:arm-linux-gnueabi-gcc -DHAVE_CONFIG_H -I../ncurses -I. -I/home/charles/code/build_systemd/_install/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -I. -I../include -I/home/c

2017-04-23 14:30:58 5692 5

原创 configure: WARNING: sys/capability.h: accepted by the compiler, rejected by the preprocessor!

在运行 configure的时候报这个错误。原因是没有在 CPPFLAGS里指定头文件的位置。 执行export CPPFLAGS="-I/home/charles/code/build_systemd/libcap2-2.24/libcap/include"后,重新运行 configure就好了。

2017-04-22 13:29:54 2510

原创 configure: error: *** POSIX caps library not found

在交叉编译systemd的时候,遇到上面的报错。步骤是这样的:export CFLAGS="-I/home/charles/code/build_systemd/libcap2-2.24/libcap/include"export LDFLAGS="-L/home/charles/code/build_systemd/libcap2-2.24/libcap"./configure --ho

2017-04-22 12:59:53 3869 1

原创 VLC 字幕中文乱码解决方法

1. 在 Preferences --> subtitle/OSD里把字体设置成支持中文的, default encoding 为 UTF-82.  Input/Codecs -->Subtitle Codecs --> Subtitles ,选择 subtitle text encoding 为 UTF-8, 去掉  UTF-8 subtitle autodetection3. 对于

2017-04-22 09:59:35 352274

转载 A Sample Socket-Based Activation

This is an example of a socket-activated per-connection service (which is usually referred to as inetd-like service).A thorough explanation can be found athttp://0pointer.de/blog/projects/inetd.html

2017-04-10 01:24:24 519

转载 write DBUS Services (II)

For the system bus server you would need only to modify line 13 from the sessionbus server and line 7 from the client scripts; to replace SessionBus() with SystemBus(). Let’s also change the names f

2017-04-09 10:32:50 527

转载 write DBUS Services (I)

Those days I had to make a D-Bus server and client in python and I thought to share with you guys some things about the D-Bus.First of all, what is D-Bus? Well, D-Bus is a system that offers a commu

2017-04-09 09:18:29 606

Algorithm (4th), by Robert Sedgewick

Amazon 五星书。 Classic Reference The latest version of Sedgewick’s best-selling series, reflecting an indispensable body of knowledge developed over the past several decades. Broad Coverage Full treatment of data structures and algorithms for sorting, searching, graph processing, and string processing, including fifty algorithms every programmer should know. See algs4.cs.princeton.edu/code. Completely Revised Code New Java implementations written in an accessible modular programming style, where all of the code is exposed to the reader and ready to use.

2012-04-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除