Re: util-linux-ng: mount, umount and swapon need libuuid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Karel,

On Tue, Sep 02, 2008 at 12:11:26PM +0200, Karel Zak wrote:
> I'm not sure, what do you want to fix. See ./configure --help and
> *_LIBS and *_LIBS_STATIC variables if you need to compile for some
> unusual system.

Well, it doesn't change much if you use shared or static variables. I've
now changed my e2fsprogs installation to build a shared libblkid
(usually in e2fsprogs a static lib is standard if you don't
--enable-elf-shlibs manually). The error message is the same:

----------8<----------
make[3]: Entering directory
`/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270/build-target/util-linux-ng-2.14.1-rc2/mount'
arm-iwmmx-linux-gnueabi-gcc -std=gnu99  -fsigned-char -g -O2
-L/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270/sysroot-target/lib
-L/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270/sysroot-target/usr/lib
-Wl,-rpath-link
-Wl,/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270/sysroot-target/usr/lib
-o mount mount-mount.o mount-fstab.o mount-mount_mntent.o
mount-getusername.o mount-lomount.o mount-sundries.o mount-xmalloc.o
mount-realpath.o mount-fsprobe.o mount-fsprobe_blkid.o   mount-env.o
mount-linux_version.o mount-blkdev.o  mount-setproctitle.o -lblkid   
/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270/sysroot-target/usr/lib/libblkid.a(probe.o):
In function `set_uuid':
/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270/build-target/e2fsprogs-1.41.1/lib/blkid/probe.c:130:
undefined reference to `uuid_is_null'
----------8<----------

Now mount wants to link aganst the shared libblkid.so which pulls in the
same dependencies. The problem here is not so unusual: you say "link
against libblkdev" but forget to add possible dependencies.

We could use pkg-config to get the dependend libs for libblkid, but I'm
not sure if all possible e2fsprogs versions are pkgconfigized.

rsc
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux