From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 12 Jul 2005 03:02:11 +0000 Subject: Re: udevd failt to compile! Message-Id: <20050712030211.GA1421@kroah.com> List-Id: References: <27626.70.80.182.196.1120508402.squirrel@webmail.privalodc.com> In-Reply-To: <27626.70.80.182.196.1120508402.squirrel@webmail.privalodc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Jul 11, 2005 at 05:39:35PM -0300, Fr?d?ric L. W. Meunier wrote: > On Mon, 4 Jul 2005 gmourani@privalodc.com wrote: > > >Hello, > > > >I'm trying to compile latest version of udev (version 060) and it fail > >with the following error messages: > > > >Compiling udevd.c: > >[ERROR] > > gcc -Wall -fno-builtin -Wchar-subscripts -Wpointer-arith > >-Wstrict-prototypes > > -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -pipe > >-D_GNU_S > > OURCE -I/usr/src/openna/BUILD/udev-060/libsysfs/sysfs > >-I/usr/src/openna/BUILD > > /udev-060/libsysfs -DUSE_LOG -Os -fomit-frame-pointer -Wshadow > >-Wstrict-proto > > types -Wmissing-prototypes -Wmissing-declarations -c -o udevd.o udevd.c > > In file included from udevd.c:41: > > /usr/include/linux/netlink.h:22: error: parse error before '__u32' > > /usr/include/linux/netlink.h:28: error: parse error before '__u32' > > /usr/include/linux/netlink.h:30: error: parse error before 'nlmsg_flags' > > /usr/include/linux/netlink.h:31: error: parse error before 'nlmsg_seq' > > /usr/include/linux/netlink.h:32: error: parse 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:755: error: storage size of 'snl' isn't known > > udevd.c:758: error: invalid application of 'sizeof' to incomplete type > >'struc > > t sockaddr_nl' > > udevd.c:770: error: invalid application of 'sizeof' to incomplete type > >'struc > > t sockaddr_nl' > > udevd.c:755: warning: unused variable 'snl' > >make: *** [udevd.o] Error 1 > > > >udev 058 compiled successfuly without problem or error, does some know > >what this happen with latest stable realese of udev 060?? > > The same for me. Using kernel-headers-2.4.31-i386-1 from > Slackware-current. Nothing broken on my system. Use a kernel-headers from a 2.6 kernel please. Also, does this still happen on 062? thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ 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