| Author |
Message |
Guest
Guest
|
Although the mercurial versions are unreleased, it will become the next version, and the uade plugin will likely stay broken.
Just a heads up, as I can't give more detailed info, as it just causes a Segmentation fault (current uade git.)
I've been using uade123 in the meantime.
Thanks |
|
|
|
 |
Guest
Guest
|
Okay, the audacious developers helped me pinpoint the error and a workaround.
edit plugin.c
uade/src/frontends/audacious/plugin.c
line 88 should be commented out.
/*.get_song_info = uade_get_song_info,*/
(Or removed, I'm more comfortable with commenting out )
It's good to enjoy the music of Lemmings, Shadow of the Beast, and all the rest with uade via the audacious interface...
Cheers! |
|
|
|
 |
lem79
Joined: 01 Dec 2009
Posts: 1
|
| Guest wrote: | Okay, the audacious developers helped me pinpoint the error and a workaround.
edit plugin.c
uade/src/frontends/audacious/plugin.c
line 88 should be commented out.
/*.get_song_info = uade_get_song_info,*/
(Or removed, I'm more comfortable with commenting out )
It's good to enjoy the music of Lemmings, Shadow of the Beast, and all the rest with uade via the audacious interface...
Cheers! |
This "fix" doesn't work for UADE git (2009-11-30) and Audacious 2.2.
edit: Sorry should have been a bit more informative than that! With the get song info line commented out, the plugin compiles fine, but trying to utilise it (tested with MED. and .sfx mods), Audacious locks up and uses 100% of a single CPU core. |
|
|
    |
 |
melomonster
Joined: 10 Dec 2009
Posts: 6
|
Same issue here. Uade works fine in terminal, but there's no plugin for Audacious (v2.2).
| Code: | melomonster@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13$ ./conf
igure
Using strlcpy/cat() replacements
UADE and frontends is installed to : /usr/local/bin
Data directory : /usr/local/share/uade2
Uadecore directory : /usr/local/lib/uade2
Man (documentation) directory : /usr/local/share/man/man1
Installer : /usr/bin/install
Make : /usr/bin/make
Target CC : gcc
uadecore : yes
uade123 : yes
uade123 sound output : AO
XMMS plugin : yes
XMMS plugin directory : /usr/lib/xmms/Input
Audacious plugin : yes
Audacious plugin directory : /usr/local/lib/audacious/Input
uadefs : yes
Text scope support : no
melomonster@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13$ make
/usr/bin/make -C src
make[1]: Wejście do katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src'
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g audio.c -o audio.o
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g sd-sound.c -o sd-sound.o
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g uade.c -o uade.o
uade.c: In function ‘uade_song_end’:
uade.c:1098: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g uadeipc.c -o uadeipc.o
uadeipc.c: In function ‘uade_parse_u32_message’:
uadeipc.c:77: warning: dereferencing type-punned pointer will break strict-aliasing rules
uadeipc.c: In function ‘uade_parse_two_u32s_message’:
uadeipc.c:87: warning: dereferencing type-punned pointer will break strict-aliasing rules
uadeipc.c: In function ‘uade_send_u32’:
uadeipc.c:248: warning: dereferencing type-punned pointer will break strict-aliasing rules
uadeipc.c: In function ‘uade_send_two_u32s’:
uadeipc.c:260: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g unixatomic.c -o unixatomic.o
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g ossupport.c -o ossupport.o
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g uademain.c -o uademain.o
gcc -o uadecore main.o newcpu.o memory.o custom.o cia.o audio.o compiler.o cpustbl.o missing.o sd-sound.o md-support.o cfgfile.o fpp.o debug.o readcpu.o cpudefs.o cpuemu1.o cpuemu2.o cpuemu3.o cpuemu4.o cpuemu5.o cpuemu6.o cpuemu7.o cpuemu8.o uade.o uadeipc.o unixatomic.o ossupport.o uademain.o sinctable.o text_scope.o -lm
make[1]: Opuszczenie katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src'
/usr/bin/make -C src/frontends/uade123
make[1]: Wejście do katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/uade123'
gcc -Wall -O2 -I../../include -I../common -g -c uade123.c
gcc -Wall -O2 -I../../include -I../common -g -c playloop.c
playloop.c: In function ‘play_loop’:
playloop.c:425: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -Wall -O2 -I../../include -I../common -g -c ../common/amifilemagic.c
gcc -Wall -O2 -I../../include -I../common -g -c ../common/eagleplayer.c
gcc -Wall -O2 -I../../include -I../common -g -c ../common/uadecontrol.c
gcc -Wall -O2 -I../../include -I../common -g -c ../common/uadeconf.c
gcc -Wall -O2 -I../../include -I../common -g -c ../../ossupport.c
gcc -Wall -O2 -I../../include -I../common -g -c ../common/songdb.c
gcc -Wall -O2 -I../../include -I../common -g -c ../common/songinfo.c
gcc -Wall -O2 -I../../include -I../common -g -c ../common/support.c
gcc -Wall -O2 -I../../include -I../common -g -o uade123 uade123.o chrarray.o playlist.o playloop.o audio.o terminal.o unixatomic.o uadeipc.o amifilemagic.o eagleplayer.o unixwalkdir.o effects.o uadecontrol.o uadeconf.o md5.o ossupport.o songdb.o songinfo.o vplist.o support.o -lao -lpthread -ldl -lm
make[1]: Opuszczenie katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/uade123'
/usr/bin/make -C src/frontends/xmms
make[1]: Wejście do katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/xmms'
gcc -Wall -O2 -fPIC -shared -g -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I../common -I../../include -c plugin.c
In file included from plugin.c:29:
plugin.h:9:18: error: glib.h: No such file or directory
plugin.h:10:21: error: gtk/gtk.h: No such file or directory
In file included from plugin.h:11,
from plugin.c:29:
/usr/include/xmms/plugin.h:73: error: expected ‘)’ before ‘*’ token
/usr/include/xmms/plugin.h:74: error: expected ‘;’ before ‘void’
/usr/include/xmms/plugin.h:93: error: expected specifier-qualifier-list before ‘GList’
/usr/include/xmms/plugin.h:119: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/xmms/plugin.h:153: error: expected ‘)’ before ‘pcm_data’
/usr/include/xmms/plugin.h:154: error: expected ‘;’ before ‘void’
In file included from plugin.h:12,
from plugin.c:29:
/usr/include/xmms/util.h:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from plugin.h:12,
from plugin.c:29:
/usr/include/xmms/util.h:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xmms_check_realtime_priority’
/usr/include/xmms/util.h:11: error: expected ‘)’ before ‘usec’
plugin.c:64: error: unknown field ‘play_file’ specified in initializer
plugin.c:64: warning: excess elements in struct initializer
plugin.c:64: warning: (near initialization for ‘uade_ip’)
plugin.c:65: error: unknown field ‘stop’ specified in initializer
plugin.c:65: warning: excess elements in struct initializer
plugin.c:65: warning: (near initialization for ‘uade_ip’)
plugin.c:66: error: unknown field ‘pause’ specified in initializer
plugin.c:66: warning: excess elements in struct initializer
plugin.c:66: warning: (near initialization for ‘uade_ip’)
plugin.c:67: error: unknown field ‘seek’ specified in initializer
plugin.c:67: warning: excess elements in struct initializer
plugin.c:67: warning: (near initialization for ‘uade_ip’)
plugin.c:68: error: unknown field ‘get_time’ specified in initializer
plugin.c:68: warning: excess elements in struct initializer
plugin.c:68: warning: (near initialization for ‘uade_ip’)
plugin.c:69: error: unknown field ‘cleanup’ specified in initializer
plugin.c:69: warning: excess elements in struct initializer
plugin.c:69: warning: (near initialization for ‘uade_ip’)
plugin.c:70: error: unknown field ‘get_song_info’ specified in initializer
plugin.c:70: warning: excess elements in struct initializer
plugin.c:70: warning: (near initialization for ‘uade_ip’)
plugin.c:71: error: unknown field ‘file_info_box’ specified in initializer
plugin.c:71: warning: excess elements in struct initializer
plugin.c:71: warning: (near initialization for ‘uade_ip’)
plugin.c: In function ‘uadexmms_is_our_file’:
plugin.c:315: error: ‘TRUE’ undeclared (first use in this function)
plugin.c:315: error: (Each undeclared identifier is reported only once
plugin.c:315: error: for each function it appears in.)
plugin.c:332: error: ‘FALSE’ undeclared (first use in this function)
plugin.c: In function ‘initialize_song’:
plugin.c:397: error: ‘TRUE’ undeclared (first use in this function)
plugin.c:401: error: ‘FALSE’ undeclared (first use in this function)
plugin.c: In function ‘play_loop’:
plugin.c:442: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:442: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:450: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:478: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:485: warning: implicit declaration of function ‘xmms_usleep’
plugin.c:487: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:502: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:564: error: ‘InputPlugin’ has no member named ‘add_vis_pcm’
plugin.c:564: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:569: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:578: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:638: warning: dereferencing type-punned pointer will break strict-aliasing rules
plugin.c: In function ‘uade_play_file’:
plugin.c:762: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:787: error: ‘FALSE’ undeclared (first use in this function)
plugin.c:800: error: ‘InputPlugin’ has no member named ‘output’
plugin.c: In function ‘uade_stop’:
plugin.c:845: error: ‘InputPlugin’ has no member named ‘output’
plugin.c: In function ‘uade_pause’:
plugin.c:855: error: ‘InputPlugin’ has no member named ‘output’
plugin.c: In function ‘uade_get_time’:
plugin.c:887: error: ‘InputPlugin’ has no member named ‘output’
plugin.c: In function ‘uade_info_string’:
plugin.c:924: error: ‘InputPlugin’ has no member named ‘set_info’
make[1]: *** [plugin.o] Błąd 1
make[1]: Opuszczenie katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/xmms'
make: *** [xmmsplugin] Błąd 2
melomonster@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13$ make s
oundcheck
### UADE should be playing now 'AHX.Cruisin'
src/frontends/uade123/uade123 --basedir=. -S amigasrc/score/score -P players/AbyssHighestExperience songs/AHX.Cruisin -u src/uadecore
Song: songs/AHX.Cruisin (3879 bytes)
Playing time position 5.4s in subsong 0
is not a valid command
Playing time position 5.4s in subsong 0
[ is not a valid command
Playing time position 5.4s in subsong 0
B is not a valid command
Playing time position 7.3s in subsong 0
melomonster@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13$ uadecore: No more songs to play.
melomonster@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13$ make i
nstall
mkdir -p "/usr/local/share/uade2"
test -e "/usr/local/share/uade2/uade.conf" || cp -f uade.conf "/usr/local/share/uade2/"
cp -f amigasrc/score/score uaerc eagleplayer.conf "/usr/local/share/uade2/"
cp: nie można usunąć `/usr/local/share/uade2/score': Permission denied
cp: nie można usunąć `/usr/local/share/uade2/uaerc': Permission denied
cp: nie można usunąć `/usr/local/share/uade2/eagleplayer.conf': Permission denied
make: *** [generalinstall] Błąd 1
melomonster@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13$ sudo s
u
root@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13# make install
mkdir -p "/usr/local/share/uade2"
test -e "/usr/local/share/uade2/uade.conf" || cp -f uade.conf "/usr/local/share/uade2/"
cp -f amigasrc/score/score uaerc eagleplayer.conf "/usr/local/share/uade2/"
cp -rf players "/usr/local/share/uade2/" || true
chmod -R og+rX "/usr/local/share/uade2"
mkdir -p "/usr/local/bin"
install src/frontends/mod2ogg/mod2ogg2.sh "/usr/local/bin/"
mkdir -p "/usr/local/share/man/man1"
cp doc/uade123.1 "/usr/local/share/man/man1"/
chmod og+r "/usr/local/share/man/man1"/uade123.1
/usr/bin/make -C src install
make[1]: Wejście do katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src'
mkdir -p "/usr/local/lib/uade2" "/usr/local/lib/pkgconfig"
chmod og+rx "/usr/local/lib/uade2"
cp -f "uadecore" "/usr/local/lib/uade2"/
chmod og+rx "/usr/local/lib/uade2/uadecore"
install ../uade.pc "/usr/local/lib/pkgconfig"/
chmod og+rx "/usr/local/lib/pkgconfig"
chmod 644 "/usr/local/lib/pkgconfig/uade.pc"
make[1]: Opuszczenie katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src'
/usr/bin/make -C src/frontends/uade123 install
make[1]: Wejście do katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/uade123'
mkdir -p "/usr/local/bin"
rm -f "/usr/local/bin/uade123"
cp -f "uade123" "/usr/local/bin/" || true
chmod og+rx "/usr/local/bin/uade123"
make[1]: Opuszczenie katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/uade123'
/usr/bin/make -C src/frontends/xmms install
make[1]: Wejście do katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/xmms'
gcc -Wall -O2 -fPIC -shared -g -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I../common -I../../include -c plugin.c
In file included from plugin.c:29:
plugin.h:9:18: error: glib.h: No such file or directory
plugin.h:10:21: error: gtk/gtk.h: No such file or directory
In file included from plugin.h:11,
from plugin.c:29:
/usr/include/xmms/plugin.h:73: error: expected ‘)’ before ‘*’ token
/usr/include/xmms/plugin.h:74: error: expected ‘;’ before ‘void’
/usr/include/xmms/plugin.h:93: error: expected specifier-qualifier-list before ‘GList’
/usr/include/xmms/plugin.h:119: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/xmms/plugin.h:153: error: expected ‘)’ before ‘pcm_data’
/usr/include/xmms/plugin.h:154: error: expected ‘;’ before ‘void’
In file included from plugin.h:12,
from plugin.c:29:
/usr/include/xmms/util.h:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from plugin.h:12,
from plugin.c:29:
/usr/include/xmms/util.h:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xmms_check_realtime_priority’
/usr/include/xmms/util.h:11: error: expected ‘)’ before ‘usec’
plugin.c:64: error: unknown field ‘play_file’ specified in initializer
plugin.c:64: warning: excess elements in struct initializer
plugin.c:64: warning: (near initialization for ‘uade_ip’)
plugin.c:65: error: unknown field ‘stop’ specified in initializer
plugin.c:65: warning: excess elements in struct initializer
plugin.c:65: warning: (near initialization for ‘uade_ip’)
plugin.c:66: error: unknown field ‘pause’ specified in initializer
plugin.c:66: warning: excess elements in struct initializer
plugin.c:66: warning: (near initialization for ‘uade_ip’)
plugin.c:67: error: unknown field ‘seek’ specified in initializer
plugin.c:67: warning: excess elements in struct initializer
plugin.c:67: warning: (near initialization for ‘uade_ip’)
plugin.c:68: error: unknown field ‘get_time’ specified in initializer
plugin.c:68: warning: excess elements in struct initializer
plugin.c:68: warning: (near initialization for ‘uade_ip’)
plugin.c:69: error: unknown field ‘cleanup’ specified in initializer
plugin.c:69: warning: excess elements in struct initializer
plugin.c:69: warning: (near initialization for ‘uade_ip’)
plugin.c:70: error: unknown field ‘get_song_info’ specified in initializer
plugin.c:70: warning: excess elements in struct initializer
plugin.c:70: warning: (near initialization for ‘uade_ip’)
plugin.c:71: error: unknown field ‘file_info_box’ specified in initializer
plugin.c:71: warning: excess elements in struct initializer
plugin.c:71: warning: (near initialization for ‘uade_ip’)
plugin.c: In function ‘uadexmms_is_our_file’:
plugin.c:315: error: ‘TRUE’ undeclared (first use in this function)
plugin.c:315: error: (Each undeclared identifier is reported only once
plugin.c:315: error: for each function it appears in.)
plugin.c:332: error: ‘FALSE’ undeclared (first use in this function)
plugin.c: In function ‘initialize_song’:
plugin.c:397: error: ‘TRUE’ undeclared (first use in this function)
plugin.c:401: error: ‘FALSE’ undeclared (first use in this function)
plugin.c: In function ‘play_loop’:
plugin.c:442: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:442: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:450: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:478: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:485: warning: implicit declaration of function ‘xmms_usleep’
plugin.c:487: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:502: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:564: error: ‘InputPlugin’ has no member named ‘add_vis_pcm’
plugin.c:564: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:569: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:578: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:638: warning: dereferencing type-punned pointer will break strict-aliasing rules
plugin.c: In function ‘uade_play_file’:
plugin.c:762: error: ‘InputPlugin’ has no member named ‘output’
plugin.c:787: error: ‘FALSE’ undeclared (first use in this function)
plugin.c:800: error: ‘InputPlugin’ has no member named ‘output’
plugin.c: In function ‘uade_stop’:
plugin.c:845: error: ‘InputPlugin’ has no member named ‘output’
plugin.c: In function ‘uade_pause’:
plugin.c:855: error: ‘InputPlugin’ has no member named ‘output’
plugin.c: In function ‘uade_get_time’:
plugin.c:887: error: ‘InputPlugin’ has no member named ‘output’
plugin.c: In function ‘uade_info_string’:
plugin.c:924: error: ‘InputPlugin’ has no member named ‘set_info’
make[1]: *** [plugin.o] Błąd 1
make[1]: Opuszczenie katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/xmms'
make: *** [xmmsplugininstall] Błąd 2
root@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13#
|
I see that there are some errors while processing plugin.c file - may it be the cause of no audacious plugin? I also edited plugin file as it was shown earlier in that topic but no luck. Would it help if i use older version of audacious or uade? Are there any other GUI based players able to play amiga formats ? Sorry for so many questions, but i really want uade to work ... |
|
|
  |
 |
Epy
Joined: 20 Jun 2009
Posts: 40
|
| Quote: | In file included from plugin.c:29:
plugin.h:9:18: error: glib.h: No such file or directory
plugin.h:10:21: error: gtk/gtk.h: No such file or directory |
You're missing some headers there...I would try installing the Glib and GTK headers packages from whatever package manager you use. I believe the packages you need are libgtk2.0-dev and libglib2.0-dev. If you use a distro that uses apt-get (like Ubuntu):
sudo apt-get install libgtk2.0-dev libglib2.0-dev |
_________________ Jake
http://thatcadguy.blogspot.com/ |
|
   |
 |
melomonster
Joined: 10 Dec 2009
Posts: 6
|
|
  |
 |
mahen
Joined: 20 Mar 2005
Posts: 16
Location: France (Rennes)
|
Did anyone figure out a workaround for the uade audacious 2.2 plugin ?
cheers ! |
|
|
  |
 |
Epy
Joined: 20 Jun 2009
Posts: 40
|
| mahen wrote: | Did anyone figure out a workaround for the uade audacious 2.2 plugin ?
cheers ! |
If you're running into the same compilation problem, then yes. Read the thread. |
_________________ Jake
http://thatcadguy.blogspot.com/ |
|
   |
 |
mahen
Joined: 20 Mar 2005
Posts: 16
Location: France (Rennes)
|
Epy : thanks for replying ! It does compile, and I can play a file, but then the audacious GUI completely locks.
Well, I'll use uadefs in the meantime, it's pretty cool
Cheers ! |
|
|
  |
 |
Epy
Joined: 20 Jun 2009
Posts: 40
|
| mahen wrote: | Epy : thanks for replying ! It does compile, and I can play a file, but then the audacious GUI completely locks.
Well, I'll use uadefs in the meantime, it's pretty cool
Cheers ! |
Have you tried the GTK version of the GUI? |
_________________ Jake
http://thatcadguy.blogspot.com/ |
|
   |
 |
mahen
Joined: 20 Mar 2005
Posts: 16
Location: France (Rennes)
|
Epy : yes, the same issue occurs as well  |
|
|
  |
 |
Epy
Joined: 20 Jun 2009
Posts: 40
|
|
   |
 |
melomonster
Joined: 10 Dec 2009
Posts: 6
|
After some troubles I got Audacious back up and running (thx Epy), but still no luck about uade plugin. Sorry I'm posting another terminal quote. I'm not even sure if the quote im just posting is anyway different than the one I posted last time. Of course I did as I was said with libgtk and libglib. I use Ubuntu.
| Code: | melomonster@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13$ sudo s
u
[sudo] password for melomonster:
root@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13# ./configure
Couldn't find xmms-config -> not compiling the XMMS plugin!
Using strlcpy/cat() replacements
UADE and frontends is installed to : /usr/local/bin
Data directory : /usr/local/share/uade2
Uadecore directory : /usr/local/lib/uade2
Man (documentation) directory : /usr/local/share/man/man1
Installer : /usr/bin/install
Make : /usr/bin/make
Target CC : gcc
uadecore : yes
uade123 : yes
uade123 sound output : AO
XMMS plugin : no
Audacious plugin : yes
Audacious plugin directory : /usr/local/lib/audacious/Input
uadefs : yes
Text scope support : no
root@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13# make
/usr/bin/make -C src
make[1]: Wejście do katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src'
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g audio.c -o audio.o
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g sd-sound.c -o sd-sound.o
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g uade.c -o uade.o
uade.c: In function ‘uade_song_end’:
uade.c:1098: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g uadeipc.c -o uadeipc.o
uadeipc.c: In function ‘uade_parse_u32_message’:
uadeipc.c:77: warning: dereferencing type-punned pointer will break strict-aliasing rules
uadeipc.c: In function ‘uade_parse_two_u32s_message’:
uadeipc.c:87: warning: dereferencing type-punned pointer will break strict-aliasing rules
uadeipc.c: In function ‘uade_send_u32’:
uadeipc.c:248: warning: dereferencing type-punned pointer will break strict-aliasing rules
uadeipc.c: In function ‘uade_send_two_u32s’:
uadeipc.c:260: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g unixatomic.c -o unixatomic.o
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g ossupport.c -o ossupport.o
gcc -I. -I./include -c -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g uademain.c -o uademain.o
gcc -o uadecore main.o newcpu.o memory.o custom.o cia.o audio.o compiler.o cpustbl.o missing.o sd-sound.o md-support.o cfgfile.o fpp.o debug.o readcpu.o cpudefs.o cpuemu1.o cpuemu2.o cpuemu3.o cpuemu4.o cpuemu5.o cpuemu6.o cpuemu7.o cpuemu8.o uade.o uadeipc.o unixatomic.o ossupport.o uademain.o sinctable.o text_scope.o -lm
make[1]: Opuszczenie katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src'
/usr/bin/make -C src/frontends/uade123
make[1]: Wejście do katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/uade123'
gcc -Wall -O2 -I../../include -I../common -g -c uade123.c
gcc -Wall -O2 -I../../include -I../common -g -c playloop.c
playloop.c: In function ‘play_loop’:
playloop.c:425: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -Wall -O2 -I../../include -I../common -g -c ../common/amifilemagic.c
gcc -Wall -O2 -I../../include -I../common -g -c ../common/eagleplayer.c
gcc -Wall -O2 -I../../include -I../common -g -c ../common/uadecontrol.c
gcc -Wall -O2 -I../../include -I../common -g -c ../common/uadeconf.c
gcc -Wall -O2 -I../../include -I../common -g -c ../../ossupport.c
gcc -Wall -O2 -I../../include -I../common -g -c ../common/songdb.c
gcc -Wall -O2 -I../../include -I../common -g -c ../common/songinfo.c
gcc -Wall -O2 -I../../include -I../common -g -c ../common/support.c
gcc -Wall -O2 -I../../include -I../common -g -o uade123 uade123.o chrarray.o playlist.o playloop.o audio.o terminal.o unixatomic.o uadeipc.o amifilemagic.o eagleplayer.o unixwalkdir.o effects.o uadecontrol.o uadeconf.o md5.o ossupport.o songdb.o songinfo.o vplist.o support.o -lao -lpthread -ldl -lm
make[1]: Opuszczenie katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/uade123'
/usr/bin/make -C src/frontends/audacious
make[1]: Wejście do katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/audacious'
gcc -Wall -O2 -fPIC -shared -pthread -D_REENTRANT -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/libmowgli -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -g -I../common -I../../include -c plugin.c
plugin.c:81: warning: initialization from incompatible pointer type
plugin.c:88: error: unknown field ‘get_song_info’ specified in initializer
plugin.c:88: warning: initialization from incompatible pointer type
plugin.c:89: warning: initialization from incompatible pointer type
plugin.c: In function ‘play_loop’:
plugin.c:665: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[1]: *** [plugin.o] Błąd 1
make[1]: Opuszczenie katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/audacious'
make: *** [audaciousplugin] Błąd 2
root@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13# make soundcheck
### UADE should be playing now 'AHX.Cruisin'
src/frontends/uade123/uade123 --basedir=. -S amigasrc/score/score -P players/AbyssHighestExperience songs/AHX.Cruisin -u src/uadecore
Song: songs/AHX.Cruisin (3879 bytes)
Playing time position 5.3s in subsong 0
uadecore: No more songs to play.
root@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13# make install
mkdir -p "/usr/local/share/uade2"
test -e "/usr/local/share/uade2/uade.conf" || cp -f uade.conf "/usr/local/share/uade2/"
cp -f amigasrc/score/score uaerc eagleplayer.conf "/usr/local/share/uade2/"
cp -rf players "/usr/local/share/uade2/" || true
chmod -R og+rX "/usr/local/share/uade2"
mkdir -p "/usr/local/bin"
install src/frontends/mod2ogg/mod2ogg2.sh "/usr/local/bin/"
mkdir -p "/usr/local/share/man/man1"
cp doc/uade123.1 "/usr/local/share/man/man1"/
chmod og+r "/usr/local/share/man/man1"/uade123.1
/usr/bin/make -C src install
make[1]: Wejście do katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src'
mkdir -p "/usr/local/lib/uade2" "/usr/local/lib/pkgconfig"
chmod og+rx "/usr/local/lib/uade2"
cp -f "uadecore" "/usr/local/lib/uade2"/
chmod og+rx "/usr/local/lib/uade2/uadecore"
install ../uade.pc "/usr/local/lib/pkgconfig"/
chmod og+rx "/usr/local/lib/pkgconfig"
chmod 644 "/usr/local/lib/pkgconfig/uade.pc"
make[1]: Opuszczenie katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src'
/usr/bin/make -C src/frontends/uade123 install
make[1]: Wejście do katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/uade123'
mkdir -p "/usr/local/bin"
rm -f "/usr/local/bin/uade123"
cp -f "uade123" "/usr/local/bin/" || true
chmod og+rx "/usr/local/bin/uade123"
make[1]: Opuszczenie katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/uade123'
/usr/bin/make -C src/frontends/audacious install
make[1]: Wejście do katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/audacious'
mkdir -p "/usr/local/lib/audacious/Input"
install libuade2.so "/usr/local/lib/audacious/Input"
install: nie można wykonać stat na `libuade2.so': No such file or directory
make[1]: *** [install] Błąd 1
make[1]: Opuszczenie katalogu `/media/Dysk D/Ściągnięte/linux/uade-2.13/src/frontends/audacious'
make: *** [audaciousplugininstall] Błąd 2
root@melomonster-desktop:/media/Dysk D/Ściągnięte/linux/uade-2.13#
|
|
|
|
  |
 |
melomonster
Joined: 10 Dec 2009
Posts: 6
|
I got uade plugin running thanks to hint in post 2, it's visible now in plugin list, but it doesn't seem to work as the files that it supposed to play are not recognised by Audacious. So now i can play mod, xm, s3m etc, but cant play files like music from Stardust, Mortal Kombat 1 & 2, the lost vikings and many other games. The uade plugin is not configurable, so i don't know how to fix this. [/code] |
|
|
  |
 |
melomonster
Joined: 10 Dec 2009
Posts: 6
|
Ok, sorry for so many posts, but i tried to get uade to work by compiling the newest version of Audacious and then compiling uade plugin and again there's problem with instalation of the plugin:
plugin.c:81: warning: initialization from incompatible pointer type
content of plugin.c:
| Code: | | .is_our_file = uadeaudacious_is_our_file, |
plugin.c:89: warning: initialization from incompatible pointer type
this is the section that i commented out
| Code: | | /* .get_song_info = uade_get_song_info, */ |
plugin.c: In function ‘play_loop’:
plugin.c:665: warning: dereferencing type-punned pointer will break strict-aliasing rules
| Code: | | tailbytes = ntohl(((uint32_t *) um->data)[0]); |
plugin.c: In function ‘uade_get_time’:
plugin.c:978: error: ‘struct OutputAPI’ has no member named ‘output_time’
| Code: | | return playhandle->output->output_time(); |
Any ideas? |
|
|
  |
 |
Epy
Joined: 20 Jun 2009
Posts: 40
|
|
   |
 |
melomonster
Joined: 10 Dec 2009
Posts: 6
|
I'll probably go back to 2.2 and try to figure out what's going on there. Thanks anyways, if i'll find out something new, i'll post about it. |
|
|
  |
 |
nenolod
Guest
|
| melomonster wrote: | Ok, sorry for so many posts, but i tried to get uade to work by compiling the newest version of Audacious and then compiling uade plugin and again there's problem with instalation of the plugin:
plugin.c:81: warning: initialization from incompatible pointer type
content of plugin.c:
| Code: | | .is_our_file = uadeaudacious_is_our_file, |
plugin.c:89: warning: initialization from incompatible pointer type
this is the section that i commented out
| Code: | | /* .get_song_info = uade_get_song_info, */ |
plugin.c: In function ‘play_loop’:
plugin.c:665: warning: dereferencing type-punned pointer will break strict-aliasing rules
| Code: | | tailbytes = ntohl(((uint32_t *) um->data)[0]); |
plugin.c: In function ‘uade_get_time’:
plugin.c:978: error: ‘struct OutputAPI’ has no member named ‘output_time’
| Code: | | return playhandle->output->output_time(); |
Any ideas? |
All of those references can be safely removed, except for the tailbytes thing which has nothing to do with Audacious.
They are vestiges of the days when Audacious was based on XMMS, and we removed ALL of that crap in 2.3. |
|
|
|
 |
nenolod
Guest
|
| mahen wrote: | Epy : thanks for replying ! It does compile, and I can play a file, but then the audacious GUI completely locks.
Well, I'll use uadefs in the meantime, it's pretty cool
Cheers ! |
Old 2.x versions of Audacious will freeze waiting on the decode worker to start up. You have to send a signal to the UI thread to say that the decode worker has initialized... it's just the set_pb_ready() function in the InputPlayback struct that needs to be called. |
|
|
|
 |
|
|