linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: iSteve <isteve@rulez.cz>
To: linux-hotplug@vger.kernel.org
Subject: Re: New software: Hotplug2, aimed at early userspace
Date: Mon, 04 Sep 2006 06:20:31 +0000	[thread overview]
Message-ID: <20060904082031.5bfccb03@silver> (raw)
In-Reply-To: <20060902163017.693cd988@silver>

On Mon, 04 Sep 2006 11:04:48 +1000
Aras Vaichas <arasv@magellan-technology.com> wrote:
> What is the minimum version of libc required to compile this application? Your
> application doesn't compile on my system.

I've built it on this:
$ dpkg-query -W libc6 linux-kernel-headers
libc6   2.3.6.ds1-4
linux-kernel-headers    2.6.17.10-1

> $ ./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

Thanks, added, released as 0.4 along with fixing of several bugs in the rules
documentation. Looks like udev has been solving the same issue half a year
ago...

> regards,
> 
> Aras Vaichas

-- 
 -- iSteve

-------------------------------------------------------------------------
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  6:20 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
2006-09-04  6:20 ` iSteve [this message]
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=20060904082031.5bfccb03@silver \
    --to=isteve@rulez.cz \
    --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).