compiling problems with suse 6.0



I am having problems compiling gnome on my Suse 6.0 System.

./configure of glib1.2.0 works fine, but I am allways having problems
making the stuff!

This is the rest of my make - output, before it breaks.


gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2
-Wall -posix -c giochannel.c -o giochannel.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall -posix  -c giounix.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2
-Wall -posix -c -fPIC -DPIC giounix.c -o giounix.lo
In file included from /usr/include/errno.h:36,
                 from giounix.c:37:
/usr/include/errnos.h:24: linux/errno.h: No such file or directory
make[2]: *** [giounix.lo] Error 1
make[2]: Leaving directory `/Internet/glib-1.2.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Internet/glib-1.2.0'
make: *** [all-recursive-am] Error 2       

I understand I am missing a file called errno.h in an
/usr/include/linux/
directory, but I don't have a .../linux directory in there.

I have some kind of link? with this name in there but that is 
obviously not being followed by the compiler.

I have errno.h files all over the system, but I don't know which
one is right and where to move it!

Any suggestions? 


/usr/i486-linuxaout/include/errno.h
/usr/include/errno.h
/usr/include/sys/errno.h
/usr/include/linux1/errno.h
/usr/src/linux-2.0.36.SuSE/include/asm-alpha/errno.h
/usr/src/linux-2.0.36.SuSE/include/asm-i386/errno.h
/usr/src/linux-2.0.36.SuSE/include/asm-m68k/errno.h
/usr/src/linux-2.0.36.SuSE/include/asm-mips/errno.h
/usr/src/linux-2.0.36.SuSE/include/asm-ppc/errno.h
/usr/src/linux-2.0.36.SuSE/include/asm-sparc/errno.h
/usr/src/linux-2.0.36.SuSE/include/linux/errno.h
/usr/src/linux-2.0.36.SuSE/include/asm-sparc64/errno.h
/usr/src/linux-2.0.36.SuSE/include/asm-arm/errno.h  

Thanks in advance

Olaf



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