Getting the following error message:
Creating
udev_version.h
In file included from udevd.c:41:
/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:758: error: storage size of 'snl' isn't known
udevd.c:761: error: invalid application of `sizeof' to incomplete type `sockaddr_nl'
udevd.c:773: error: invalid application of `sizeof' to incomplete type `sockaddr_nl'
udevd.c:758: warning: unused variable `snl'
make[3]: *** [udevd.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/src/udev-0.060.orig/build-tree/udev-060'
make[2]: *** [source.command] Error 2
make[1]: make[2]: Leaving directory `/usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/src/udev-0.060.orig'
*** [debian/stampdir/build] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/src/udev-0.060.orig'
touch /usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/src/udev-0.060.orig.build
rsync -av /usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/src/udev-0.060.orig/debian/udev/ /usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/build_dir/ | perl -pi -e 's/^/
/'
rsync: link_stat "/usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/src/udev-0.060.orig/debian/udev/." failed: No such file or directory (2)
building file list ... done
rsync error: some files could not be transferred (code 23) at main.c(702)
In file included from udevd.c:41:
/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:758: error: storage size of 'snl' isn't known
udevd.c:761: error: invalid application of `sizeof' to incomplete type `sockaddr_nl'
udevd.c:773: error: invalid application of `sizeof' to incomplete type `sockaddr_nl'
udevd.c:758: warning: unused variable `snl'
make[3]: *** [udevd.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/src/udev-0.060.orig/build-tree/udev-060'
make[2]: *** [source.command] Error 2
make[1]: make[2]: Leaving directory `/usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/src/udev-0.060.orig'
*** [debian/stampdir/build] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/src/udev-0.060.orig'
touch /usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/src/udev-0.060.orig.build
rsync -av /usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/src/udev-0.060.orig/debian/udev/ /usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/build_dir/ | perl -pi -e 's/^/
/'
rsync: link_stat "/usr/src/redhat/BUILD/systemimager-3.7.2r3462M_bli/initrd_source/src/udev-0.060.orig/debian/udev/." failed: No such file or directory (2)
building file list ... done
rsync error: some files could not be transferred (code 23) at main.c(702)
What I don't understand is why the
build process did not error out (I'm doing this as part of a RPM build and the
RPMs were built "successfully") - is there a bug in the .rul file?
I think I'll try to use the vanilla
udev source and build from there.
Cheers,
Bernard