[asterisk-bugs] [JIRA] (ASTERISK-27514) Link error of astdb2bdb with Kernel 4.14.8

Kilburn (JIRA) noreply at issues.asterisk.org
Wed Dec 20 19:48:07 CST 2017


Kilburn created ASTERISK-27514:
----------------------------------

             Summary: Link error of astdb2bdb with Kernel 4.14.8 
                 Key: ASTERISK-27514
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27514
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/AstDB
    Affects Versions: 11.25.3
         Environment: Gentoo X64 kernel 4.14.8 GCC 6.4.3
            Reporter: Kilburn
            Severity: Blocker


# make && make install
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory '/usr/src/asterisk/menuselect'
make[1]: 'makeopts' is up to date.
make[1]: Leaving directory '/usr/src/asterisk/menuselect'
Generating embedded module rules ...
   [CC] astdb2bdb.c -> astdb2bdb.o
   [LD] astdb2bdb.o db1-ast/libdb1.a -> astdb2bdb
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: db1-ast/libdb1.a(db.o): relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC
db1-ast/libdb1.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [/usr/src/asterisk/Makefile.rules:196: astdb2bdb] Error 1
make: *** [Makefile:400: utils] Error 2




--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list