Directspace 的Debian 6因为缺少LBS,安装软件时会提示一下错误:
insserv: warning: script ‘S10vzquota’ missing LSB tags and overrides
insserv: warning: script ‘vzquota’ missing LSB tags and overrides
insserv: There is a loop between service vzquota and rmnologin if started
insserv:??loop involving service rmnologin at depth 3
insserv:??loop involving service vzquota at depth 2
insserv:??loop involving service rsyslog at depth 1
insserv: Starting vzquota depends on rmnologin and therefore on system facility $all' which can not be true!
insserv: There is a loop between service vzquota and rmnologin if started
insserv: Starting vzquota depends on rmnologin and therefore on system facility
$all’ which can not be true!
insserv: Starting vzquota depends on rmnologin and therefore on system facility $all' which can not be true!
insserv: Starting vzquota depends on rmnologin and therefore on system facility
$all’ which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing screen (–configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports

解决方法:
编辑/etc/init.d/vzquota
在start(){? ?前面添加如下内容:继续阅读

上一篇中,介绍了如何编译、运行arm-linux-gdb 和 gdbserver,这一篇中介绍怎样结合Eclipse-cdt进行图形化编译调试

首先当然是使用CDT创建项目并添加源文件。

  1. 在左侧 Project Explorer 的项目名上点右键->Properties 进入项目属性设置
  2. 选择 C/C++ Build->Settings 在Tool Settings中,将Toolchain修改为arm版本

    其他选项默认就好,有需要自己修改



    继续阅读

原创文章,转载请注明: 转载自贝壳博客

本文链接地址: Eclipse-cdt 配合 gdbserver 进行 arm 程序远程调试 下

做嵌入式Linux开发也不用再羡慕windows程序员VS集成开发环境的强大,我们同样能够搭建出给力的IDE。

今天在这里记录一下我使用Eclipse-cdt,gdb,gdbserver搭建远程arm调试的过程。

首先介绍下,嵌入式Linux的GDB调试环境由Host和Target两部分组成,Host端可以理解为本机,Target端为嵌入式设备。
Host端使用arm-linux-gdb,Target 端使用gdbserver。
调试时,应用程序在嵌入式目标系统上通过运行,而gdb调试在Host端。

  1. 编译gdb
    在GNU官网下载最新版GDB ,我这里下载的是7.2版本gdb-7.2.tar.gz

可以通过export命令将/home/aliang/arm-gdb/bin目录加入PATH,使arm-linux-gdb可以直接使用,也可以直接拷贝到/usr/bin 或arm-linux-gcc同目录继续阅读

原创文章,转载请注明: 转载自贝壳博客

本文链接地址: Eclipse-cdt 配合 gdbserver 进行 arm 程序远程调试 上

  1. 安装tftpd
  2. 创建 /etc/xinetd.d/tftp文件,填写以下内容
  3. 创建 /tftpboot 目录
  4. 重启xinetd服务
  5. 在本机测试
  6. 在开发板上测试

原创文章,转载请注明: 转载自贝壳博客

本文链接地址: Ubuntu 安装配置 tftpd