linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Udev 0.75 fail to compile
@ 2005-11-10 13:30 gmourani
  2005-11-10 14:05 ` Piter Punk
  2005-11-10 14:16 ` Kay Sievers
  0 siblings, 2 replies; 3+ messages in thread
From: gmourani @ 2005-11-10 13:30 UTC (permalink / raw)
  To: linux-hotplug

Hello,

I've tried to compile udev 0.75 on my linux system and get the following
error:
Creating udev_version.h
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]
Creating library libsysfs.a:                                          [OK]
Running ranlib:                                                       [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_utils.c:                                               [OK]
Compiling udev_utils_string.c:                                        [OK]
Compiling udev_utils_file.c:                                          [OK]
Compiling udev_utils_run.c:                                           [OK]
Compiling udev_libc_wrapper.c:                                        [OK]
Compiling udev_selinux.c:                                             [OK]
Creating library libudev.a:                                           [OK]
Running ranlib:                                                       [OK]
Compiling udev.c:                                                     [OK]
Linking udev:                                                         [OK]
  /usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../libc.a(dl-open.o):
warning: def
  inition of `_dl_tls_static_size' overriding common
  /usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../libc.a(libc-tls.o):
warning: co
  mmon is here
Running true:                                                         [OK]
Compiling udevd.c:                                                    [ERROR]
  gcc -Os -march=pentium2 -fomit-frame-pointer -c -g -Wall -pipe
-D_GNU_SOURCE
  -D_FILE_OFFSET_BITSd -Wstrict-prototypes -Wsign-compare -Wshadow
-Wchar-sub
  scripts -Wmissing-declarations -Wnested-externs -Wpointer-arith
-Wcast-align
  -Wsign-compare -Wmissing-prototypes -Wdeclaration-after-statement -Os
-I/usr/
  src/openna/BUILD/udev-075/libsysfs/sysfs
-I/usr/src/openna/BUILD/udev-075/lib
  sysfs -DUSE_SELINUX -DUSE_STATIC udevd.c -o udevd.o
  In file included from udevd.c:42:
  /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
  udevd.c: In function 'init_uevent_netlink_sock':
  udevd.c:665: error: storage size of 'snl' isn't known
  udevd.c:669: error: invalid application of 'sizeof' to incomplete type
'struc
  t sockaddr_nl'
  udevd.c:683: error: invalid application of 'sizeof' to incomplete type
'struc
  t sockaddr_nl'
  udevd.c:665: warning: unused variable 'snl'
make: *** [udevd.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.25233 (%build)

Work fine with version 0.71

Gerhard,



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-10 14:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-10 13:30 Udev 0.75 fail to compile gmourani
2005-11-10 14:05 ` Piter Punk
2005-11-10 14:16 ` Kay Sievers

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).