|
发表于 2005-9-6 03:50:59
|
显示全部楼层
按照上面的方法去做,可是我出错了,请大家看一下,谢谢!!!
mac.cpp:282: error: expected primary-expression before "static"
mac.cpp:282: error: expected `;' before "static"
mac.cpp:284: error: `aboutbox' undeclared (first use this function)
mac.cpp:290: error: `xmms_show_message' undeclared (first use this function)
mac.cpp:292: error: `GTK_OBJECT' undeclared (first use this function)
mac.cpp:293: error: `gtk_widget_destroyed' undeclared (first use this function)
mac.cpp:293: error: `GTK_SIGNAL_FUNC' undeclared (first use this function)
mac.cpp:293: error: `gtk_signal_connect' undeclared (first use this function)
mac.cpp: In function `void mac_play_file(char*)':
mac.cpp:319: error: `gchar' undeclared (first use this function)
mac.cpp:319: error: `name' undeclared (first use this function)
mac.cpp:325: error: 'struct PlayerInfo' has no member named 'playing'
mac.cpp:327: error: `mac_plugin_info' undeclared (first use this function)
mac.cpp:327: error: 'struct PlayerInfo' has no member named 'sample_format'
mac.cpp:332: error: 'struct PlayerInfo' has no member named 'title'
mac.cpp: In function `void mac_stop()':
mac.cpp:342: error: 'struct PlayerInfo' has no member named 'playing'
mac.cpp:344: error: 'struct PlayerInfo' has no member named 'playing'
mac.cpp:346: error: `mac_plugin_info' undeclared (first use this function)
mac.cpp:353: error: `g_free' undeclared (first use this function)
mac.cpp: In function `void mac_pause(short int)':
mac.cpp:361: error: `mac_plugin_info' undeclared (first use this function)
mac.cpp: In function `void mac_seek(int)':
mac.cpp:368: error: 'struct PlayerInfo' has no member named 'eof'
mac.cpp:372: error: `xmms_usleep' undeclared (first use this function)
mac.cpp: In function `int mac_get_time()':
mac.cpp:383: error: 'struct PlayerInfo' has no member named 'playing'
mac.cpp:383: error: 'struct PlayerInfo' has no member named 'eof'
mac.cpp:383: error: `mac_plugin_info' undeclared (first use this function)
mac.cpp: In function `void mac_get_song_info(char*, char**, int*)':
mac.cpp:412: error: `g_malloc' undeclared (first use this function)
mac.cpp: At global scope:
mac.cpp:277: warning: 'void mac_init()' defined but not used
mac.cpp:281: warning: 'void mac_about()' defined but not used
mac.cpp:297: warning: 'void mac_configure()' defined but not used
mac.cpp:301: warning: 'int mac_is_our_file(char*)' defined but not used
mac.cpp:318: warning: 'void mac_play_file(char*)' defined but not used
mac.cpp:341: warning: 'void mac_stop()' defined but not used
mac.cpp:360: warning: 'void mac_pause(short int)' defined but not used
mac.cpp:365: warning: 'void mac_seek(int)' defined but not used
mac.cpp:378: warning: 'int mac_get_time()' defined but not used
mac.cpp:394: warning: 'void mac_cleanup()' defined but not used
mac.cpp:398: warning: 'void mac_get_song_info(char*, char**, int*)' defined butnot used
make[2]: *** [libxmms_mac_la-mac.lo] 错误 1
make[2]: Leaving directory `/home/majian/bmp-mac-0.3.0/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/majian/bmp-mac-0.3.0'
make: *** [all] 错误 2
以上是出错的信息,不知道为什么会这样,请帮帮忙啊,我不想把那么多的ape转成mp3啊,谢谢!!!! |
|