Try re-emerging libol then syslog-ng. Rebuilding libol might solve the missing symbol problem.

# emerge libol syslog-ng

BobS

Etienne Imguimbert wrote:
Dear gentoo amd64 users,

When trying to emerge app-admin/syslog-ng I get this error message:

x86_64-pc-linux-gnu-gcc -march=k8 -pipe -fomit-frame-pointer -O2 -Wall -I/usr/include/libol -D_GNU_SOURCE -o syslog-ng main.o sources.o center.o filters.o destinations.o log.o cfgfile.o cfg-grammar.o cfg-lex.o affile.o afsocket.o afunix.o afinet.o afinter.o afuser.o afstreams.o afprogram.o afremctrl.o nscache.o utils.o syslog-names.o macros.o -lnsl -lresolv /usr/lib64/libol.a -lnsl -Wl,-Bstatic -lfl -lwrap -Wl,-Bdynamic

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libol.a(format.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libol.a: ne peut lire les symboles: Bad value

collect2: ld a retourné 1 code d'état d'exécution
make[3]: *** [syslog-ng] Erreur 1
make[3]: Leaving directory `/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src'
make[1]: *** [all] Erreur 2
make[1]: Leaving directory `/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src'
make: *** [all-recursive] Erreur 1

!!! ERROR: app-admin/syslog-ng-1.6.8-r1 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

a64 ~ #

What's wrong with -fPIC? Should I add it in my CFLAGS?

Here is my /etc/make.conf:

a64 ~ # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

FEATURES="ccache"

CCACHE_SIZE="4G"
CCACHE_DIR="/var/tmp/ccache"

GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/";

SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"

LINGUAS="fr fr_FR"

ALSA_CARDS="intel8x0"

USE=" nptl nptlonly userlocales ssl \
      -gnome qt kde gtkhtml \
      dvd cdr musicbrainz \
      -cups xprint \
      java browserplugin nsplugin \
      gif tiff wmf mozsvg aalib gphoto2 svg jpeg2k \
      truetype font-server unicode \
      3dnow mmx sse sse2 \
      glut opengl kdgraphics \
      ogg vorbis oggvorbis flac alsa arts oss \
      artswrappersuid kdeenablefinal \
      dmx dlloader toolbar \
      bash-completion symlink hardened \
      glitz md5sum caps curl gnutls "

PORTDIR_OVERLAY="/usr/local/portage"

a64 ~ #
The profile I use is 2005.1.

Thank you in advance

Etienne



--
gentoo-amd64@gentoo.org mailing list

Reply via email to