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

Michel R. Vaillancourt (JIRA) noreply at issues.asterisk.org
Fri Mar 8 07:11:48 CST 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246500#comment-246500 ] 

Michel R. Vaillancourt commented on ASTERISK-28293:
---------------------------------------------------

((sorry for delay in reply, was out sick for a few days))

> 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
>            Assignee: Unassigned
>
> # 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