[asterisk-bugs] [JIRA] (ASTERISK-29739) Add compiler options for FreeBSD
Sean Bright (JIRA)
noreply at issues.asterisk.org
Mon Nov 15 10:39:49 CST 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256866#comment-256866 ]
Sean Bright commented on ASTERISK-29739:
----------------------------------------
I don't see how the patches you have on Gerrit could resolve this issue. Can you please post the errors you are receiving that are fixed by the patches you have uploaded to Gerrit?
> Add compiler options for FreeBSD
> --------------------------------
>
> Key: ASTERISK-29739
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29739
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: General
> Affects Versions: 18.8.0
> Reporter: N A
> Assignee: N A
>
> FreePBX maintains a set of ports that can be used to get Asterisk to correctly compile on FreeBSD.
> Many of these are trivially incorporatable into Asterisk using a compiler option, which prevents these from lagging behind or falling out of date or otherwise becoming obsolete. The current trajectory is try to get these incorporated natively.
> <links to code removed>
> One example is libcrypt which causes linking to fail at the end. Asterisk fails to link without specifying ASTLDFLAGS=-lcrypt main.
> Another example (currently hindering my installs), is SRTP issues cause pjproject to fail to compile:
> king for embedded jansson (may have to download)... configuring
> checking for bundled jansson... yes
> checking for embedded pjproject (may have to download)... configuring
> [pjproject] Rebuilding
> [pjproject] Configuring with --prefix=/opt/pjproject --disable-speex-codec --disable-speex-aec --disable-bcg729 --disable-gsm-codec --disable-ilbc-codec --disable-l16-codec --disable-g722-codec --disable-g7221-codec --disable-opencore-amr --disable-silk --disable-opus --disable-video --disable-v4l2 --disable-sound --disable-ext-sound --disable-sdl --disable-libyuv --disable-ffmpeg --disable-openh264 --disable-ipp --disable-libwebrtc --without-external-pa --with-external-srtp --disable-resample --disable-g711-codec
> aconfigure: error: Unable to use SRTP. If SRTP development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths
> gmake: *** [Makefile:129: source/build.mak] Error 1
> failed
> configure: Unable to configure third-party/pjproject
> configure: error: Re-run the ./configure command with 'NOISY_BUILD=yes' appended to see error details.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list