Menu

Compile Problem under Ubuntu 8.04 amd64

user
2009-04-04
2013-05-09
  • Alejandro Romero Herrera

    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

     
    • JIA Pei

      JIA Pei - 2009-04-04

      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

       
    • Alejandro Romero Herrera

      collect2: ld devolvió el estado de salida 1
      wold be something like
      collect2: ld returned output state 1

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.