On Thu, Jul 29, 2004 at 08:45:15PM -0400, Theodore Ts'o wrote: > On Mon, Jun 28, 2004 at 01:55:49PM +0200, G?ran Weinholt wrote: > > Package: e2fsprogs > > Version: 1.35-6 > > Severity: important > > > > e2fsprogs fails to build on hurd-i386. struct sockaddr_dl is not > > defined anywhere in glibc. > > > > /v2/tmp/e2fsprogs-1.35/lib/uuid/gen_uuid.c: In function `get_node_id': > > /v2/tmp/e2fsprogs-1.35/lib/uuid/gen_uuid.c:193: error: dereferencing > > pointer to incomplete type > > /v2/tmp/e2fsprogs-1.35/lib/uuid/gen_uuid.c:193: error: dereferencing > > pointer to incomplete type > > /v2/tmp/e2fsprogs-1.35/lib/uuid/gen_uuid.c:195: error: dereferencing > > pointer to incomplete type > > /v2/tmp/e2fsprogs-1.35/lib/uuid/gen_uuid.c:195: error: dereferencing > > pointer to incomplete type > > This seems to be because the hurd defines AF_LINK without defining > struck sockaddr_dl. The sockaddr_dl/AF_LINK code was added to support > grabbing the local MAC of an local ethernet interface for > MacOS/Darwin. Apparently the Hurd doesn't provide SIOCGIFHWADDR or > SIOCGENADDR either, which are other ways of obtaining the local MAC > address. > > Can you tell me how to extract the local MAC address of an ethernet > interface on the Hurd? Sorry, I've tried and failed. I'm Cc'ing debian-hurd hoping someone there knows how to do it. Regards, -- Göran Weinholt <weinholt@debian.org> Debian developer, sysadmin, netadmin
Attachment:
signature.asc
Description: Digital signature