Gentoo Archives: gentoo-user-de

From: Thomas Wallrafen <mails@××××××.de>
To: gentoo-user-de@l.g.o
Subject: [gentoo-user-de] Installation Stage1 (hardened) mit lvm2
Date: Tue, 21 Mar 2006 18:37:52
Message-Id: 4420478D.5020909@ranulf.de
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Nabend zusammen.
5
6 Vielleicht kann mir jemand von Euch helfen. Habe mit dem Problem mal ein
7 bisschen gegoogelt und Mailinglisten-Archive durchforstet, hat aber
8 leider nicht geholfen.
9
10 Folgendes Problem: Gentoo Stage1 (hardened) soweit erfolgreich
11 installiert, d. h. emerge system ist durchgelaufen und auch syslog-ng,
12 grub etc. Leider bekomme ich beim kompilieren der lvm2-Tools den
13 nachstehenden Fehler:
14
15
16 - ---------- 8< -------------------------
17 i386-pc-linux-gnu-gcc -E -P cmdnames.h 2> /dev/null | \
18 egrep -v '^
19 *(|#.*|dumpconfig|formats|help|pvdata|segtypes|version) *$' > .commands
20 i386-pc-linux-gnu-gcc -o lvm archiver.o dumpconfig.o formats.o
21 lvchange.o lvcreate.o lvdisplay.o lvextend.o lvmchange.o lvmcmdline.o
22 lvmdiskscan.o lvreduce.o lvremove.o lvrename.o lvresize.o lvscan.o
23 polldaemon.o pvchange.o pvcreate.o pvdisplay.o pvmove.o pvremove.o
24 pvscan.o reporter.o segtypes.o toollib.o vgcfgbackup.o vgcfgrestore.o
25 vgchange.o vgck.o vgcreate.o vgconvert.o vgdisplay.o vgexport.o
26 vgextend.o vgimport.o vgmerge.o vgmknodes.o vgreduce.o vgremove.o
27 vgrename.o vgscan.o vgsplit.o lvm.o -Wl,--export-dynamic -L../lib
28 - -L/usr/lib -llvm -ldevmapper -lreadline -ldl -lncurses -rdynamic
29 i386-pc-linux-gnu-gcc -o lvm.static archiver.o dumpconfig.o formats.o
30 lvchange.o lvcreate.o lvdisplay.o lvextend.o lvmchange.o lvmcmdline.o
31 lvmdiskscan.o lvreduce.o lvremove.o lvrename.o lvresize.o lvscan.o
32 polldaemon.o pvchange.o pvcreate.o pvdisplay.o pvmove.o pvremove.o
33 pvscan.o reporter.o segtypes.o toollib.o vgcfgbackup.o vgcfgrestore.o
34 vgchange.o vgck.o vgcreate.o vgconvert.o vgdisplay.o vgexport.o
35 vgextend.o vgimport.o vgmerge.o vgmknodes.o vgreduce.o vgremove.o
36 vgrename.o vgscan.o vgsplit.o lvm-static.o -static -Wl,--export-dynamic
37 - -L../lib -L/usr/lib -llvm -ldevmapper \
38 -lreadline -ldl -lncurses -rdynamic
39 /usr/lib/libdevmapper.a(pool.o): In function `_align_chunk':
40 pool.c:(.text+0x130): multiple definition of `_align_chunk'
41 ../lib/liblvm.a(pool.o):pool.c:(.text+0x130): first defined here
42 /usr/lib/libdevmapper.a(pool.o): In function `_new_chunk':
43 pool.c:(.text+0x190): multiple definition of `_new_chunk'
44 ../lib/liblvm.a(pool.o):pool.c:(.text+0x190): first defined here
45 /usr/lib/gcc/i386-pc-linux-gnu/3.4.5/../../../../i386-pc-linux-gnu/bin/ld:
46 Warning: size of symbol `_new_chunk' changed from 205 in
47 ../lib/liblvm.a(pool.o) to 208 in /usr/lib/libdevmapper.a(pool.o)
48 ../lib/liblvm.a(sharedlib.o): In function `load_shared_library':
49 sharedlib.c:(.text+0xc5): warning: Using 'dlopen' in statically linked
50 applications requires at runtime the shared libraries from the glibc
51 version used for linking
52 /usr/lib/libreadline.a(complete.o): In function
53 `rl_username_completion_function':
54 complete.c:(.text+0x2b93): warning: Using 'getpwent' in statically
55 linked applications requires at runtime the shared libraries from the
56 glibc version used for linking
57 /usr/lib/libreadline.a(tilde.o): In function `tilde_expand_word':
58 tilde.c:(.text+0x227): warning: Using 'getpwnam' in statically linked
59 applications requires at runtime the shared libraries from the glibc
60 version used for linking
61 /usr/lib/libreadline.a(shell.o): In function `sh_get_home_dir':
62 shell.c:(.text+0x1d9): warning: Using 'getpwuid' in statically linked
63 applications requires at runtime the shared libraries from the glibc
64 version used for linking
65 /usr/lib/libreadline.a(complete.o): In function
66 `rl_username_completion_function':
67 complete.c:(.text+0x2b8b): warning: Using 'setpwent' in statically
68 linked applications requires at runtime the shared libraries from the
69 glibc version used for linking
70 complete.c:(.text+0x2c66): warning: Using 'endpwent' in statically
71 linked applications requires at runtime the shared libraries from the
72 glibc version used for linking
73 collect2: ld returned 1 exit status
74 make[1]: *** [lvm.static] Error 1
75 make[1]: Leaving directory
76 `/var/tmp/portage/lvm2-2.01.09/work/LVM2.2.01.09/tools'
77 make: *** [tools] Error 2
78 - ---------- 8< -------------------------
79
80 Vielleicht noch interessant: Hardware ist ein VIA Epia 5000 mit
81 C3-Prozessor. CFLAGS sind -O3 -mmmx -m3dnow -fomit-frame-pointer und -pipe.
82
83 Fehlen sonst noch Daten?
84
85 Könnt Ihr mich bei Antworten bitte in den CC setzen, da ich nicht auf
86 der Liste eingetragen bin.
87
88
89 Danke schon mal für Anregungen.
90
91 Thomas
92
93
94 P.S.: Sorry für evtl. doppeltes posten
95
96 -----BEGIN PGP SIGNATURE-----
97 Version: GnuPG v1.4.1 (Darwin)
98 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
99
100 iD8DBQFEIEeNRyZ+Yvm7RzARAk05AJ9PLTMgE2uhuzPMhO1LsD1LkZTi7wCeKQGs
101 7UddQRY8xNW7zeVBLfhdi6Q=
102 =FjpE
103 -----END PGP SIGNATURE-----
104
105 --
106 gentoo-user-de@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-de] Installation Stage1 (hardened) mit lvm2 Rafael Kolless <rafael.kolless@××××××××××××××××.de>