LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 870|回复: 2

怎样让XMMS播放WMA文件?

[复制链接]
发表于 2004-9-21 19:17:43 | 显示全部楼层 |阅读模式
我原来XP系统的音乐都是WMA格式的,XMMS好像只能放MP3文件,怎样让XMMS播放WMA文件?
发表于 2004-9-21 19:26:44 | 显示全部楼层
 楼主| 发表于 2004-9-22 13:22:41 | 显示全部楼层
但是我下了rpm文件,装上之后,一打开WMA格式的文件就自动退出Xmms,
下了源代码,自己编译时出现了下面的错误
make[1]: Entering directory `/home/lxuser/Documents/xmms-wma-1.0.3/ffmpeg-strip-wma'
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o utils.o utils.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mem.o mem.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o allcodecs.o allcodecs.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o futils.o futils.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o cutils.o cutils.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o os_support.o os_support.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o allformats.o allformats.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o parser.o parser.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o avio.o avio.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o aviobuf.o aviobuf.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o file.o file.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o simple_idct.o simple_idct.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o dsputil.o dsputil.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o fft.o fft.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mdct.o mdct.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o asf.o asf.c
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o wmadec.o wmadec.c
rm -f libffwma.a
ar rc libffwma.a common.o utils.o mem.o allcodecs.o futils.o cutils.o os_support.o allformats.o parser.o avio.o aviobuf.o file.o simple_idct.o dsputil.o fft.o mdct.o asf.o wmadec.o
ranlib libffwma.a
make[1]: Leaving directory `/home/lxuser/Documents/xmms-wma-1.0.3/ffmpeg-strip-wma'
gcc -MM -O2 -ffast-math -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DX86 -I ffmpeg-strip-wma `xmms-config --cflags` iir.c | sed "s/^iir\.o:/obj\/iir\.o obj\/iir\.d:/" > obj/iir.d
/bin/sh: line 1: xmms-config: command not found
gcc -MM -O2 -ffast-math -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DX86 -I ffmpeg-strip-wma `xmms-config --cflags` xmms-wma.c | sed "s/^xmms-wma\.o:/obj\/xmms-wma\.o obj\/xmms-wma\.d:/" > obj/xmms-wma.d
/bin/sh: line 1: xmms-config: command not found
gcc -c -o obj/xmms-wma.o -O2 -ffast-math -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DX86 -I ffmpeg-strip-wma `xmms-config --cflags` xmms-wma.c
/bin/sh: line 1: xmms-config: command not found
xmms-wma.c:29:25: xmms/plugin.h: No such file or directory
xmms-wma.c:30:29: xmms/configfile.h: No such file or directory
xmms-wma.c:31:23: xmms/util.h: No such file or directory
xmms-wma.c:32:30: xmms/titlestring.h: No such file or directory
In file included from xmms-wma.c:40:
iir.h:26:21: gtk/gtk.h: No such file or directory
iir.h:27:22: gdk/gdkx.h: No such file or directory
iir.h:28:18: glib.h: No such file or directory
iir.h:33:25: xmms/plugin.h: No such file or directory
iir.h:34:23: xmms/util.h: No such file or directory
In file included from xmms-wma.c:40:
iir.h:85: error: parse error before '*' token
xmms-wma.c:57: error: parse error before '*' token
xmms-wma.c:57: warning: data definition has no type or storage class
xmms-wma.c:58: error: parse error before '*' token
xmms-wma.c:58: warning: data definition has no type or storage class
xmms-wma.c:59: error: parse error before "wma_decode"
xmms-wma.c:59: warning: data definition has no type or storage class
xmms-wma.c:60: error: parse error before "wma_pause"
xmms-wma.c:60: warning: data definition has no type or storage class
xmms-wma.c:61: error: parse error before "wma_eq_on"
xmms-wma.c:61: warning: data definition has no type or storage class
xmms-wma.c:85: error: parse error before '*' token
xmms-wma.c:85: warning: data definition has no type or storage class
xmms-wma.c:87: error: parse error before "wma_ip"
xmms-wma.c:89: warning: initialization makes integer from pointer without a cast
xmms-wma.c:90: warning: excess elements in scalar initializer
xmms-wma.c:90: warning: (near initialization for `wma_ip')
xmms-wma.c:91: warning: excess elements in scalar initializer
xmms-wma.c:91: warning: (near initialization for `wma_ip')
xmms-wma.c:92: warning: excess elements in scalar initializer
xmms-wma.c:92: warning: (near initialization for `wma_ip')
xmms-wma.c:93: warning: excess elements in scalar initializer
xmms-wma.c:93: warning: (near initialization for `wma_ip')
xmms-wma.c:94: warning: excess elements in scalar initializer
xmms-wma.c:94: warning: (near initialization for `wma_ip')
xmms-wma.c:95: warning: excess elements in scalar initializer
xmms-wma.c:95: warning: (near initialization for `wma_ip')
xmms-wma.c:96: warning: excess elements in scalar initializer
xmms-wma.c:96: warning: (near initialization for `wma_ip')
xmms-wma.c:97: warning: excess elements in scalar initializer
xmms-wma.c:97: warning: (near initialization for `wma_ip')
xmms-wma.c:98: warning: excess elements in scalar initializer
xmms-wma.c:98: warning: (near initialization for `wma_ip')
xmms-wma.c:99: warning: excess elements in scalar initializer
xmms-wma.c:99: warning: (near initialization for `wma_ip')
xmms-wma.c:100: warning: excess elements in scalar initializer
xmms-wma.c:100: warning: (near initialization for `wma_ip')
xmms-wma.c:101: warning: excess elements in scalar initializer
xmms-wma.c:101: warning: (near initialization for `wma_ip')
xmms-wma.c:102: warning: excess elements in scalar initializer
xmms-wma.c:102: warning: (near initialization for `wma_ip')
xmms-wma.c:103: warning: excess elements in scalar initializer
xmms-wma.c:103: warning: (near initialization for `wma_ip')
xmms-wma.c:104: warning: excess elements in scalar initializer
xmms-wma.c:104: warning: (near initialization for `wma_ip')
xmms-wma.c:105: warning: excess elements in scalar initializer
xmms-wma.c:105: warning: (near initialization for `wma_ip')
xmms-wma.c:106: warning: excess elements in scalar initializer
xmms-wma.c:106: warning: (near initialization for `wma_ip')
xmms-wma.c:107: warning: excess elements in scalar initializer
xmms-wma.c:107: warning: (near initialization for `wma_ip')
xmms-wma.c:108: warning: excess elements in scalar initializer
xmms-wma.c:108: warning: (near initialization for `wma_ip')
xmms-wma.c:109: warning: excess elements in scalar initializer
xmms-wma.c:109: warning: (near initialization for `wma_ip')
xmms-wma.c:110: warning: excess elements in scalar initializer
xmms-wma.c:110: warning: (near initialization for `wma_ip')
xmms-wma.c:111: warning: excess elements in scalar initializer
xmms-wma.c:111: warning: (near initialization for `wma_ip')
xmms-wma.c:113: warning: excess elements in scalar initializer
xmms-wma.c:113: warning: (near initialization for `wma_ip')
xmms-wma.c:113: warning: data definition has no type or storage class
xmms-wma.c:115: error: parse error before '*' token
xmms-wma.c: In function `get_iplugin_info':
xmms-wma.c:118: error: request for member `description' in something not a structure or union
xmms-wma.c: In function `wma_about':
xmms-wma.c:143: warning: assignment makes pointer from integer without a cast
xmms-wma.c:145: error: `gtk_widget_destroyed' undeclared (first use in this function)
xmms-wma.c:145: error: (Each undeclared identifier is reported only once
xmms-wma.c:145: error: for each function it appears in.)
xmms-wma.c:147: error: `FALSE' undeclared (first use in this function)
xmms-wma.c:149: warning: assignment makes pointer from integer without a cast
xmms-wma.c:150: error: invalid type argument of `->'
xmms-wma.c:150: error: `TRUE' undeclared (first use in this function)
xmms-wma.c:153: warning: assignment makes pointer from integer without a cast
xmms-wma.c:155: error: `gtk_widget_destroy' undeclared (first use in this function)
xmms-wma.c:157: error: invalid type argument of `->'
xmms-wma.c: In function `wma_is_our_file':
xmms-wma.c:177: error: `gchar' undeclared (first use in this function)
xmms-wma.c:177: error: `ext' undeclared (first use in this function)
xmms-wma.c: In function `wma_do_pause':
xmms-wma.c:188: error: request for member `output' in something not a structure or union
xmms-wma.c: In function `wma_seek':
xmms-wma.c:195: error: request for member `output' in something not a structure or union
xmms-wma.c:198: error: request for member `output' in something not a structure or union
xmms-wma.c: In function `wma_get_time':
xmms-wma.c:203: error: request for member `output' in something not a structure or union
xmms-wma.c:204: error: request for member `output' in something not a structure or union
xmms-wma.c: At top level:
xmms-wma.c:229: error: parse error before '*' token
xmms-wma.c: In function `extname':
xmms-wma.c:231: error: `gchar' undeclared (first use in this function)
xmms-wma.c:231: error: `ext' undeclared (first use in this function)
xmms-wma.c: At top level:
xmms-wma.c:237: error: parse error before '*' token
xmms-wma.c: In function `slashkill':
xmms-wma.c:239: error: `gchar' undeclared (first use in this function)
xmms-wma.c:239: error: `splitname' undeclared (first use in this function)
xmms-wma.c:239: error: `fullname' undeclared (first use in this function)
xmms-wma.c: At top level:
xmms-wma.c:252: error: parse error before '*' token
xmms-wma.c:252: error: parse error before "gchar"
xmms-wma.c: In function `get_song_title':
xmms-wma.c:254: error: `gchar' undeclared (first use in this function)
xmms-wma.c:254: error: `ret' undeclared (first use in this function)
xmms-wma.c:255: error: `TitleInput' undeclared (first use in this function)
xmms-wma.c:255: error: `input' undeclared (first use in this function)
xmms-wma.c:259: error: `in' undeclared (first use in this function)
xmms-wma.c:270: error: `filename' undeclared (first use in this function)
xmms-wma.c: At top level:
xmms-wma.c:285: error: parse error before "get_song_time"
xmms-wma.c: In function `wma_get_song_info':
xmms-wma.c:305: warning: assignment from incompatible pointer type
xmms-wma.c: In function `wma_playbuff':
xmms-wma.c:319: error: `gpointer' undeclared (first use in this function)
xmms-wma.c:324: error: request for member `output' in something not a structure or union
xmms-wma.c:327: error: request for member `add_vis_pcm' in something not a structure or union
xmms-wma.c:327: error: request for member `output' in something not a structure or union
xmms-wma.c:327: error: `FMT_S16_NE' undeclared (first use in this function)
xmms-wma.c:329: error: request for member `output' in something not a structure or union
xmms-wma.c: In function `wma_play_loop':
xmms-wma.c:348: error: request for member `output' in something not a structure or union
xmms-wma.c:378: error: request for member `output' in something not a structure or union
xmms-wma.c: In function `wma_play_file':
xmms-wma.c:417: warning: assignment from incompatible pointer type
xmms-wma.c:420: error: request for member `output' in something not a structure or union
xmms-wma.c:420: error: `FMT_S16_NE' undeclared (first use in this function)
xmms-wma.c:425: error: request for member `set_info' in something not a structure or union
xmms-wma.c:427: warning: assignment makes pointer from integer without a cast
xmms-wma.c:428: warning: assignment makes pointer from integer without a cast
xmms-wma.c: In function `wma_stop':
xmms-wma.c:440: error: request for member `output' in something not a structure or union
xmms-wma.c: In function `wma_file_info_box':
xmms-wma.c:573: warning: assignment makes pointer from integer without a cast
xmms-wma.c:575: error: `gtk_widget_destroyed' undeclared (first use in this function)
xmms-wma.c:577: error: `FALSE' undeclared (first use in this function)
xmms-wma.c:579: warning: assignment makes pointer from integer without a cast
xmms-wma.c:580: error: invalid type argument of `->'
xmms-wma.c:580: error: `TRUE' undeclared (first use in this function)
xmms-wma.c:583: warning: assignment makes pointer from integer without a cast
xmms-wma.c:585: error: `gtk_widget_destroy' undeclared (first use in this function)
xmms-wma.c:587: error: invalid type argument of `->'
make[1]: *** [obj/xmms-wma.o] Error 1
make: *** [all] Error 2
怎么回事?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表