Re: compilation failure

Keith Owens (kaos@ocs.com.au)
Sun, 15 Dec 2002 22:24:50 +1100


On Wed, 11 Dec 2002 23:22:55 +0100,
abindus@wanadoo.fr wrote:
>It seems to complain of not founding some libraries
>After the make dep, make bzImage gives (I'm sorry but it's in french) :
>/usr/src/linux-2.4.18-18.8.0/include/linux/kernel.h:10:20: stdarg.h:
>Aucun fichier ou répertoire de ce type
>Dans le fichier inclus à partir de

Look in Makefile, find a line like this

kbuild_2_4_nostdinc := -nostdinc $(shell $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/-I \1include/gp')

Change '$(CC)' to 'LANG=C $(CC)'.

The standard 2.4.18 kernel does not use -nostdinc but RH have
backported the patch from 2.4.19.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/