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?
Solved! Go to Solution.
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/
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?
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/
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
Hi,Leonardo,
Thank you for explaining the cause of the error occurred.
Haifeng