[asterisk-bugs] [JIRA] (ASTERISK-29739) Add compiler options for FreeBSD
N A (JIRA)
noreply at issues.asterisk.org
Mon Nov 15 10:46:49 CST 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256867#comment-256867 ]
N A commented on ASTERISK-29739:
--------------------------------
I don't think these *specific* patches are related - they just happen to be in the port tree. Someone at FreeBSD probably can explain better than I.
As far as the SRTP thing, I am not quite sure which patch, if any, would address that, but it does seem to replicate on several systems. The FreeBSD full package, of course, supposedly installs without issue.
Basically, the SRTP issues I don't have a solution for yet, but there is the build log (above), and these other two I don't have a build log for at present, but there are those patches. How should we proceed?
> 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