fsl gnome build problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fsl gnome build problem

Jump to solution
1,667 Views
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?

Labels (2)
Tags (2)
0 Kudos
1 Solution
709 Views
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/

View solution in original post

0 Kudos
4 Replies
709 Views
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 Kudos
710 Views
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 Kudos
709 Views
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

708 Views
caohaifeng
Contributor IV

Hi,Leonardo,

Thank you for explaining the cause of the error occurred.

Haifeng

0 Kudos