ZABBIX BUGS AND ISSUES
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-8223

dummy module does not compile on 64-bit Linux

    Details

      Description

      $ cd src/modules/dummy/
      $ make
      gcc -shared -o dummy.so dummy.c -I../../../include
      /usr/bin/ld: /tmp/ccTD3e24.o: relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC
      /tmp/ccTD3e24.o: error adding symbols: Bad value
      collect2: error: ld returned 1 exit status
      make: *** [dummy] Error 1

        Activity

        Hide
        Aleksandrs Saveljevs added a comment -

        Added -fPIC in development branch svn://svn.zabbix.com/branches/dev/ZBX-8223 .

        Show
        Aleksandrs Saveljevs added a comment - Added -fPIC in development branch svn://svn.zabbix.com/branches/dev/ZBX-8223 .
        Hide
        Aleksandrs Saveljevs added a comment -

        Fixed in pre-2.2.4 r45625 and pre-2.3.0 (trunk) r45626.

        Show
        Aleksandrs Saveljevs added a comment - Fixed in pre-2.2.4 r45625 and pre-2.3.0 (trunk) r45626.

          People

          • Assignee:
            Unassigned
            Reporter:
            Aleksandrs Saveljevs
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: