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

gcc can't find stddef.h



Hi,

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,
                    from asmail.c:16:
   /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[1]: *** [asmail.o] Error 1
   make[1]: 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
   /usr/include/g++/std/stddef.h
   /usr/include/linux/stddef.h
   /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h
   /usr/src/kernel-source-2.0.30/include/linux/stddef.h

Relevant package info:

   ii  cpp             2.7.2.2-4      The GNU C preprocessor.
   ii  gcc             2.7.2.1-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        2.7.2.1-8      The GNU C++ libraries (ELF version).
   ii  libg++27-dev    2.7.2.1-8      The GNU C++ libraries (ELF version).

do I have buggy include files? Does some one has the same problem?
Solutions... 

Regards,

-- 
 Emilio C. Lopes <mailto:Emilio.Lopes@Physik.TU-Muenchen.DE>


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: