VLC + liveMedia 編譯不起來...

看板FreeBSD作者時間21年前 (2004/05/23 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
不知道有沒有哪位先進有在 4.9-RELEASE 下, 成功編譯 VLC + liveMedia 成功的... 小弟在 make 時, 到最後都會出現 undefined reference 的 error, VLC 本身需要 gcc 3.2 來做編譯, liveMedia 沒有, 不過小弟試過用系統內建的 compiler 還有 gcc 3.2 來 compile liveMedia, 結果都是一樣... (不過用 gcc 3.2 compile liveMedia 的話, 在 compile VLC 時出現的錯誤訊息會比較多.........) 出現的這些 undefine reference error, 都是呼叫 liveMedia 的 function, 可是 liveMedia 預設安裝到 /usr/local/live 下, 我看 compiler 的 flag 也有 把他 link 進來, 可是就是不行..:(... 下面是錯誤訊息.. root@my [/usr/ports/multimedia/vlc/work/vlc-0.7.2] g++32 -Wsign-compare -Wsign-compare -Wall -O -pipe -march=pentiumpro -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include -finline-limit-30000 -pipe -L/usr/local/lib -L/usr/local/lib -lgnugetopt -o vlc src/vlc-vlc.o lib/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a ./modules/demux/liblivedotcom.a ./modules/codec/ffmpeg/libffmpeg.a ./modules/stream_out/libstream_out_transcode.a -L/usr/local/lib -pthread -lm /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lgnugetopt -I/usr/local/live/UsageEnvironment -IUsageEnvironment -I/usr/local/live/groupsock -Igroupsock -I/usr/local/live/BasicUsageEnvironment -IBasicUsageEnvironment -I/usr/local/live/liveMedia -IliveMedia -lavcodec -lm -lm -L/usr/lib -lcipher /modules/demux/liblivedotcom.a(liblivedotcom_a-livedotcom.o): In function `AccessOpen(vlc_object_t*)': liblivedotcom_a-livedotcom.o(.text+0x3c9): undefined reference to `BasicTaskScheduler::createNew()' liblivedotcom_a-livedotcom.o(.text+0x3e5): undefined reference to `BasicUsageEnvironment::createNew(TaskScheduler&)' liblivedotcom_a-livedotcom.o(.text+0x41e): undefined reference to `RTSPClient::createNew(UsageEnvironment&, int, char const*)' liblivedotcom_a-livedotcom.o(.text+0x4c6): undefined reference to `RTSPClient::describeURL(char const*, AuthRecord*)' [...中間很多就刪掉了..] liblivedotcom_a-livedotcom.o(.text+0x1fcf): undefined reference to `std::ios_base::Init::Init[in-charge]()' liblivedotcom_a-livedotcom.o(.text+0x1ff4): undefined reference to `operator*(short, DelayInterval const&)' liblivedotcom_a-livedotcom.o(.text+0x2020): undefined reference to `operator*(short, DelayInterval const&)' liblivedotcom_a-livedotcom.o(.text+0x204c): undefined reference to `operator*(short, DelayInterval const&)' liblivedotcom_a-livedotcom.o(.text+0x206f): undefined reference to `std::ios_base::Init::~Init [in-charge]()' /modules/demux/liblivedotcom.a(liblivedotcom_a-livedotcom.o)(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status gmake[2]: *** [vlc] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.7.2' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.7.2' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/multimedia/vlc. -- ※ Origin: 鳥窩 (BirdNest.twbbs.org) ◆ From: eagle.seed.net.tw
文章代碼(AID): #10hvLb00 (FreeBSD)
文章代碼(AID): #10hvLb00 (FreeBSD)