あたご工房
天文と電子工作とコンピュータなどについて日々の出来事を書いています。
| ホーム |
MythTV仕切り直し その8(cvlc編-2)
cvlcをビルドし直します。
パッチはup0822.zipを使います。
基本的にパッチのreadmeの通りにやっていきます。
まずはソースを取得します。
vlcworkというディレクトリで作業することとします。
ありゃ。
古いライブラリAPIを使っているせいでエラーになったみたい。
該当する行は初期化処理だったので、単にコメントアウトしてみました。
また、インストール済みのvlc関連ファイルを一旦削除しておきました。
うーん、今度はライブラリパスが通っていないのが原因のようです。
コンパイルしたライブラリを使って、vlc自身をビルドするのでそうなるようです。
ネットで調べてみます。
↓押していただけると嬉しいです
vlcworkというディレクトリで作業することとします。
$ mkdir vlcwork $ cd vlcwork ソースコードの取得 $ git clone git://git.videolan.org/vlc.git Cloning into 'vlc'... remote: Counting objects: 391997, done. remote: Compressing objects: 100% (80166/80166), done. remote: Total 391997 (delta 315871), reused 384717 (delta 309986) Receiving objects: 100% (391997/391997), 203.00 MiB | 1.04 MiB/s, done. Resolving deltas: 100% (315871/315871), done. リビジョンを合わせる $ cd vlc $ git checkout 16cb266 Note: checking out '16cb266'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 16cb266... Experimental lua gettext support. パッチを当てる $ patch -p1 < ../vlc_patch_0.03/vlc120.diff patching file modules/codec/faad.c Hunk #2 succeeded at 153 (offset -1 lines). Hunk #3 succeeded at 227 (offset -3 lines). Hunk #4 succeeded at 280 (offset -3 lines). Hunk #5 succeeded at 344 (offset -3 lines). Hunk #6 succeeded at 399 (offset -3 lines). patching file modules/packetizer/mpeg4audio.c Hunk #1 succeeded at 138 (offset -1 lines). Hunk #2 succeeded at 213 with fuzz 2 (offset 8 lines). Hunk #3 succeeded at 336 (offset 8 lines). Hunk #4 succeeded at 362 (offset 8 lines). Hunk #5 succeeded at 415 (offset 8 lines). Hunk #6 succeeded at 430 (offset 8 lines). Hunk #7 succeeded at 1003 (offset 8 lines). Hunk #8 succeeded at 1081 (offset 8 lines). Hunk #9 succeeded at 1135 (offset 8 lines). Hunk #10 succeeded at 1147 (offset 8 lines). Hunk #11 succeeded at 1170 (offset 8 lines). Hunk #12 succeeded at 1223 (offset 8 lines). Hunk #13 succeeded at 1251 (offset 8 lines). patching file src/input/decoder.c Hunk #1 succeeded at 1726 (offset -69 lines). Hunk #2 succeeded at 1855 (offset -70 lines). $ ./bootstrap + dirname ./bootstrap + cd . + ACLOCAL_ARGS=-I m4 + test -d extras/contrib/build/bin + uname -s + test .Linux = .Darwin + pkg-config --version + PKGCONFIG=yes + export AUTOPOINT + test + AUTOPOINT=autopoint + autopoint --dry-run --force + set +x generating modules/**/Makefile.am .......................................................................... (中略) autoreconf: Leaving directory `.' + rm -f po/Makevars.template ABOUT-NLS + echo + mv -f INSTALL.git INSTALL + rm -f vlc-config.in vlc-config + rm -f src/misc/modules_builtin.h + rm -f stamp-builtin stamp-h* mozilla/stamp-pic + set +x Successfully bootstrapped $ ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p (中略) libvlc configuration -------------------- version : 1.1.0-git system : linux architecture : i686 mmx sse sse2 build flavour : devel vlc aliases : cvlc rvlc svlc qvlc plugins/bindings : You can tune the compiler flags in vlc-config. To build vlc and its plugins, type `./compile' or `make'. $ make (中略) Making all in bin CC vlc.o vlc.c: 関数 ‘main’ 内: vlc.c:173:9: 警告: ‘libvlc_playlist_play’ は廃止されました (宣言位置 ../include/vlc/deprecated.h:68) [-Wdeprecated-declarations] CCLD vlc /usr/bin/ld: vlc.o: undefined reference to symbol 'FromLocale' /usr/bin/ld: note: 'FromLocale' is defined in DSO /home/atago/vlcwork/vlc/src/.libs/libvlccore.so.4 so try adding it to the linker command line /home/atago/vlcwork/vlc/src/.libs/libvlccore.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [vlc] エラー 1 make[1]: *** [all-recursive] エラー 1 make: *** [all] エラー 2 |
ありゃ。
古いライブラリAPIを使っているせいでエラーになったみたい。
該当する行は初期化処理だったので、単にコメントアウトしてみました。
また、インストール済みのvlc関連ファイルを一旦削除しておきました。
Making all in bin CC vlc.o CCLD vlc /usr/bin/ld: vlc.o: undefined reference to symbol 'FromLocale' /usr/bin/ld: note: 'FromLocale' is defined in DSO /home/eiji/MythTV関連/vlc/vlcwork/vlc/src/.libs/libvlccore.so.4 so try adding it to the linker command line /home/atago/vlcwork/vlc/src/.libs/libvlccore.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [vlc] エラー 1 make[1]: *** [all-recursive] エラー 1 make: *** [all] エラー 2 |
うーん、今度はライブラリパスが通っていないのが原因のようです。
コンパイルしたライブラリを使って、vlc自身をビルドするのでそうなるようです。
ネットで調べてみます。
↓押していただけると嬉しいです
- 関連記事
-
- iPhone5充電ケーブル破壊
- MythTV仕切り直し その9(cvlc編-3)
- MythTV仕切り直し その8(cvlc編-2)
- MythTV仕切り直し その7(cvlc編)
- MPR-A1レビュー
tag : MythTV,
<<MythTV仕切り直し その9(cvlc編-3) | ホーム | MythTV仕切り直し その7(cvlc編)>>
コメント
コメントの投稿
トラックバック
| ホーム |