gcc can't find stddef.h
I'm having problems trying to compile some programs. gcc doesn't seems
to find stddef.h. As an example:
gcc -O2 -g -Wall -c asmail.c -o asmail.o
In file included from asmail.c:16:
/usr/include/stdlib.h:34: stddef.h: No such file or directory
In file included from /usr/include/stdlib.h:234,
/usr/include/alloca.h:24: stddef.h: No such file or directory
In file included from asmail.c:17:
/usr/include/string.h:33: stddef.h: No such file or directory
In file included from asmail.c:18:
/usr/include/X11/Xlib.h:73: stddef.h: No such file or directory
In file included from asmail.c:23:
/usr/include/unistd.h:104: stddef.h: No such file or directory
make: *** [asmail.o] Error 1
make: Leaving directory `/home/ecl/debian/asmail/asmail-0.50'
make: *** [build] Error 2
But I have stddef.h somewhere:
519-ecl@nuc04:~$ locate stddef.h
Relevant package info:
ii cpp 126.96.36.199-4 The GNU C preprocessor.
ii gcc 188.8.131.52-8 The GNU C compiler (ELF version).
ii kernel-image-2. custom.1.0 Linux kernel binary image.
ii kernel-package 3.31 Debian Linux kernel package build scripts.
ii kernel-source-2 2.0.30-6 Linux kernel source.
ii libc5 5.4.23-4 The Linux C library version 5 (run-time libr
ii libc5-dev 5.4.23-4 The Linux C library version 5 (development f
ii libc6 2.0.3-4 The GNU C library version 2 (run-time files)
ii libg++27 184.108.40.206-8 The GNU C++ libraries (ELF version).
ii libg++27-dev 220.127.116.11-8 The GNU C++ libraries (ELF version).
do I have buggy include files? Does some one has the same problem?
Emilio C. Lopes <mailto:Emilio.Lopes@Physik.TU-Muenchen.DE>
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .