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

Bug#682678: /usr/include/features.h referes to bits/predefs.h, but no "bits" link or dir in /usr/include



# affects many libraries, not just libc
reassign 682678 general
merge 637232 682678
quit

Hi Alex,

Alex Adam wrote:

> I've tried to build GCC-4.6.2 on my system from sources.
> I've got compilation failed with the following error message:
> In file included from /usr/include/stdio.h:28:0,
>                  from
> /home/lexa/arena/cT/search/gcc-4.6.2/libgcc/../gcc/tsystem.h:87,
>                  from
> /home/lexa/arena/cT/search/gcc-4.6.2/libgcc/../gcc/libgcc2.c:29:
> /usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory

This is http://gcc.gnu.org/PR53468

As mentioned in /usr/share/doc/libc6/NEWS.Debian.gz, using

	LIBRARY_PATH=/usr/lib/$(gcc -print-multiarch)
	CPATH=/usr/include/$(gcc -print-multiarch)
	export LIBRARY_PATH CPATH

before the usual

	./configure <configure args>
	make

is supposed to work around it.  Does it work for you?

Curious,
Jonathan


Reply to: