linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gerhard Mourani <gmourani@openna.com>
To: linux-hotplug@vger.kernel.org
Subject: Udev 0.65 fail to compile!
Date: Wed, 03 Aug 2005 23:50:17 +0000	[thread overview]
Message-ID: <1123115822.42f1632e99a7a@smtp.openna.com> (raw)

Hello,

I'm downloaded and tried to compile and install latest version of udev (0.65)
today and get the following error; please note that previous version 0.64
compiled well and without problem on the same system/host.

+ /usr/bin/make 'CC=gcc -Os -march=pentium3 -fomit-frame-pointer -DUDEV_STATIC'
'LD=gcc -Os -march=pentium3 -fomit-frame-pointer -static' USE_KLIBCúlse
USE_SELINUXúlse USE_STATIC=true udevdir=/dev 'EXTRAS=extras/scsi_id
extras/ata_id' USE_LOGúlse
Creating udev_version.h
Building ccdv
Compiling udev.c:                                                     [OK]
Compiling udev_utils.c:                                               [OK]
Compiling udev_event.c:                                               [OK]
Compiling udev_device.c:                                              [OK]
Compiling udev_config.c:                                              [OK]
Compiling udev_add.c:                                                 [OK]
Compiling udev_remove.c:                                              [OK]
Compiling udev_sysfs.c:                                               [OK]
Compiling udev_db.c:                                                  [OK]
Compiling udev_rules.c:                                               [OK]
Compiling udev_rules_parse.c:                                         [OK]
Compiling udev_libc_wrapper.c:                                        [OK]
rm -f udev.a
Creating library udev.a:                                              [OK]
Running ranlib:                                                       [OK]
Compiling sysfs_class.c:                                              [OK]
Compiling sysfs_device.c:                                             [OK]
Compiling sysfs_dir.c:                                                [OK]
Compiling sysfs_driver.c:                                             [OK]
Compiling sysfs_utils.c:                                              [OK]
Compiling dlist.c:                                                    [OK]
rm -f libsysfs/sysfs.a
Creating library sysfs.a:                                             [OK]
Running ranlib:                                                       [OK]
sed -e "s:@udevdir@:/dev:" < udev.8.in > udev.8
Linking udev:                                                         [OK]
Running strip:                                                        [OK]
Compiling udevsend.c:                                                 [OK]
Linking udevsend:                                                     [OK]
Running strip:                                                        [OK]
Compiling udevrulescompile.c:                                         [OK]
Linking udevrulescompile:                                             [OK]
Running strip:                                                        [OK]
Compiling udevinitsend.c:                                             [OK]
Linking udevinitsend:                                                 [OK]
Running strip:                                                        [OK]
Compiling udeveventrecorder.c:                                        [OK]
Linking udeveventrecorder:                                            [OK]
Running strip:                                                        [OK]
Compiling udevcontrol.c:                                              [OK]
Linking udevcontrol:                                                  [OK]
Running strip:                                                        [OK]
Compiling udevmonitor.c:                                              [ERROR]
  gcc -Os -march=pentium3 -fomit-frame-pointer -DUDEV_STATIC -Wall -fno-builtin
   -Wchar-subscripts -Wpointer-arith -Wstrict-prototypes -Wsign-compare -Wdecla
  ration-after-statement -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITSd -I/usr/src/
  openna/BUILD/udev-065/libsysfs/sysfs -I/usr/src/openna/BUILD/udev-065/libsysf
  s -Os -march=pentium3 -fomit-frame-pointer -fomit-frame-pointer -Wshadow -Wst
  rict-prototypes -Wmissing-prototypes -Wmissing-declarations -DUSE_STATIC -c -
  o udevmonitor.o udevmonitor.c
  In file included from udevmonitor.c:31:
  /usr/include/linux/netlink.h:22: error: syntax error before '__u32'
  /usr/include/linux/netlink.h:28: error: syntax error before '__u32'
  /usr/include/linux/netlink.h:30: error: syntax error before 'nlmsg_flags'
  /usr/include/linux/netlink.h:31: error: syntax error before 'nlmsg_seq'
  /usr/include/linux/netlink.h:32: error: syntax error before 'nlmsg_pid'
  /usr/include/linux/netlink.h:82: error: field 'msg' has incomplete type
  udevmonitor.c: In function 'init_uevent_netlink_sock':
  udevmonitor.c:75: error: storage size of 'snl' isn't known
  udevmonitor.c:78: error: invalid application of 'sizeof' to incomplete type '
  struct sockaddr_nl'
  udevmonitor.c:83: error: 'NETLINK_KOBJECT_UEVENT' undeclared (first use in th
  is function)
  udevmonitor.c:83: error: (Each undeclared identifier is reported only once
  udevmonitor.c:83: error: for each function it appears in.)
  udevmonitor.c:90: error: invalid application of 'sizeof' to incomplete type '
  struct sockaddr_nl'
  udevmonitor.c:75: warning: unused variable 'snl'
make: *** [udevmonitor.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.97858 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.97858 (%build)

--
Gerhard Mourani


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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

             reply	other threads:[~2005-08-03 23:50 UTC|newest]

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

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=1123115822.42f1632e99a7a@smtp.openna.com \
    --to=gmourani@openna.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).