博客网 >

install mpeg4ip
作者:分类:默认分类标签:

Fedora6 build mpeg4ip-1.5.0.1

./bootstrap

make

...

ls.a ../../lib/audio/.libs/libaudio.a ../../lib/ismacryp/.libs/libismacryp.so ../../lib/srtp/.libs/libsrtpif.so -L/usr/local/lib /usr/local/lib/libSDL.so -lesd -laudiofile -lm -lpthread -ldl -Wl,--rpath -Wl,/usr/local/lib
./.libs/libmp4sdlvideo.a(video_sdl.o): In function `CSDLVideo::set_screen_size(int, int, int, int, int, int)':
/root/mpeg4ip-1.5.0.1/player/src/video_sdl.cpp:280: undefined reference to `XMoveWindow'
collect2: ld returned 1 exit status
make[4]: *** [mp4player] é”?èˉˉ 1
make[4]: Leaving directory `/root/mpeg4ip-1.5.0.1/player/src'
make[3]: *** [all-recursive] é”?èˉˉ 1
make[3]: Leaving directory `/root/mpeg4ip-1.5.0.1/player/src'
make[2]: *** [all-recursive] é”?èˉˉ 1
make[2]: Leaving directory `/root/mpeg4ip-1.5.0.1/player'
make[1]: *** [all-recursive] é”?èˉˉ 1
make[1]: Leaving directory `/root/mpeg4ip-1.5.0.1'
make: *** [all] é”?èˉˉ 2

Fix it: change the line 11692 of ./configure:

sys_lib_search_path_spec="/shlib /usr/lib /usrX11/lib /usr/contrib/lib ...

to

sys_lib_search_path_spec="/shlib /usr/lib /lib/X11 /usr/contrib/lib ...

make again:

ls.a ../../lib/audio/.libs/libaudio.a ../../lib/ismacryp/.libs/libismacryp.so ../../lib/srtp/.libs/libsrtpif.so -L/usr/local/lib /usr/local/lib/libSDL.so -lesd -laudiofile -lm -lpthread -ldl -Wl,--rpath -Wl,/usr/local/lib
./.libs/libmp4sdlvideo.a(video_sdl.o): In function `CSDLVideo::set_screen_size(int, int, int, int, int, int)':
/root/mpeg4ip-1.5.0.1/player/src/video_sdl.cpp:280: undefined reference to `XMoveWindow'
collect2: ld returned 1 exit status
make[4]: *** [mp4player] é”?èˉˉ 1
make[4]: Leaving directory `/root/mpeg4ip-1.5.0.1/player/src'
make[3]: *** [all-recursive] é”?èˉˉ 1
make[3]: Leaving directory `/root/mpeg4ip-1.5.0.1/player/src'
make[2]: *** [all-recursive] é”?èˉˉ 1
make[2]: Leaving directory `/root/mpeg4ip-1.5.0.1/player'
make[1]: *** [all-recursive] é”?èˉˉ 1
make[1]: Leaving directory `/root/mpeg4ip-1.5.0.1'
make: *** [all] é”?èˉˉ 2

Fix it: change the line 208 of ./player/src/makefile:

CXXFLAGS = -g -o2 ...-D_REENTRANT

to

CXXFLAGS = -g -o2 ...-D_REENTRANT -L/usr/lib/X11 -lXll

make again, OK

enjoy

<< install nutch on... / an implementatio... >>

专题推荐

不平凡的水果世界

不平凡的水果世界

平凡的水果世界,平凡中的不平凡。 今朝看水果是水果 ,看水果还是水果 ,看水果已不是水果。这境界,谁人可比?在不平凡的水果世界里,仁者见仁,智者见智。

中国春节的那些习俗

中国春节的那些习俗

正月是农历新年的开始,人们往往将它看作是新的一年年运好坏的兆示期。所以,过年的时候“禁忌”特别多。当然,各个地方的风俗习惯不一样,过年的禁忌也是不一样的。

评论
0/200
表情 验证码:

liming2008

  • 文章总数0
  • 画报总数0
  • 画报点击数0
  • 文章点击数0
个人排行
        博文分类
        日期归档