Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: gentoo-user@l.g.o
Subject: [gentoo-user] unable to emerge lvm2 in new install of gentoo
Date: Thu, 31 Mar 2011 09:28:00
1 Hi. I am trying to install a new gentoo install, its a 64-bit and I
2 have copied the world file from my old 32-bit install and I am chrooting
3 into the 64-bit install.
5 Now things are not going too bad, but when I try to emerge lvm2, I get
6 the following:
8 make[1]: Entering directory
9 `/var/tmp/portage/sys-fs/lvm2-2.02.84/work/LVM2.2.02.84/tools'
10 cc -c -I. -I../include -DLVM_SHARED_PATH=\"/usr/sbin/lvm\"
11 -DHAVE_CONFIG_H -DDM_IOCTLS -O2 -mtune=core2 -pipe -ggdb -O2
12 -mtune=core2 -pipe -ggdb -fPIC -Wall -Wundef -Wshadow -Wcast-align
13 -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations
14 -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security
15 -Wredundant-decls -O2 -O2 -mtune=core2 -pipe -ggdb -fPIC -Wall -Wundef
16 -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes
17 -Wmissing-declarations -Wnested-externs
18 -Winline -Wmissing-noreturn -Wformat-security -Wredundant-decls -O2
19 dmsetup.c -o dmsetup.o
20 cc -O2 -mtune=core2 -pipe -ggdb -O2 -mtune=core2 -pipe -ggdb -fPIC -Wall
21 -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes
22 -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn
23 -Wformat-security -Wredundant-decls -O2 -O2 -mtune=core2 -pipe -ggdb
24 -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings
25 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline
26 -Wmissing-noreturn -Wformat-security -Wredundant-decls -O2 -Wl,-O1
27 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,--export-dynamic -L./libdm
28 -L./lib -L./daemons/dmeventd -Wl,-O1 -Wl,--as-needed
29 -Wl,--export-dynamic -L../libdm -L../lib -L../daemons/dmeventd
30 -L../libdm \
31 -o dmsetup dmsetup.o -ldevmapper -ludev
32 cc -O2 -mtune=core2 -pipe -ggdb -O2 -mtune=core2 -pipe -ggdb -fPIC -Wall
33 -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes
34 -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn
35 -Wformat-security -Wredundant-decls -O2 -O2 -mtune=core2 -pipe -ggdb
36 -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings
37 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline
38 -Wmissing-noreturn -Wformat-security -Wredundant-decls -O2 -Wl,-O1
39 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,--export-dynamic -L./libdm
40 -L./lib -L./daemons/dmeventd -Wl,-O1 -Wl,--as-needed
41 -Wl,--export-dynamic -L../libdm -L../lib -L../daemons/dmeventd
42 -Wl,--no-export-dynamic -static -L../libdm/ioctl \
43 -o dmsetup.static dmsetup.o -ldevmapper -ludev -ludev
44 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../lib64/libudev.a(libudev-util.o):
45 In function `usec_monotonic':
46 (.text+0x24d): undefined reference to `clock_gettime'
47 collect2: ld returned 1 exit status
49 I tried re-emerging udev, but no joy and I looked on Google, but librt
50 seems to be already there, so I wonder what is happening?
52 Thanks in advance for any ideas.
54 --
55 Your life is like a penny. You're going to lose it. The question is:
56 How do
57 you spend it?
59 John Covici
60 covici@××××××××××.com


Subject Author
[gentoo-user] Re: unable to emerge lvm2 in new install of gentoo walt <w41ter@×××××.com>