When i try to emerge wvstreams so i can then emerge wvdial i got the following error: echo wvcrypto.o wvsslstream.o wvx509.o >crypto.libs rm -f libwvutils.a ar q libwvutils.a utils/utils.libs ar: creating libwvutils.a ranlib libwvutils.a g++ -Wl,-soname,libwvutils.so.3.7 -shared -o libwvutils.so utils/utils.libs -lz -lcrypto /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: utils/strcrypt.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC utils/strcrypt.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [libwvutils.so] Error 1 make: *** [src] Error 2 !!! ERROR: net-libs/wvstreams-3.70-r2 failed. !!! Function src_compile, Line 30, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.emerge wvstreams 2. 3. Actual Results: output in details Expected Results: normal emerging
in net-libs/wvstreams/wvstreams-3.70-r2.ebuild change [ "${ARCH}" = "alpha" -o "${ARCH}" = "hppa" ] && append-flags -fPIC to [ "${ARCH}" = "alpha" -o "${ARCH}" = "hppa" -o "${ARCH}" = "amd64" ] && append-flags -fPIC does it work then?
I did the change to the ebuild file, but unfortunatly i am getting the same error again. see below: implicitly a typename ../streams/wvstream.h:21: warning: implicit typename is deprecated, please see the documentation for details rm -f crypto.libs echo wvcrypto.o wvsslstream.o wvx509.o >crypto.libs rm -f libwvutils.a ar q libwvutils.a utils/utils.libs ar: creating libwvutils.a ranlib libwvutils.a g++ -Wl,-soname,libwvutils.so.3.7 -shared -o libwvutils.so utils/utils.libs -lz -lcrypto /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: utils/strcrypt.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC utils/strcrypt.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [libwvutils.so] Error 1 make: *** [src] Error 2 !!! ERROR: net-libs/wvstreams-3.70-r2 failed. !!! Function src_compile, Line 30, Exitcode 2 !!! (no error message)
Try to emerge wvdial with the following line appended to /etc/portage/package.keywords: net-libs/wvstreams ~YOUR_ARCH The unstable version of wvstreams compiles without any compiler warning. I cannot say the same about stable version. Maybe 3.75 should be marked as stable since it builds so cleanly. Please post a reply with the results.
Thanks alot. Problem were solved after applying comment # 3. Your cooperation is mostly appreciated!