1.0.7 pretest compilation problem

Werner Koch wk at gnupg.org
Fri Apr 19 19:27:01 CEST 2002


On Fri, 19 Apr 2002 17:35:53 +0200, pplf  said:

> In file included from /usr/include/errno.h:36,
> ~                 from logger.c:26:
> /usr/include/bits/errno.h:25: linux/errno.h: Aucun fichier ou répertoire de

That pretty much looks like a problem with your installation.  There
is no file /usr/include/linux/errno.h - IIRC, on old systems this is a
symlink into the kernel source but I am not sure what wrong with your
setup.  Most software won't compile without this header file.

Please cd to the util directory and do a:

gcc --verbose -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl \
-g -O2 -Wall -c logger.c

You should see something like:

GNU CPP version 2.95.4 20010902 (Debian prerelease) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc-lib/i386-linux/2.95.4/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3
 /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../i386-linux/include
End of omitted list.


  Werner





More information about the Gnupg-devel mailing list