fsl gnome build problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

fsl gnome build problem

跳至解决方案
2,484 次查看
caohaifeng
Contributor IV

Hi,All,

I am trying to build gnome environment by using FSL gnome release package.I got some errors after ltib run several hours.

In file included from /usr/include/sys/types.h:220,

                 from /usr/include/stdlib.h:320,

                 from gtkhtmldebug.c:30:

/usr/include/sys/select.h:129:27: error: bits/select2.h: No such file or directory

In file included from /usr/include/ctype.h:27,

                 from gtkhtml.c:23:

/usr/include/features.h:324:26: error: bits/predefs.h: No such file or directory

In file included from /usr/include/sys/types.h:220,

                 from gtkhtml.h:25,

                 from gtkhtml-properties.c:27:

/usr/include/sys/select.h:129:27: error: bits/select2.h: No such file or directory

In file included from /usr/include/limits.h:27,

...

/usr/include/features.h:324:26: error: bits/predefs.h: No such file or directory

make[2]: *** [gtkhtml-embedded.lo] Error 1

...

In file included from /usr/include/sys/types.h:220,

                 from gtkhtml.h:25,

                 from gtkhtml-search.c:26:

/usr/include/sys/select.h:129:27: error: bits/select2.h: No such file or directory

make[2]: *** [gtkhtml-stream.lo] Error 1

In file included from htmlsearch.h:27,

                 from gtkhtml-search.c:30:

/usr/include/regex.h:26:31: error: gnu/option-groups.h: No such file or directory

Can anyone help me?

标签 (2)
标记 (2)
0 项奖励
回复
1 解答
1,526 次查看
caohaifeng
Contributor IV

Done!

cd /usr/include/

ln -s /usr/include/i386-linux-gnu/bits bits

ln -s /usr/include/i386-linux-gnu/gnu gnu

cd /usr/include/sys

ln -s /usr/include/i386-linux-gnu/bits bits

or copy select.h to the directory sys/

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,526 次查看
caohaifeng
Contributor IV

Hello,

I grep select.h and find that select.h is not in the /usr/include/sys/,but in the /usr/include/i386-linux-gnu/bits/,

select2.h and predefs are the same.

option-groups.h is in /usr/include/i386-linux-gnu/gnu/

Should I copy them to specific directory or make a soft link to them?

How to use command ln -s here?

0 项奖励
回复
1,527 次查看
caohaifeng
Contributor IV

Done!

cd /usr/include/

ln -s /usr/include/i386-linux-gnu/bits bits

ln -s /usr/include/i386-linux-gnu/gnu gnu

cd /usr/include/sys

ln -s /usr/include/i386-linux-gnu/bits bits

or copy select.h to the directory sys/

0 项奖励
回复
1,526 次查看
LeonardoSandova
Specialist I

Hi CAO,

this looks to me as a work-around because we should not mix host header files with target header files. The root issue can be that for a specific package, some of its dependencies are missing, thus breaking the build. Nice that you have found a solution.

Leo

1,525 次查看
caohaifeng
Contributor IV

Hi,Leonardo,

Thank you for explaining the cause of the error occurred.

Haifeng

0 项奖励
回复