When i try to emerge openh323... the process stops with a weird error. i then ran a manual compile, and got an -fpic error. See below for details: ...... 3-1.13.2-r1/work/openh323/lib/obj_linux_x86_64_r/p64encoder.o /var/tmp/portage/openh323-1.13.2-r1/work/openh323/lib/obj_linux_x86_64_r/transmitter.o /var/tmp/portage/openh323-1.13.2-r1/work/openh323/lib/obj_linux_x86_64_r/vid_coder.o /var/tmp/portage/openh323-1.13.2-r1/work/openh323/lib/obj_linux_x86_64_r/ffh263codec.o /var/tmp/portage/openh323-1.13.2-r1/work/openh323/lib/obj_linux_x86_64_r/h235.o -lpt_linux_x86_64_r -lavcodec -lpthread -lldap -lldap_r -llber -lssl -lcrypto -lexpat -lSDL -lresolv -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/openh323-1.13.2-r1/work/openh323/lib/obj_linux_x86_64_r/code.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /var/tmp/portage/openh323-1.13.2-r1/work/openh323/lib/obj_linux_x86_64_r/code.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [/var/tmp/portage/openh323-1.13.2-r1/work/openh323/lib/libh323_linux_x86_64_r.so.1.13.2] Error 1 make[2]: Leaving directory `/var/tmp/portage/openh323-1.13.2-r1/work/openh323/src' make[1]: *** [opt] Error 2 make[1]: Leaving directory `/var/tmp/portage/openh323-1.13.2-r1/work/openh323' make: *** [optshared] Error 2 What i saw as well during the compile process, is that -Os was using at some places.... hope this helps? Reproducible: Always Steps to Reproduce: 1. merge openh323 on a amd64 platform Actual Results: got some errors while compiling
please provide the output of 'emerge info' , would be a great help. thank you.
Here's my emerge info output: ----------------------------- Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r3 x86_64) ================================================================= System uname: 2.6.10-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r2 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-mtune=k8 -march=athlon64 -O3 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mtune=k8 -march=athlon64 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache digest distlocks sandbox userpriv" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://mirror.switch.ch/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa arts artswrappersuid berkdb bitmap-fonts cdr crypt cups dvd esd f77 fam flac fortran gif gphoto2 gpm gtk imagemagick imlib ipv6 jp2 jpeg kde ldap lzw lzw-tiff motif multilib mysql ncurses network nls nptl nvidia oggvorbis opengl oss pam pcmcia pdflib perl png python qt readline samba sdl ssl tcpd tiff truetype truetype-fontstype1-fonts usb userlocales xml xml2 xmms xpm xrandr xv zlib"
openh323-1.13.2-r2 and openh323-1.15.3 compile fine for me amd64 (2005.0). Does this error still occur with 1.13.2-r2?
phi portage # genlop openh323 * net-libs/openh323 Tue Mar 23 20:45:47 2004 >>> net-libs/openh323-1.13.2-r1 Thu Mar 25 02:45:04 2004 >>> net-libs/openh323-1.13.2-r1 Sat Aug 14 00:01:28 2004 >>> net-libs/openh323-1.13.2-r1 Sat Aug 14 00:13:11 2004 >>> net-libs/openh323-1.13.5 WORKSFORME