Hi, i can't build foss always get this message, i have tried what i have found on the net adding -fPIC but keeps telling me the same
g++ -o dist/jmf/libfobs4jmf.so -pthread -O3 -shared jmf/decoder.os jmf/stand_alone_codec.os -Lexternal/lib -Ldist/lib -L/usr/lib/jvm/java-6-sun-1.6.0.07/lib -lfobscore -lavformat -lavcodec -lz -lbz2 -lm -ldl -lavutil
/usr/bin/ld: dist/lib/libfobscore.a(Decoder.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
dist/lib/libfobscore.a: could not read symbols: Bad value
collect2: ld devolvió el estado de salida 1
scons: *** [dist/jmf/libfobs4jmf.so] Error 1
scons: building terminated because of errors.
Running ubuntu 8.04 amd64
any help appreciated
Thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, i can't build foss always get this message, i have tried what i have found on the net adding -fPIC but keeps telling me the same
g++ -o dist/jmf/libfobs4jmf.so -pthread -O3 -shared jmf/decoder.os jmf/stand_alone_codec.os -Lexternal/lib -Ldist/lib -L/usr/lib/jvm/java-6-sun-1.6.0.07/lib -lfobscore -lavformat -lavcodec -lz -lbz2 -lm -ldl -lavutil
/usr/bin/ld: dist/lib/libfobscore.a(Decoder.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
dist/lib/libfobscore.a: could not read symbols: Bad value
collect2: ld devolvió el estado de salida 1
scons: *** [dist/jmf/libfobs4jmf.so] Error 1
scons: building terminated because of errors.
Running ubuntu 8.04 amd64
any help appreciated
Thanks in advance
dist/lib/libfobscore.a: could not read symbols: Bad value
collect2: ld devolvió el estado de salida 1
What are those non-English words?
grep them, and make sure comment or change to other words.
Rgds
collect2: ld devolvió el estado de salida 1
wold be something like
collect2: ld returned output state 1