[asterisk-bugs] [JIRA] (ASTERISK-28293) New Build ast_expr2fz.o Will Not Link

Michel R. Vaillancourt (JIRA) noreply at issues.asterisk.org
Fri Feb 15 13:31:47 CST 2019


Michel R. Vaillancourt created ASTERISK-28293:
-------------------------------------------------

             Summary: New Build ast_expr2fz.o Will Not Link 
                 Key: ASTERISK-28293
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28293
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Addons/General
    Affects Versions: 13.24.1
         Environment: CentOS7
            Reporter: Michel R. Vaillancourt


# make clean
# ./configure --libdir=/usr/lib64 --with-pjproject-bundled CFLAGS=-fPIC LDFLAGS=-fPIC
...
configure: Package configured for:
configure: OS type  : linux-gnu
configure: Host CPU : x86_64
configure: build-cpu:vendor:os: x86_64 : pc : linux-gnu :
configure: host-cpu:vendor:os: x86_64 : pc : linux-gnu :

# make all 
... 
  [LD] check_expr.o ast_expr2.o ast_expr2f.o strcompat.o threadstorage.o clicompat.o -> check_expr
   [CC] ast_expr2f.c -> ast_expr2fz.o
   [CC] ast_expr2.c -> ast_expr2z.o
   [LD] ast_expr2fz.o ast_expr2z.o  -> check_expr2
/usr/bin/ld: ast_expr2fz.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ast_expr2z.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[1]: *** [check_expr2] Error 1
make: *** [utils] Error 2





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



More information about the asterisk-bugs mailing list