[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4ABFB00E.7080207@upmc.fr>
Date: Sun, 27 Sep 2009 20:33:50 +0200
From: Bernard Pidoux <bernard.pidoux@...c.fr>
To: arnd@...db.de
CC: linux-kernel@...r.kernel.org
Subject: Re: 2.6.31.1 BUG #include <asm/bitsperlong.h>
Many thanks for the solution to my issue.
As I maintain the application, it was easy to perform the change
to Makefile and it worked fine.
Best regards,
Bernard Pidoux
arnd@...db.de a écrit :
> On Sunday 27 September 2009 11:36:22 Bernard Pidoux wrote:
>> gcc -Wall -Wstrict-prototypes -O2 -ggdb2 -funsigned-char -D__LINUX__ -Wformat-security -D_FORTIFY_SOURCE=2 -DPROTOTYPES -I../lib -I/usr/src/linux/include -fstack-check -fstack-protector-all -c listen.c
>> Dans le fichier inclus à partir de /usr/include/asm/types.h:4,
>> à partir de /usr/src/linux/include/linux/types.h:4,
>> à partir de /usr/src/linux/include/linux/if_ether.h:24,
>> à partir de /usr/include/net/ethernet.h:27,
>> à partir de listen.c:21:
>> /usr/src/linux/include/asm-generic/int-ll64.h:11:29: erreur: asm/bitsperlong.h : Aucun fichier ou dossier de ce type
>> listen.c: In function ‘main’:
>>
>
> The problem is the '-I/usr/src/linux/include' part of the gcc command line.
> See http://kernelnewbies.org/KernelHeaders for why this is wrong.
> You should notify the maintainer of the package to fix this by removing
> this option. The headers in /usr/include/ are sufficient to build user
> code.
>
> Arnd <><
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists