From: Eric Sandall Date: Tue, 03 Feb 2004 22:23:56 +0000 Subject: Re: [ANNOUNCE] udev 016 release Message-Id: <1075847036.40201f7c0ec14@horde.sandall.us> List-Id: References: <20040203201359.GB19476@kroah.com> In-Reply-To: <20040203201359.GB19476@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Now it fails with `make -jN` where N > 1, whereas the last two worked fine, but then the one before that was broken as well, and off and on (though I failed to report it, then). I'm not canny enough with Makefiles yet to fix this, but I will look into it and see if I can gander what's going wrong. Here's the error from using multiple make jobs: gcc -march=athlon-xp -mmmx -mfpmath=sse -msse -m3dnow -pipe -pipe -DLOG -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include -I/usr/src/udev-016/libsysfs -c -o udevinfo.o udevinfo.c udevsend.c: In function `start_daemon': udevsend.c:94: error: `UDEVD_BIN' undeclared (first use in this function) udevsend.c:94: error: (Each undeclared identifier is reported only once udevsend.c:94: error: for each function it appears in.) udevsend.c: In function `main': udevsend.c:165: error: `UDEVD_SOCK' undeclared (first use in this function) make[1]: *** [udevsend.o] Error 1 make[1]: *** Waiting for unfinished jobs.... udevd.c: In function `sig_handler': udevd.c:315: error: `UDEVD_LOCK' undeclared (first use in this function) udevd.c:315: error: (Each undeclared identifier is reported only once udevd.c:315: error: for each function it appears in.) udevd.c: In function `one_and_only': udevd.c:329: error: `UDEVD_LOCK' undeclared (first use in this function) udevd.c: At top level: udevd.c:70: warning: `msg_dump' defined but not used make[1]: *** [udevd.o] Error 1 make[1]: Leaving directory `/usr/src/udev-016' -sandalle Quoting Greg KH : > I've released the 016 version of udev. It can be found at: > kernel.org/pub/linux/utils/kernel/hotplug/udev-016.tar.gz > > rpms built against Red Hat FC1 are available at: > kernel.org/pub/linux/utils/kernel/hotplug/udev-016-1.i386.rpm > with the source rpm at: > kernel.org/pub/linux/utils/kernel/hotplug/udev-016-1.src.rpm > > udev allows users to have a dynamic /dev and provides the ability to > have persistent device names. It uses sysfs and /sbin/hotplug and runs > entirely in userspace. It requires a 2.6 kernel with CONFIG_HOTPLUG > enabled to run. Please see the udev FAQ for any questions about it: > kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ > > For any udev vs devfs questions anyone might have, please see: > kernel.org/pub/linux/utils/kernel/hotplug/udev_vs_devfs > > > Major changes from the 015 version: > - udev is now in 3 pieces: > udevsend - is called by /sbin/hotplug and bundles up the > hotplug event and sends it off to the udevd > daemon. > udevd - receives the hotplug messages from udevsend, sorts > them in the proper order, and runs udev for the > different devices. > udev - still the same. Does the actual device node creation > and removal. > > This has been one of the major pieces missing for udev, and I > really want to thank Kay Sievers for all of his hard work on > this. > > Right now, udevsend and udev are built against klibc (udevsend > is only 2.5Kb big), and udevd is linked dynamically against > glibc, due to it using pthreads. This is ok, as udev can > still be placed into initramfs and run at early boot, it's > only after init starts up that udevsend and udevd will kick > in. > > > Thanks also to everyone who has send me patches for this release, a full > list of everyone, and their changes is below. > > udev development is done in a BitKeeper repository located at: > bk://linuxusb.bkbits.net/udev > > Daily snapshots of udev from the BitKeeper tree can be found at: > http://www.codemonkey.org.uk/projects/bitkeeper/udev/ > If anyone ever wants a tarball of the current bk tree, just email me. > > thanks, > > greg k-h > > > Summary of changes from v015 to v016 > ====================== > > : > o get_dev_number() in extras/ide-devfs.sh > > : > o FAQ udev.rules.devfs > > Greg Kroah-Hartman: > o add udevd and udevsend to the spec file > o make /etc/hotplug.d/default/udev.hotplug symlink point to udevsend now > o add KERNEL_DIR option so that the distros will be happy > o make udevsend binary even smaller > o udevsend now almost compiles with klibc, struct sockaddr_un is only > problem now > o fix up logging code so that it can be built without it being enabled > o rework the logging code so that each program logs with the proper name in > the syslog > o remove logging.c as it's no longer needed > o kill the last examples that contained the %D option > o remove a __KLIBC__ tests in libsysfs, as klibc now supports > getpagesize() > o udevd - remove stupid locking error I wrote > o update to klibc version 0.101, fixing the stdin bug > o fix Makefile typo for USE_LSB install > o 015_bk mark > o allow dbus code to actually build again > o v015 release TAG: v015 > > Kay Sievers: > o let udevsend build with klibc > o udevd - config cleanup > o udevd - cleanup and better timeout handling > o fix possible buffer overflow > o udevd - next round of fixes > o udevinfo - missing options for man page > o udev - trivial style cleanup > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > 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 > -- PGP Key Fingerprint: FCFF 26A1 BE21 08F4 BB91 FAED 1D7B 7D74 A8EF DD61 http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61 -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o? K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++) tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+ ------END GEEK CODE BLOCK------ Eric Sandall | Source Mage GNU/Linux Developer eric@sandall.us | http://www.sourcemage.org/ http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU http://counter.li.org/ #196285 | http://www.shock.wsu.edu/ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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