Compilation 内核编译中缺少标头。。。但是安装了头

Compilation 内核编译中缺少标头。。。但是安装了头,compilation,header,linux-kernel,Compilation,Header,Linux Kernel,我在为我正在使用的板编译新内核时遇到了一个奇怪的问题 我只需要调用一个./makeall.sh脚本来编译所有内容,因此我无法控制标志。一位同事已经成功地构建了这个 我使用的是Ubuntu 10.04 32位 问题是: In file included from base.h:26, from mod_flv_streaming.c:1: keyvalue.h:56: error: expected specifier-qualifier-list before 'pcr

我在为我正在使用的板编译新内核时遇到了一个奇怪的问题

我只需要调用一个./makeall.sh脚本来编译所有内容,因此我无法控制标志。一位同事已经成功地构建了这个

我使用的是Ubuntu 10.04 32位

问题是:

In file included from base.h:26,
             from mod_flv_streaming.c:1:
keyvalue.h:56: error: expected specifier-qualifier-list before 'pcre'
keyvalue.h:61: warning: struct has no members
我经常看到这种情况,另一行抱怨没有找到/usr/include/pcre.h


我安装了以下lilbraries,并且pcre.h确实存在于/usr/include中:

  • libpcre3开发
  • libpcre++-dev
  • libpcrecpp0
当然也安装了运行时(删除-dev)


有什么建议吗?我没有主意了。

这与Ubuntu 10.04的一个奇怪情况有关:

/bin/sh -> /bin/dash
连接

/bin/sh -> /bin/bash
导致编译成功