- 博客(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
2012-04-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人