<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/2030/1/7/_/styles/combined.css?spaceKey=TOP&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/TOP/Building+-+MacOS+X?focusedCommentId=8814595#comment-8814595">Building - MacOS X</a></h2>
<h4>Page
<b>comment added</b> by <a href="https://wiki.asterisk.org/wiki/display/~dlee">David M. Lee</a>
</h4>
<br/>
<div class="notificationGreySide">
<p>I just pushed a fix. Pull the latest and try again.</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
./gitall-asterisk-scf.sh
rm -rf build
./cmake/init-cmake.sh
make -C build
]]></script>
</div></div>
</div>
<div style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
<strong>In reply to a comment by <a href="/wiki/display/~ssokol"
class="url fn confluence-userlink" data-username="ssokol"
>Steven Sokol</a>:</strong><br/>
<p>Here's the last few lines from make with VERBOSE=1:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
[ 63%] Building pjproject-pjmedia
cd /Users/ssokol/gitall/pjproject && make TARGET_NAME=asteriskscf DIRS=pjmedia
for dir in pjmedia; do \
if make -C $dir/build all; then \
true; \
else \
exit 1; \
fi; \
done
make -f /Users/ssokol/gitall/pjproject/build/rules.mak APP=PJMEDIA app=pjmedia ../lib/libpjmedia-asteriskscf.a
make[5]: `../lib/libpjmedia-asteriskscf.a' is up to date.
make -f /Users/ssokol/gitall/pjproject/build/rules.mak APP=PJMEDIA_AUDIODEV app=pjmedia-audiodev ../lib/libpjmedia-audiodev-asteriskscf.a
make[5]: `../lib/libpjmedia-audiodev-asteriskscf.a' is up to date.
make -f /Users/ssokol/gitall/pjproject/build/rules.mak APP=PJMEDIA_CODEC app=pjmedia-codec ../lib/libpjmedia-codec-asteriskscf.a
make[5]: `../lib/libpjmedia-codec-asteriskscf.a' is up to date.
make -f /Users/ssokol/gitall/pjproject/build/rules.mak APP=PJSDP app=pjsdp ../lib/libpjsdp-asteriskscf.a
make[5]: `../lib/libpjsdp-asteriskscf.a' is up to date.
make -f /Users/ssokol/gitall/pjproject/build/rules.mak APP=PJMEDIA_TEST app=pjmedia-test ../bin/pjmedia-test-asteriskscf
make[5]: `../bin/pjmedia-test-asteriskscf' is up to date.
"/Applications/CMake 2.8-2.app/Contents/bin/cmake" -E cmake_progress_report /Users/ssokol/gitall/build/CMakeFiles 83 84
[ 65%] Built target pjproject-pjmedia
make -f slice/Media/RTP/CMakeFiles/MediaRTPIf_CXX.dir/build.make slice/Media/RTP/CMakeFiles/MediaRTPIf_CXX.dir/depend
cd /Users/ssokol/gitall/build && "/Applications/CMake 2.8-2.app/Contents/bin/cmake" -E cmake_depends "Unix Makefiles" /Users/ssokol/gitall /Users/ssokol/gitall/slice/Media/RTP /Users/ssokol/gitall/build /Users/ssokol/gitall/build/slice/Media/RTP /Users/ssokol/gitall/build/slice/Media/RTP/CMakeFiles/MediaRTPIf_CXX.dir/DependInfo.cmake --color=
make -f slice/Media/RTP/CMakeFiles/MediaRTPIf_CXX.dir/build.make slice/Media/RTP/CMakeFiles/MediaRTPIf_CXX.dir/build
make[2]: Nothing to be done for `slice/Media/RTP/CMakeFiles/MediaRTPIf_CXX.dir/build'.
"/Applications/CMake 2.8-2.app/Contents/bin/cmake" -E cmake_progress_report /Users/ssokol/gitall/build/CMakeFiles 14 15
[ 68%] Built target MediaRTPIf_CXX
make -f media_rtp_pjmedia/src/CMakeFiles/media_rtp_pjmedia.dir/build.make media_rtp_pjmedia/src/CMakeFiles/media_rtp_pjmedia.dir/depend
cd /Users/ssokol/gitall/build && "/Applications/CMake 2.8-2.app/Contents/bin/cmake" -E cmake_depends "Unix Makefiles" /Users/ssokol/gitall /Users/ssokol/gitall/media_rtp_pjmedia/src /Users/ssokol/gitall/build /Users/ssokol/gitall/build/media_rtp_pjmedia/src /Users/ssokol/gitall/build/media_rtp_pjmedia/src/CMakeFiles/media_rtp_pjmedia.dir/DependInfo.cmake --color=
make -f media_rtp_pjmedia/src/CMakeFiles/media_rtp_pjmedia.dir/build.make media_rtp_pjmedia/src/CMakeFiles/media_rtp_pjmedia.dir/build
make[2]: Nothing to be done for `media_rtp_pjmedia/src/CMakeFiles/media_rtp_pjmedia.dir/build'.
"/Applications/CMake 2.8-2.app/Contents/bin/cmake" -E cmake_progress_report /Users/ssokol/gitall/build/CMakeFiles 73 74 75
[ 71%] Built target media_rtp_pjmedia
make -f media_rtp_pjmedia/test/CMakeFiles/media_rtp_pjmedia_test.dir/build.make media_rtp_pjmedia/test/CMakeFiles/media_rtp_pjmedia_test.dir/depend
cd /Users/ssokol/gitall/build && "/Applications/CMake 2.8-2.app/Contents/bin/cmake" -E cmake_depends "Unix Makefiles" /Users/ssokol/gitall /Users/ssokol/gitall/media_rtp_pjmedia/test /Users/ssokol/gitall/build /Users/ssokol/gitall/build/media_rtp_pjmedia/test /Users/ssokol/gitall/build/media_rtp_pjmedia/test/CMakeFiles/media_rtp_pjmedia_test.dir/DependInfo.cmake --color=
make -f media_rtp_pjmedia/test/CMakeFiles/media_rtp_pjmedia_test.dir/build.make media_rtp_pjmedia/test/CMakeFiles/media_rtp_pjmedia_test.dir/build
Linking CXX shared library libmedia_rtp_pjmedia_test.dylib
cd /Users/ssokol/gitall/build/media_rtp_pjmedia/test && "/Applications/CMake 2.8-2.app/Contents/bin/cmake" -E cmake_link_script CMakeFiles/media_rtp_pjmedia_test.dir/link.txt --verbose=1
/usr/bin/c++ -g -dynamiclib -headerpad_max_install_names -o libmedia_rtp_pjmedia_test.dylib -install_name /Users/ssokol/gitall/build/media_rtp_pjmedia/test/libmedia_rtp_pjmedia_test.dylib CMakeFiles/media_rtp_pjmedia_test.dir/TestRTPpjmedia.cpp.o -L/opt/Ice-3.4.1/lib -L/Users/ssokol/gitall/pjproject/pjlib/lib -L/Users/ssokol/gitall/pjproject/pjlib-util/lib -L/Users/ssokol/gitall/pjproject/pjnath/lib -L/Users/ssokol/gitall/pjproject/third_party/lib -L/Users/ssokol/gitall/pjproject/pjmedia/lib -L/Users/ssokol/gitall/pjproject/pjsip/lib -L/usr/local/lib ../../slice/Media/libMediaIf_CXX.dylib ../../slice/Media/RTP/libMediaRTPIf_CXX.dylib -lIceBox -lIce /usr/local/lib/libboost_unit_test_framework.dylib -lIceUtil -lpthread ../../slice/Media/libMediaIf_CXX.dylib ../../slice/Core/Discovery/libServiceLocatorIf_CXX.dylib /opt/Ice-3.4.1/lib/libIceUtil.dylib -lIce
Undefined symbols:
"boost::this_thread::sleep(boost::posix_time::ptime const&)", referenced from:
void boost::this_thread::sleep<boost::posix_time::seconds>(boost::posix_time::seconds const&)in TestRTPpjmedia.cpp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [media_rtp_pjmedia/test/libmedia_rtp_pjmedia_test.dylib] Error 1
make[1]: *** [media_rtp_pjmedia/test/CMakeFiles/media_rtp_pjmedia_test.dir/all] Error 2
make: *** [all] Error 2
MBPi5:build ssokol$
]]></script>
</div></div>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;">
<a href="https://wiki.asterisk.org/wiki/users/viewnotifications.action" class="grey">Change Notification Preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/TOP/Building+-+MacOS+X?focusedCommentId=8814595#comment-8814595">View Online</a>
|
<a id="reply-8814595" href="https://wiki.asterisk.org/wiki/display/TOP/Building+-+MacOS+X?replyToComment=8814595#comment-8814595">Reply To This</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>