内核编译中缺少标头..但是Header已安装



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

我只需要打个电话/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

导致了一次成功的编译。

相关内容

最新更新