{"id":220,"date":"2012-06-17T12:19:56","date_gmt":"2012-06-17T03:19:56","guid":{"rendered":"http:\/\/litcoder.cafe24.com\/?p=220"},"modified":"2025-10-01T16:25:04","modified_gmt":"2025-10-01T07:25:04","slug":"mpeg4ip-1-5-0-1%ec%9d%84-ubuntu-12-04%ec%97%90%ec%84%9c-%ec%bb%b4%ed%8c%8c%ec%9d%bc-%ed%95%98%ea%b8%b0-2-%ed%8c%a8%ec%b9%98-%eb%82%b4%ec%9a%a9-%ec%a0%95%eb%a6%ac","status":"publish","type":"post","link":"https:\/\/litcoder.com\/?p=220","title":{"rendered":"mpeg4ip-1.5.0.1\uc744 ubuntu 12.04\uc5d0\uc11c \ucef4\ud30c\uc77c \ud558\uae30 2 &#8211; \ud328\uce58 \ub0b4\uc6a9 \uc815\ub9ac"},"content":{"rendered":"<blockquote><p>\ub2e4\uc74c\uc740 mpeg4ip\uac00 gcc\/g++ 4.4\uc5d0\uc11c \ube4c\ub4dc\ub418\ub3c4\ub85d \ud558\uae30 \uc704\ud574 \ube4c\ub4dc \uc624\ub958\ub97c \uc218\uc815\ud55c \ub0b4\uc5ed\uc5d0 \ub300\ud55c \uc124\uba85\uc774\ub2e4. \uc791\uc131\ub41c \ud328\uce58 \ubc0f \uc801\uc6a9\ud558\ub294 \ubc29\ubc95\uc740 &#8220;<a href=\"https:\/\/litcoder.com\/?p=187\">mpeg4ip-1.5.0.1\uc744 ubuntu 12.04\uc5d0\uc11c \ucef4\ud30c\uc77c \ud558\uae30 1<\/a>&#8220;\ub97c \ucc38\uace0.<\/p><\/blockquote>\n<p style=\"font-size: 18pt;\">bootstrap script \uc218\uc815<\/p>\n<p>bootstrap command\ub97c \uc218\ud589\ud558\uba74 configure\ub97c \uc218\ud589\ud574 \uc8fc\ub294\ub370 \ub2e4\uc74c\uacfc \uac19\uc740 \uc5d0\ub7ec\uac00 \ub098\uc628\ub2e4.<\/p>\n<pre class=\"theme:classic lang:default highlight:0 decode:true\">mpeg4ip-1.5.0.1$ .\/bootstrap --disable-player\ndir: .\nSDL appears to be installed\n.\/bootstrap: 77: .\/bootstrap: Syntax error: Bad fd number<\/pre>\n<p>faac\uae4c\uc9c0 \ubaa8\ub450 \uc124\uce58\ub418\uace0 ldconfig\ub97c \uc218\ud589\ud55c \uc0c1\ud0dc\uc774\ubbc0\ub85c faac\uac00 \uc798 \ub3d9\uc791\ud558\ub294 \uc0c1\ud0dc\ub77c\uace0 \uac00\uc815\ud558\uace0 \ub2e4\uc74c \ubd80\ubd84\uc744 comment-out \ud55c\ub2e4.<\/p>\n<pre class=\"nums:true start-line:57 lang:sh decode:true\">if test $target_system = \"Linux\"; then\n    have_faac=no\n    if which faac &gt;\/dev\/null 2&gt;\/dev\/null; then\n        have_faac=yes\n    fi  \n\n#    if test $have_faac = \"yes\"; then\uc815\n#       # we have lame and faac - see if faac is built with mp4 support\n#       faac --help &gt;&amp;faac_help\n#       sdf=`grep \"MP4 support unavailable\" faac_help`\n#       rm -f faac_help\n#       if test -z \"$sdf\"; then\n#           if which mpeg4ip-config &gt;\/dev\/null 2&gt;\/dev\/null; then\n#               echo \"Warning - faac uses libmp4v, but we've detected a version\"\n#               echo \"of mpeg4ip.  If you get errors building mp4live, please\"\n#               echo \"rebuild faac without mp4v2 support\"\n#           else\n#               echo \"Error - we have detected a version of faac that has libmp4v2 support\"\n#               echo \"and no copy of mpeg4ip-config.  This means faac was built with\"\n#               echo \"faad2 and the libraries will be incompatible\".\n#               echo \"Please reinstall faac without mp4v2 support\"\n#               exit 1\n#           fi\n#       fi\n#    fi\nfi\nset -x<\/pre>\n<p style=\"font-size: 18pt;\">Compile Errors \uc218\uc815<\/p>\n<p style=\"font-size: 13pt;\">error: ambiguates old declaration &#8216;const char* strcasestr(const char*, const char*)&#8217;<\/p>\n<p>\u00a0: \/usr\/include\/string.h\uc5d0 \uc815\uc758\ub41c \uac83\uacfc mpeg4ip\uc758 include\/mpeg4ip.h\uc5d0\uc11c \uc815\uc758\ud558\uace0 \uc788\ub294 function signature\uac00 \uc11c\ub85c \ub2e4\ub974\uac8c \ub54c\ubb38\uc774\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc774 mpeg4ip.h\uc758 \uc120\uc5b8 \ubd80\ubd84\uc744 \ub9c9\uc544\uc900\ub2e4.<\/p>\n<pre class=\"nums:true start-line:123 lang:default decode:true\">#ifdef __cplusplus\nextern \"C\" {\n#endif\n\/\/char *strcasestr(const char *haystack, const char *needle);\n#ifdef __cplusplus\n}\n#endif<\/pre>\n<p style=\"font-size: 13pt;\">error: invalid conversion from &#8216;const char*&#8217; to &#8216;char*&#8217;<\/p>\n<p>\u00a0: \uac04\ub2e8\ud558\uac8c type casting\uc73c\ub85c (char*)\ub97c \ubd99\uc5ec\uc11c \ub9c9\ub294\ub2e4. function signature\ub97c \uace0\uce58\ub294\uac8c \ub354 \ubc14\ub78c\uc9c1 \ud560\uac83 \uac19\ub2e4\uace0 \uc0dd\uac01\ud588\uc73c\ub098, \uc77c\ubd80 header file\ub4e4\uc740 c\uc640 c++\uc5d0\uc11c \ud568\uaed8 \ubd88\ub9ac\uae30 \ub54c\ubb38\uc5d0 const string\uc73c\ub85c \ubcc0\uacbd\ud558\uba74 c compiler\uc5d0\uc11c \uc624\ub958\uac00 \uc0dd\uae34\ub2e4. signature\ub294 \uadf8\ub0e5 \ub450\uace0, caller\ucabd\uc5d0\uc11c type casting\uc744 \ud574\uc8fc\ub294 \uac83\uc774 \ub354 \ud3b8\ud55c \ubc29\ubc95\uc774 \ub420 \uac83 \uac19\ub2e4.<\/p>\n<p style=\"font-size: 13pt;\">error: dereferencing type-punned pointer will break strict-aliasing rules<\/p>\n<p>\u00a0:\u00a0lib\/rtp\/Makefile\uc758 CFLAGS\uc5d0 -fno-strict-aliasing\ub97c \ucd94\uac00\ud55c\ub2e4. \uc774 Makefile\uc740\u00a0bootstrap\uc744 \uc2e4\ud589\ud574\uc57c \uc0dd\uc131\ub418\ub294 \uac83\uc784\uc5d0 \uc8fc\uc758.<\/p>\n<pre class=\"nums:true start-line:112 lang:default decode:true\">CC = gcc \nCCDEPMODE = depmode=gcc3\nCFLAGS = -g -O2 -Wall -Werror -W  -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wwrite-strings -Wformat=2 -fno-strict-aliasing\nCPP = gcc -E\nCPPFLAGS =<\/pre>\n<p style=\"font-size: 13pt;\">fatal error: istream.h: No such file or directory<\/p>\n<p>\u00a0: \uba87\uba87 \ucef4\ud30c\uc77c\ub7ec\uc5d0\uc11c\ub294 ISO compliant \ud30c\uc77c\uc778 iostream\uc744 \uc0ac\uc6a9\ud558\ub3c4\ub85d \uc7a5\ub824\ub41c\ub2e4\uace0 \ud55c\ub2e4 (<a href=\"http:\/\/www.geekpedia.com\/KB28_Fatal-error-C1083-Cannot-open-include-file-iostream.h-No-such-file-or-directory-when-trying-to-compile-your-C-or-Cplusplus-code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\ucc38\uc870<\/a>).\u00a0\u00a0entropy.hpp\uc640 bitstrm.hpp\uc758 \ud574\ub2f9 \ubd80\ubd84\uc744 iostream\uc73c\ub85c \ub300\uccb4\ud558\uace0, using \uad6c\ubb38\uc744 \ucd94\uac00\ud574 \uc900\ub2e4.<br \/>\ncommon\/video\/iso-mpeg4\/include\/entropy.hpp<\/p>\n<pre class=\"nums:true start-line:39 lang:default decode:true\">#ifndef __ENTROPY_HPP_\n#define __ENTROPY_HPP_\n#include &lt;iostream&gt;\n\/\/#include &lt;istream.h&gt;\n\/\/#include &lt;ostream.h&gt;\n\nusing std::istream;\nusing std::ostream;<\/pre>\n<p>common\/video\/iso-mpeg4\/include\/bitstrm.hpp<\/p>\n<pre class=\"nums:true start-line:48 lang:default decode:true\">#include &lt;iostream&gt;\n#include \"inbits.h\"\n\/\/#include &lt;istream.h&gt;\n\/\/#include &lt;ostream.h&gt;<\/pre>\n<p style=\"font-size: 13pt;\">error: suggest parentheses around &#8216;&amp;&amp;&#8217; within &#8216;||&#8217;<\/p>\n<p>\u00a0: \uc624\ub958\uac00 \ub09c \ub77c\uc778\uc744 \ucc3e\uc544\uac00\uc11c \uc870\uac74\ubb38\uc5d0 \uad04\ud638\ub97c \ubd99\uc5ec \uc900\ub2e4.<\/p>\n<p style=\"font-size: 13pt;\">error: suggest explicit braces to avoid ambiguous &#8216;else&#8217;<\/p>\n<p>\u00a0: \ud45c\uc2dc\ub41c \ub77c\uc778\uc744 \ucc3e\uc544\uac00\uc11c \uc911\uad04\ud638\ub97c \ubd99\uc5ec \uc900\ub2e4.<\/p>\n<p style=\"font-size: 13pt;\">error: iostream.h: No such file or directory<\/p>\n<p>\u00a0:\u00a0iostream.h\ub85c #include\ud55c \uad6c\ubb38\uc744 \ucc3e\uc9c0 \ubabb\ud558\ub294 \ubb38\uc81c.\u00a0\uc5b4\ub290 c++ \ucc45\uc5d0\uc11c \uc77d\uc740 \uae30\uc5b5\uc774 \uc788\ub294\ub370, include\ub418\ub294 \uac83\uc744 file\ubcc4\ub85c \uad6c\ubd84\ud558\ub294 \uac83\uc740 \ucef4\ud30c\uc77c\ub7ec\uc758 \uad6c\ud604\uc5d0 \ub530\ub77c \ub2ec\ub77c\uc9c8 \uc218 \uc788\ub294 \uc0ac\ud56d\uc774\uc5b4\uc11c \uc2e4\uc81c\ub85c \ud30c\uc77c\ubcc4\ub85c \uc874\uc7ac\ud560 \uc218\ub3c4 \uc788\uace0 \uadf8\ub807\uc9c0 \uc54a\uc744 \uc218\ub3c4 \uc788\ub2e4. \ub530\ub77c\uc11c .h\ub97c \uba85\uc2dc\ud558\uc9c0 \uc54a\ub294 \uac83\uc774 \ucd94\ucc9c\ub418\ub294 \ubc29\ubc95\uc774\ub77c\uace0 \ud588\ub358 \uae30\uc5b5\uc774 \ub09c\ub2e4.\u00a0\uc624\ub958\ub09c \uacf3\uc744 \ucc3e\uc544 #include &lt;iostream&gt;\uc73c\ub85c \ubcc0\uacbd\ud574 \uc900\ub2e4. fstream.h\uc5d0 \ub300\ud574\uc11c\ub3c4 \ub3d9\uc77c\ud558\uac8c #include &lt;fstream&gt;\uc73c\ub85c \ubcc0\uacbd\ud574 \uc900\ub2e4.<\/p>\n<p style=\"font-size: 13pt;\">error: &#8216;vctCandMV2&#8217; may be used uninitialized in this function<\/p>\n<p>\u00a0: Class\uac00 \ucd08\uae30\ud654 \ub418\uc9c0 \uc54a\uace0 \uc0ac\uc6a9\ub418\uc5c8\ub2e4\ub294 \uc624\ub958\uc774\ub2e4. \uc2e4\uc81c\ub85c\ub294 \uc0dd\uc131\uc790\ub97c \ubd88\ub7ec\uc918\uc57c \ud558\uc9c0\ub9cc, \uc0ac\uc6a9\ubc95\uc744 \ubaa8\ub974\ub2c8 \uadf8\ub0e5 common\/video\/iso-mpeg4\/src\/Makefile\uc758 BILLS_CPPWARNINGS\uc640 BILL_CWARNINGS\uc5d0\uc11c -Wall option\uc744 \uc0ad\uc81c \ud55c\ub2e4.<\/p>\n<pre class=\"nums:true start-line:151 lang:default highlight:0 decode:true\">\/\/BILLS_CPPWARNINGS = -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2\nBILLS_CPPWARNINGS = -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2\n\/\/BILLS_CWARNINGS = -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-char-subscripts -Wno-unknown-pragmas -Wformat=2\nBILLS_CWARNINGS = -Wmissing-prototypes -Wmissing-declarations -Wno-char-subscripts -Wno-unknown-pragmas -Wformat=2<\/pre>\n<p style=\"font-size: 13pt;\">error: ignoring return value of &#8216;size_t fread(void*, size_t, size_t, FILE*)&#8217;, declared with attribute warn_unused_result<\/p>\n<p>\u00a0: -Werror\uac00 \uc120\uc5b8\ub418\uc5b4 \uc788\uc73c\uba74, \uc774\uac83\uc744 \uc624\ub958\ub85c \ubcf4\uace0 \ud55c\ub2e4.\u00a0common\/video\/iso-mpeg4\/src\/Makefile\uc758 AM_CXXFLAGS\uc5d0\uc11c -Wall\uacfc -Werror\ub97c \uc0ad\uc81c\ud55c\ub2e4.<\/p>\n<pre class=\"nums:true start-line:260 lang:default highlight:0 decode:true\">\/\/AM_CXXFLAGS = -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Werror -D_OBSS_ -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2\nAM_CXXFLAGS = -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -D_OBSS_ -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2<\/pre>\n<p>* \ub9cc\ub4e4\uc5b4\uc9c4 \ud328\uce58\uc640 \uadf8\uac83\uc744 \uc801\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574\uc11c\ub294 &#8220;<a href=\"https:\/\/litcoder.com\/?p=187\">mpeg4ip-1.5.0.1\uc744 ubuntu 12.04\uc5d0\uc11c \ucef4\ud30c\uc77c \ud558\uae30 1<\/a>&#8220;\uc744 \ucc38\uc870.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ub2e4\uc74c\uc740 mpeg4ip\uac00 gcc\/g++ 4.4\uc5d0\uc11c \ube4c\ub4dc\ub418\ub3c4\ub85d \ud558\uae30 \uc704\ud574 \ube4c\ub4dc \uc624\ub958\ub97c \uc218\uc815\ud55c \ub0b4\uc5ed\uc5d0 \ub300\ud55c \uc124\uba85\uc774\ub2e4. \uc791\uc131\ub41c \ud328\uce58 \ubc0f \uc801\uc6a9\ud558\ub294 \ubc29\ubc95\uc740 &#8220;mpeg4ip-1.5.0.1\uc744 ubuntu 12.04\uc5d0\uc11c \ucef4\ud30c\uc77c \ud558\uae30 1&#8220;\ub97c \ucc38\uace0. bootstrap script \uc218\uc815 bootstrap command\ub97c \uc218\ud589\ud558\uba74 configure\ub97c \uc218\ud589\ud574 \uc8fc\ub294\ub370 \ub2e4\uc74c\uacfc \uac19\uc740 \uc5d0\ub7ec\uac00 \ub098\uc628\ub2e4. mpeg4ip-1.5.0.1$ .\/bootstrap &#8211;disable-player dir: . SDL appears to be installed .\/bootstrap: 77: .\/bootstrap: Syntax error: Bad fd [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[9,72,85],"class_list":["post-220","post","type-post","status-publish","format-standard","hentry","category-linux","tag-airvideo","tag-linux","tag-mpeg4ip"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=220"}],"version-history":[{"count":4,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/220\/revisions"}],"predecessor-version":[{"id":3743,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/220\/revisions\/3743"}],"wp:attachment":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}