Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Building rexx/curses in Red Hat Linux

  • John Hupcey
    John Hupcey

    We have attempted to build rexx/curses using Red Hat Linux 4 & 5 at various levels. All give the same error during the link step: 
    /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/crt1.o:
    relocation R_X86_64_32S against `__libc_csu_fini' can not be used when making
    a shared object; recompile with -fPIC

    could not read symbols: Bad value

    We have tried all sorts of changes to the Makefile as well as different gcc versions from 2.95.3 to 4.1.2. 

    If anyone else has successfully built this for any version of Linux, please let me know.

  • jkrim

    I was also not able compile a 64 bit version of Rexx/Curses, and got the same messages reported.  What I was able to do was compile a 32 bit version of it that runs on a 64 bit machine.  The 32 bit version was compiled under RHEL3 on an i386 machine , but it works on  RHEL4 x86_64 machine as well.  Of course, in order for me to do this, I also compiled PDCurses and Regina on the same 32 bit machine.