Thread: problems compiling using sacio.a

Started: 2021-01-22 12:22:51
Last activity: 2021-01-22 15:08:03
Topics: SAC Help
Carmen Pro
2021-01-22 12:22:51
Hi,

I just updated to the 18.04 Ubuntu version, in a 64 bits machine. I had to compile again some programs and, in particular, I have problems to compile using sacio.a. It shows

/usr/bin/ld: /usr/local/sac/lib/sacio.a(newhdr.o): relocation R_X86_64_32 against indefinido símbolo `kmhdr' can not be used when making a PIE object; recompile con -fPIC
/usr/bin/ld: /usr/local/sac/lib/sacio.a(setfhv.o): relocation R_X86_64_32 against indefinido símbolo `kmlhf' can not be used when making a PIE object; recompile con -fPIC
/usr/bin/ld: /usr/local/sac/lib/sacio.a(setnhv.o): relocation R_X86_64_32 against indefinido símbolo `kmlhf' can not be used when making a PIE object; recompile con -fPIC
/usr/bin/ld: /usr/local/sac/lib/sacio.a(wsac0.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile con -fPIC
/usr/bin/ld: /usr/local/sac/lib/sacio.a(f2c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile con -fPIC


and other similar comments

Could you help me?

Thank you very much in advance
  • George Helffrich
    2021-01-22 15:08:03
    Dear Carmen Pro -

    Use the link at the bottom of this message and see:

    libsac.a and sacio.a for Ubuntu 18.04.4 LTS
    2020-12-03 03:51:01 - 2020-12-03 18:41:31

    On 22 Jan 2021, at 12:23, Carmen Pro (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu> wrote:

    Hi,

    I just updated to the 18.04 Ubuntu version, in a 64 bits machine. I had to compile again some programs and, in particular, I have problems to compile using sacio.a. It shows

    /usr/bin/ld: /usr/local/sac/lib/sacio.a(newhdr.o): relocation R_X86_64_32 against indefinido símbolo `kmhdr' can not be used when making a PIE object; recompile con -fPIC
    /usr/bin/ld: /usr/local/sac/lib/sacio.a(setfhv.o): relocation R_X86_64_32 against indefinido símbolo `kmlhf' can not be used when making a PIE object; recompile con -fPIC
    /usr/bin/ld: /usr/local/sac/lib/sacio.a(setnhv.o): relocation R_X86_64_32 against indefinido símbolo `kmlhf' can not be used when making a PIE object; recompile con -fPIC
    /usr/bin/ld: /usr/local/sac/lib/sacio.a(wsac0.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile con -fPIC
    /usr/bin/ld: /usr/local/sac/lib/sacio.a(f2c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile con -fPIC


    and other similar comments

    Could you help me?

    Thank you very much in advance

    ----------------------
    SAC Help
    Topic home: http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu

    Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
    Update subscription preferences at http://ds.iris.edu/account/profile/



    George Helffrich
    george<at>elsi.jp


13:54:44 v.b3198453