[asterisk-bugs] [JIRA] (ASTERISK-27809) [patch] utils/pval: Add -lBlocksRuntime for compiler clang conditionally.

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Tue Apr 17 09:27:50 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Harwell updated ASTERISK-27809:
-------------------------------------

    Status: Open  (was: Triage)

> [patch] utils/pval: Add -lBlocksRuntime for compiler clang conditionally.
> -------------------------------------------------------------------------
>
>                 Key: ASTERISK-27809
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27809
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Utilities/aelparse, Utilities/conf2ael
>    Affects Versions: 13.20.0, 15.3.0
>         Environment: clang 6.0
>            Reporter: Alexander Traud
>              Labels: patch
>         Attachments: ael_utils_with_clang.patch
>
>
> On Ubuntu 18.04 LTS with clang 6.0, I go for:{code}sudo apt install build-essential pkg-config libblocksruntime-dev
> sudo apt install libedit-dev libjansson-dev libsqlite3-dev uuid-dev libxml2-dev
> CC=clang CXX=clang++ ./configure --enable-dev-mode=noisy
> make menuselect.makeopts
> ./menuselect/menuselect --disable chan_unistim --enable aelparse --enable conf2ael{code}then, make fails with:{code}pval.o: In function `gen_prios':
> utils/pval.c:3347: undefined reference to `_NSConcreteStackBlock'
> utils/pval.c:4194: undefined reference to `_Block_object_dispose'
> utils/pval.c:4194: undefined reference to `_Block_object_dispose'
> utils/pval.c:4194: undefined reference to `_Block_object_dispose'
> pval.o: In function `__copy_helper_block_':
> utils/pval.c:3357: undefined reference to `_Block_object_assign'
> pval.o: In function `__destroy_helper_block_':
> utils/pval.c:3357: undefined reference to `_Block_object_dispose'
> pval.o: In function `__copy_helper_block_':
> utils/pval.c:3358: undefined reference to `_Block_object_assign'
> pval.o: In function `__destroy_helper_block_':
> utils/pval.c:3358: undefined reference to `_Block_object_dispose'
> pval.o: In function `__copy_helper_block_':
> utils/pval.c:3359: undefined reference to `_Block_object_assign'
> pval.o: In function `__destroy_helper_block_':
> utils/pval.c:3359: undefined reference to `_Block_object_dispose'{code}



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



More information about the asterisk-bugs mailing list