bug-glibc
[Top][All Lists]
Advanced

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

named[]: IPv6 structures in kernel and user space do not match.


From: Stephen Bowyer
Subject: named[]: IPv6 structures in kernel and user space do not match.
Date: Wed, 4 Feb 2004 02:00:46 +0000 (GMT)

Hi.

I am having trouble getting IPv6 in BIND (9.2.3) working. After trawling
though the internet I think the problem may be with my glibc. I have glibc
2.3.2 and Linux kernel 2.4.23-pre9.

I compiled and ran some code suggested by Sjoerd that I found at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=82468 and it seems my
sockaddr_in6 returns 24 bytes while I think it should be 28.

I'm searching for any advice. Is this a problem with glibc? Or am I
looking in the wrong place?


$ ./a.out
getpeername len -> 28, sizeof(sockaddr_in6) -> 24

$ ldd ./a.out
        libc.so.6 => /usr/local/glibc2.3.2/lib/libc.so.6 (0x4002a000)
        /usr/local/glibc2.3.2/lib/ld-linux.so.2 =>
/usr/local/glibc2.3.2/lib/ld-linux.so.2 (0x40000000)

$ uname -a
Linux simon 2.4.23-pre9 #1 Sat Nov 1 11:38:43 GMT 2003 i586 unknown
unknown GNU/Linux

$ /usr/local/glibc2.3.2/lib/libc.so.6
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.2.
Compiled on a Linux 2.4.23-pre9 system on 2003-11-29.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.10 by Xavier Leroy
        BIND-8.2.3-T5B
        libthread_db work sponsored by Alpha Processor Inc
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <address@hidden>.






Cheers.


Stephen.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]