Re: trouble compiling glib-1.2.10

Your problem is probably that you don't have a symlink to the kernel headers in /usr/include/linux. That link normally points to /usr/src/linux/include/linux.

Ryan wrote:

Hi, I'm having trouble compiling glib-1.2.10.  I'm running Slackware
8.0, kernel 2.4.17, and using enlightenment as my window manager.  I'm
trying to compile glib 1.2.10.  I can compile it with no problems, but
can't make it.  Here's some output:

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall -posix  -D_REENTRANT
-c giounix.c mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2
-Wall -posix -D_REENTRANT -c giounix.c  -fPIC -DPIC -o .libs/giounix.lo
In file included from /usr/include/errno.h:36,                 from
giounix.c:37:/usr/include/bits/errno.h:25: linux/errno.h: No such file
or directory make[2]: *** [giounix.lo] Error 1
make[2]: Leaving directory `/home/ryan/dl/glib-1.2.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ryan/dl/glib-1.2.10'
make: *** [all-recursive-am] Error 2

Thanks for any help.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]