mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Íñigo López-Barranco" <ilopez@albatros-sl.es>
To: ptxdist@pengutronix.de
Subject: [ptxdist] Udev 172/181 doesn't find ptxdist kernel headers and fails to compile
Date: Thu, 26 Apr 2012 15:38:16 +0200	[thread overview]
Message-ID: <4F994FC8.1030906@albatros-sl.es> (raw)

Hello all.

I'm trying to build ptxdist-2012.04.0 but it fails to compile using both 
versions of udev complaining about some undeclared defines:

src/libudev-monitor.c: In function 'udev_monitor_new_from_socket':
src/libudev-monitor.c:153: error: 'SOCK_NONBLOCK' undeclared (first use 
in this function)
src/libudev-monitor.c:153: error: (Each undeclared identifier is 
reported only once
...

Searching in the list's archives found this message with a patch adding 
the kernel headers path to the udev rules for toolchains without kernel 
headers (or old ones):

http://thread.gmane.org/gmane.comp.embedded.ptxdist.devel/7997/focus=8140

I've checked that this is already included in my udev.make file, that 
I've selected the kernel headers (2.6.39) in ptxdist menu and that 
SOCK_NONBLOCK and other missing defines are present in the kernel 
headers, so I don't know what else to check now.

The gcc version is 4.3.2 and the platform is x86 (586).

Thanks in advance
--
Íñigo

-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2012-04-26 13:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26 13:38 Íñigo López-Barranco [this message]
2012-04-27 11:12 ` Michael Olbrich
2012-05-03  9:58   ` Íñigo López-Barranco

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=4F994FC8.1030906@albatros-sl.es \
    --to=ilopez@albatros-sl.es \
    --cc=ptxdist@pengutronix.de \
    /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