1 |
Dear gentoo amd64 users, |
2 |
|
3 |
When trying to emerge app-admin/syslog-ng I get this error message: |
4 |
|
5 |
x86_64-pc-linux-gnu-gcc -march=k8 -pipe -fomit-frame-pointer -O2 -Wall |
6 |
-I/usr/include/libol -D_GNU_SOURCE -o syslog-ng main.o sources.o center.o |
7 |
filters.o destinations.o log.o cfgfile.o cfg-grammar.o cfg-lex.o affile.o |
8 |
afsocket.o afunix.o afinet.o afinter.o afuser.o afstreams.o afprogram.o |
9 |
afremctrl.o nscache.o utils.o syslog-names.o macros.o -lnsl |
10 |
-lresolv /usr/lib64/libol.a -lnsl -Wl,-Bstatic -lfl -lwrap -Wl,-Bdynamic |
11 |
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libol.a(format.o): |
12 |
relocation R_X86_64_32S against `a local symbol' can not be used when making |
13 |
a shared object; recompile with -fPIC |
14 |
/usr/lib64/libol.a: ne peut lire les symboles: Bad value |
15 |
collect2: ld a retourné 1 code d'état d'exécution |
16 |
make[3]: *** [syslog-ng] Erreur 1 |
17 |
make[3]: Leaving directory |
18 |
`/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src' |
19 |
make[2]: *** [all-recursive] Erreur 1 |
20 |
make[2]: Leaving directory |
21 |
`/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src' |
22 |
make[1]: *** [all] Erreur 2 |
23 |
make[1]: Leaving directory |
24 |
`/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src' |
25 |
make: *** [all-recursive] Erreur 1 |
26 |
|
27 |
!!! ERROR: app-admin/syslog-ng-1.6.8-r1 failed. |
28 |
!!! Function src_compile, Line 43, Exitcode 2 |
29 |
!!! emake failed |
30 |
!!! If you need support, post the topmost build error, NOT this status |
31 |
message. |
32 |
|
33 |
a64 ~ # |
34 |
|
35 |
|
36 |
What's wrong with -fPIC? Should I add it in my CFLAGS? |
37 |
|
38 |
Here is my /etc/make.conf: |
39 |
|
40 |
a64 ~ # cat /etc/make.conf |
41 |
# These settings were set by the catalyst build script that automatically |
42 |
built this stage |
43 |
# Please consult /etc/make.conf.example for a more detailed example |
44 |
CFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2" |
45 |
CHOST="x86_64-pc-linux-gnu" |
46 |
CXXFLAGS="${CFLAGS}" |
47 |
MAKEOPTS="-j2" |
48 |
|
49 |
FEATURES="ccache" |
50 |
|
51 |
CCACHE_SIZE="4G" |
52 |
CCACHE_DIR="/var/tmp/ccache" |
53 |
|
54 |
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ |
55 |
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" |
56 |
|
57 |
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage" |
58 |
|
59 |
LINGUAS="fr fr_FR" |
60 |
|
61 |
ALSA_CARDS="intel8x0" |
62 |
|
63 |
USE=" nptl nptlonly userlocales ssl \ |
64 |
-gnome qt kde gtkhtml \ |
65 |
dvd cdr musicbrainz \ |
66 |
-cups xprint \ |
67 |
java browserplugin nsplugin \ |
68 |
gif tiff wmf mozsvg aalib gphoto2 svg jpeg2k \ |
69 |
truetype font-server unicode \ |
70 |
3dnow mmx sse sse2 \ |
71 |
glut opengl kdgraphics \ |
72 |
ogg vorbis oggvorbis flac alsa arts oss \ |
73 |
artswrappersuid kdeenablefinal \ |
74 |
dmx dlloader toolbar \ |
75 |
bash-completion symlink hardened \ |
76 |
glitz md5sum caps curl gnutls " |
77 |
|
78 |
PORTDIR_OVERLAY="/usr/local/portage" |
79 |
|
80 |
a64 ~ # |
81 |
|
82 |
The profile I use is 2005.1. |
83 |
|
84 |
Thank you in advance |
85 |
|
86 |
Etienne |
87 |
|
88 |
|
89 |
-- |
90 |
gentoo-amd64@g.o mailing list |