Gentoo Archives: gentoo-embedded

From: Patrice Tisserand <ptisserand@××××××.com>
To: gentoo-embedded@l.g.o
Cc: Kfir Lavi <lavi.kfir@×××××.com>
Subject: Re: [gentoo-embedded] e2fsprogs checking for blkid_get_cache in -lblkid... no
Date: Tue, 04 Jan 2011 09:08:17
Message-Id: 4D22E243.9060606@wyplay.com
In Reply to: Re: [gentoo-embedded] e2fsprogs checking for blkid_get_cache in -lblkid... no by Mike Frysinger
1 Mike Frysinger wrote:
2 > On Monday, January 03, 2011 05:19:58 Kfir Lavi wrote:
3 >> when I try to cross compile sys-fs/e2fsprogs I get this error:
4 >> checking for blkid_get_cache in -lblkid... no
5 >>
6 >> copying the uuid and blkid files to the cross environment solve the problem
7 >> and the package compiles.
8 >> cp /tmp/target_root/usr/lib/libuuid.* /usr/i686-gentoo-linux-gnu/usr/lib/
9 >> cp /tmp/target_root/usr/lib/libblkid.* /usr/i686-gentoo-linux-gnu/usr/lib/
10 >> cp /tmp/target_root/lib/libuuid.so.1* /usr/i686-gentoo-linux-gnu/lib/
11 >> cp /tmp/target_root/lib/libblkid.so.1* /usr/i686-gentoo-linux-gnu/lib/
12 >>
13 >> How can this problem be solved permanently?
14 >
15 > you should be emerging library packages into your SYSROOT (/usr/$CTARGET)
16 > before building/installing packages into your ROOT
17 > -mike
18
19 Does adding -L /tmp/target_root/lib -L /tmp/target_root/usr/lib
20 -Wl,-rpath-link,/tmp/target_root/lib
21 -Wl,-rpath-link,/tmp/target_root/usr/lib to LDFLAGS could not be an
22 alternative ?
23
24 Patrice
25
26 ----
27 This message contains confidential information and may contain information that is legally privileged. If you have received this message by mistake, please immediately notify us and delete the original message. Thank you.
28
29 Ce message contient des informations confidentielles. S'il vous est parvenu par erreur, merci de bien vouloir nous en aviser par retour, de n'en faire aucun usage et de n'en garder aucune copie.
30 ----

Replies