linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aras Vaichas <arasv@magellan-technology.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: New software: Hotplug2, aimed at early userspace
Date: Mon, 04 Sep 2006 01:04:48 +0000	[thread overview]
Message-ID: <44FB7BB0.5070601@magellan-technology.com> (raw)
In-Reply-To: <20060902163017.693cd988@silver>

iSteve wrote:
> In addition, I have 0.3 released with more rules configurations available.
> 
> I've also attempted to compare udev and hotplug2 performance for trivial tasks
> (load all modules, create all devices without any specific changes).
> 
> It appears that hotplug2 outperforms udev significantly in trivial tasks.
> 
> The full benchmark:
> http://isteve.depressant.org/hotplug2/benchmark.txt
> 
> Thanks in advance for any thoughts and comments.

What is the minimum version of libc required to compile this application? Your
application doesn't compile on my system.

$ ./build.sh
hotplug2.c: In function ‘init_netlink_socket’:
hotplug2.c:165: error: ‘SO_RCVBUFFORCE’ undeclared (first use in this function)
hotplug2.c:165: error: (Each undeclared identifier is reported only once
hotplug2.c:165: error: for each function it appears in.)

A Google search reveals that SO_RCVBUFFORCE is apparently a fairly recent
addition to the kernel. I am using libc-2.3.6 for x86 and libc-2.3.5 for ARM
and neither can compile this application.

You could also try adding this:

#ifndef SO_RCVBUFFORCE
#define SO_RCVBUFFORCE	(33)
#endif

regards,

Aras Vaichas

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  parent reply	other threads:[~2006-09-04  1:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02 14:30 New software: Hotplug2, aimed at early userspace iSteve
2006-09-03 10:16 ` iSteve
2006-09-04  1:04 ` Aras Vaichas [this message]
2006-09-04  6:20 ` iSteve
2006-09-04  7:48 ` iSteve
2006-09-06  1:27 ` Greg KH
2006-09-08 14:00 ` iSteve
2006-09-08 15:22 ` Kay Sievers
2006-09-08 17:17 ` Greg KH

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=44FB7BB0.5070601@magellan-technology.com \
    --to=arasv@magellan-technology.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).