All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Abbott <abbotti@mev.co.uk>
To: linux-hotplug@vger.kernel.org
Subject: Re: Udev 0.65 fail to compile!
Date: Tue, 09 Aug 2005 10:30:59 +0000	[thread overview]
Message-ID: <42F885E3.1040106@mev.co.uk> (raw)
In-Reply-To: <1123115822.42f1632e99a7a@smtp.openna.com>

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

On 04/08/2005 01:15, Marco d'Itri wrote:
> On Aug 04, Gerhard Mourani <gmourani@openna.com> wrote:
> 
>>I'm downloaded and tried to compile and install latest version of udev (0.65)
> 
> Use this patch.

Thanks for that.  To compile against 2.4 headers you also need to 
include <linux/types.h> before <linux/netlink.h> as in the attached 
combined patch.

[-- Attachment #2: udev-065-24headers.patch --]
[-- Type: text/plain, Size: 468 bytes --]

--- udevmonitor.c.orig	2005-08-09 11:08:18.000000000 +0100
+++ udevmonitor.c	2005-08-09 11:09:24.000000000 +0100
@@ -28,12 +28,17 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <sys/select.h>
+#include <linux/types.h>
 #include <linux/netlink.h>
 #include <asm/types.h>
 
 #include "udev.h"
 #include "udevd.h"
 
+#ifndef NETLINK_KOBJECT_UEVENT
+#define NETLINK_KOBJECT_UEVENT 15
+#endif
+
 static int uevent_netlink_sock;
 static int udev_monitor_sock;
 

      parent reply	other threads:[~2005-08-09 10:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-03 23:50 Udev 0.65 fail to compile! Gerhard Mourani
2005-08-04  0:15 ` Marco d'Itri
2005-08-04  1:19 ` Kay Sievers
2005-08-09 10:30 ` Ian Abbott [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42F885E3.1040106@mev.co.uk \
    --to=abbotti@mev.co.uk \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.