qtwebkit - relocation R_X86_64_PC32 against `_ZN7QStringD1Ev' can not be used when making a shared object; recompile with -fPIC -


when build qtwebkit, got problem.

/usr/bin/ld: /data/zhengjie/qt-everywhere-opensource-src-5.5.1/qtmultimedia/lib/libqt5multimedia.a(qmediametadata.o): relocation r_x86_64_pc32 against `_zn7qstringd1ev' can not used when making shared object; recompile -fpic /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make: *** [../../lib/libwebcore.so.1.0.0] error 1 

can help?


Comments