Your message dated Fri, 10 Jul 2009 16:46:03 +0200 with message-id <4A57542B.5040705@e-tobi.net> and subject line Fixed in 2.6.30 has caused the Debian Bug report #523424, regarding [linux-libc-dev] header clash between <linux/types.h> and <stdint.h> to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 523424: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523424 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: [linux-libc-dev] header clash between <linux/types.h> and <stdint.h>
- From: Tobias Grimm <tobias.grimm@e-tobi.net>
- Date: Fri, 10 Apr 2009 09:50:01 +0200
- Message-id: <1239349801.7439.8.camel@tobi-notebook.e-tobi.loc>
Package: linux-libc-dev Version: 2.6.29-2 Severity: important --- Please enter the report below this line. --- With kernel 2.6.29 there has been a change from asm/types.h to linux/types.h for a lot of the kernel includes: -#include <asm/types.h> +#include <linux/types.h> This leads to FTBS errors like the one from VDR - see snippet A below. A short test for this is to compile, this: #include <linux/types.h> #include <stdint.h> int main() { return 0; } There's a clash between linux/types.h and stdint.h because types.h defines some POSIX types defined in stdint.h as well. Arnd Bergmann already prepared a patch for this, which unfortunately didn't made it into 2.6.29. See: http://lkml.indiana.edu/hypermail/linux/kernel/0902.3/index.html#00955 http://git.kernel.org/?p=linux/kernel/git/jaswinder/linux-2.6-tip.git;a=shortlog;h=core/header-fixes I've just applied the whole patchset from the core/header-fixes branch and it works fine. As far as I can see, these changes already made it into Linus' kernel tree. Tobias --- snippet A --- In file included from /usr/include/netinet/in.h:24, from /usr/include/arpa/inet.h:23, from config.h:13, from channels.h:13, from device.h:13, from dvbdevice.h:15, from dvbdevice.c:10: /usr/include/stdint.h:41: error: conflicting declaration 'typedef long int int64_t' /usr/include/linux/types.h:98: error: 'int64_t' has a previous declaration as 'typedef __s64 int64_t' /usr/include/stdint.h:56: error: conflicting declaration 'typedef long unsigned int uint64_t' /usr/include/linux/types.h:96: error: 'uint64_t' has a previous declaration as 'typedef __u64 uint64_t' --- System information. --- Architecture: amd64 Kernel: Linux 2.6.28-etobi.2-amd64 Debian Release: squeeze/sid 900 testing www.debian-multimedia.org 900 testing security.debian.org 900 testing ftp.de.debian.org 500 stable ftp.de.debian.org --- Package information. --- Depends (Version) | Installed =======================-+-=========== |
--- End Message ---
--- Begin Message ---
- To: 523424-done@bugs.debian.org
- Subject: Fixed in 2.6.30
- From: Tobias Grimm <tobias.grimm@e-tobi.net>
- Date: Fri, 10 Jul 2009 16:46:03 +0200
- Message-id: <4A57542B.5040705@e-tobi.net>
Package: linux-libc-dev Version: 2.6.30-1 This problem doesn't exist in 2.6.30 anymore.Attachment: signature.asc
Description: OpenPGP digital signature
--- End Message ---