Find the answer to your Linux question:
Results 1 to 2 of 2
I have just finished installation of gentoo and am trying to emerge gnome. However, i get this error message: In file included from /usr/include/err.h:36; from giounix.c:37 /usr/include/bits/errno.h:25:26: linux/errno.h: No such ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    1

    gnome installation error agh!


    I have just finished installation of gentoo and am trying to emerge gnome. However, i get this error message:

    In file included from /usr/include/err.h:36;
    from giounix.c:37
    /usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
    giounix.c: In function 'g_io_unix_read':
    giounix.c:166: error: 'EINVAL' undeclared (first use in this function)
    giounix.c:166: error: (each undeclared identifier is reported only once
    giounix.c:166: error: for each function it appears in)
    giounix.c:168: error: 'EAGAIN' undeclared (first use in this function)
    giounix.c: In function 'g_io_unix_write':
    giounix.c:197: error: 'EINVAL' undeclared (first use in this function)
    giounix.c:199: error: 'EAGAIN' undeclared (first use in this function)
    giounix.c: In function 'g_io_unix_seek':
    giounix.c:243: error: 'EINVAL' undeclared (first use in this function)
    make[4]: *** [giounix.lo] Error 1
    make[4]: *** Waiting for unfinished jobs....
    rm -f .libs/glist.lo
    gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -2 -march=i686 -pipe -Wall -posix -D_REENTRANT -c glist.c -fPIC -DPIC -o .libs/glist.lo (cd . && ln -s glist.o glist.lo)
    make[4]: Leaving directory '/var/tmp/portage/pkgconfig-0.15.0/work/pkgconfig-0.15.0/glib-1.2.8'
    make[3]: ***[all-recursive] Error 1
    make[3]: Leaving directory '/var/tmp/portage/pkgconfig-0.15.0/work/pkgconfig-0.15.0/glib-1.2.8'
    make[2]: ***[all-recursive-am] Error 2
    make[2]: Leaving directory '/var/tmp/portage/pkgconfig-0.15.0/work/pkgconfig-0.15.0/glib-1.2.8'
    make[1]: ***[all-recursive] Error 1
    make[1]: Leaving directory '/var/tmp/portage/pkgconfig-0.15.0/work/pkgconfig-0.15.0/glib-1.2.8'
    make: ***[all-recursive-am] Error 2

    any ideas? thanks

  2. #2
    Linux Enthusiast
    Join Date
    Dec 2004
    Location
    Rockin' in the USA!!!
    Posts
    603
    It appears to be missing the errno.h header. Try manually installing the kernel headers, I think it's included in the kernel tarball.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •