On Wed, Feb 25, 2009 at 22:31, Ersin Akinci <ersin.akinci@xxxxxxxxx> wrote: > I'm trying to get udev to link statically to create an initramfs > image, but I can't get it to do it with the autoconf configure script. > No matter what I do, ldd reports that the binaries are dynamically > linked. Here's my configure line: > > ./configure --prefix=/home/ersin/vorpo_initramfs/usr > --exec-prefix=/home/ersin/vorpo_initramfs --sysconfdir=/etc > --enable-static --disable-shared > > I've also tried: > > LDFLAGS="-static" ./configure --prefix=/home/ersin/vorpo_initramfs/usr > --exec-prefix=/home/ersin/vorpo_initramfs --sysconfdir=/etc > --enable-static --disable-shared > CFLAGS="-static" ./configure --prefix=/home/ersin/vorpo_initramfs/usr > --exec-prefix=/home/ersin/vorpo_initramfs --sysconfdir=/etc > --enable-static --disable-shared > LDFLAGS="-static" CFLAGS="-static" ./configure > --prefix=/home/ersin/vorpo_initramfs/usr > --exec-prefix=/home/ersin/vorpo_initramfs --sysconfdir=/etc > --enable-static --disable-shared $ ./configure --enable-static ... $ make LDFLAGS=-all-static ... $ ldd udev/udevd not a dynamic executable Kay -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html