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

Bug#538372: header failure including netlink.h (or uio.h)



Package: linux-libc-dev
Version: 2.6.30-3
Severity: important

Compiling something like:
cat > t.c <<EOF
#include <linux/netlink.h>
int main(void) { return 0; } 
EOF
gcc -o t t.c

Fails with:
In file included from /usr/include/linux/socket.h:23,
                 from /usr/include/linux/netlink.h:4,
                 from t.c:1:
/usr/include/linux/uio.h:37: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'iov_length'
/usr/include/linux/uio.h:47: error: expected declaration specifiers or
'...' before 'size_t'

(same with just including uio.h).

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29.6rx00 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

-- no debconf information



Reply to: