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

Bug#214692: libc6-dev: stdlib.h internal #includes broken/point to moved/non-existent headers



Package: libc6-dev
Version: 2.3.2-8
Severity: grave
Tags: sid
Justification: renders package unusable

Include files have apparently moved; apt-get upgrade tonight broke all compilati
on on the machine.  Sample g++ error output:

g++ -c -g -O allegro.cpp -o allegro.cpp.o
In file included from allegro.cpp:9:
/usr/include/stdlib.h:33:20: stddef.h: No such file or directory
In file included from allegro.cpp:9:
/usr/include/stdlib.h:137: error: syntax error before `(' token
In file included from allegro.cpp:9:
/usr/include/stdlib.h: In function `double atof(const char*)':
/usr/include/stdlib.h:378: error: `NULL' undeclared (first use this function)
/usr/include/stdlib.h:378: error: (Each undeclared identifier is reported only 
   once for each function it appears in.)
In file included from /usr/include/sys/types.h:31,
                 from /usr/include/stdlib.h:416,
                 from allegro.cpp:9:
/usr/include/bits/types.h:31:20: stddef.h: No such file or directory
In file included from /usr/include/stdlib.h:416,
                 from allegro.cpp:9:
/usr/include/sys/types.h:147:20: stddef.h: No such file or directory
In file included from /usr/include/sys/types.h:266,
                 from /usr/include/stdlib.h:416,
                 from allegro.cpp:9:
/usr/include/bits/pthreadtypes.h: At global scope:
/usr/include/bits/pthreadtypes.h:50: error: 'size_t' is used as a type, but is 
   not defined as a type.
/usr/include/bits/pthreadtypes.h:53: error: 'size_t' is used as a type, but is 
   not defined as a type.

Sample configure output:

checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for size_t... no


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux Snotfish 2.4.21+preempt+lowlat #12 SMP Mon Aug 18 19:56:50 EDT 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6-dev depends on:
ii  libc6                         2.3.2-8    GNU C Library: Shared libraries an

-- no debconf information




Reply to: