You are not logged in.

#1 2008-08-02 11:19:15

Diestelhenne
Member
From: Lower Saxony, Germany
Registered: 2008-05-05
Posts: 31

[unsolved][Request] FusionSound

I tried everything I was able to imagine to build fusionsound, but it didn't work. Ther is an outdated fusionsound package in AUR at http://aur.archlinux.org/packages.php?ID=9592 .
Hopefully, someone will have success.
Thanks

Last edited by Diestelhenne (2008-08-10 12:27:58)


Proudly running Archlinux with kdemod4. ;-)

Intel Core2Quad Q6600
nVidia GeForce 8800GTS

Offline

#2 2008-08-02 13:59:24

foutrelis
Developer/TU
From: Athens, Greece
Registered: 2008-07-28
Posts: 618
Website

Re: [unsolved][Request] FusionSound

I packaged (hopefully correctly) version 1.0.0; get it at (link removed, check the AUR) smile

Last edited by foutrelis (2008-08-02 17:42:13)

Offline

#3 2008-08-02 16:47:30

Diestelhenne
Member
From: Lower Saxony, Germany
Registered: 2008-05-05
Posts: 31

Re: [unsolved][Request] FusionSound

Thanks :-)

Does it work with version 1.1.1, too? I'm not able to test at the moment, I will do so in the evening. And where did you get that patch? I couldn't find one in my search.

Regards,

Henrik


Proudly running Archlinux with kdemod4. ;-)

Intel Core2Quad Q6600
nVidia GeForce 8800GTS

Offline

#4 2008-08-02 17:36:31

foutrelis
Developer/TU
From: Athens, Greece
Registered: 2008-07-28
Posts: 618
Website

Re: [unsolved][Request] FusionSound

Diestelhenne wrote:

Does it work with version 1.1.1, too?

FusionSound 1.1.1 will have to wait until the recently released DirectFB 1.2.0 is made available in Arch Linux.
Btw, I've taken over as the maintainer of the package so I'll try to keep it up-to-date! smile

Diestelhenne wrote:

And where did you get that patch? I couldn't find one in my search.

It's a small patch written by me.

Last edited by foutrelis (2008-08-02 17:42:53)

Offline

#5 2008-08-02 19:03:31

Diestelhenne
Member
From: Lower Saxony, Germany
Registered: 2008-05-05
Posts: 31

Re: [unsolved][Request] FusionSound

Unfortunately it doesn't work for me:

/usr/include/asm/types.h:28: error: conflicting types for 's64'
/usr/include/directfb/dfb_types.h:59: error: previous declaration of 's64' was here
/usr/include/asm/types.h:29: error: conflicting types for 'u64'
/usr/include/directfb/dfb_types.h:54: error: previous declaration of 'u64' was here
make[4]: *** [ifusionsoundmusicprovider_cdda.lo] Fehler 1
make[4]: Leaving directory `/home/arch/Desktop/fusionsound/src/FusionSound-1.0.0/interfaces/IFusionSoundMusicProvider'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/arch/Desktop/fusionsound/src/FusionSound-1.0.0/interfaces/IFusionSoundMusicProvider'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/arch/Desktop/fusionsound/src/FusionSound-1.0.0/interfaces'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/arch/Desktop/fusionsound/src/FusionSound-1.0.0'
make: *** [all] Fehler 2

sad

I'm using Arch64.


Proudly running Archlinux with kdemod4. ;-)

Intel Core2Quad Q6600
nVidia GeForce 8800GTS

Offline

#6 2008-08-02 23:46:29

foutrelis
Developer/TU
From: Athens, Greece
Registered: 2008-07-28
Posts: 618
Website

Re: [unsolved][Request] FusionSound

Hello Henrik,

The maintainer of directfb has just packaged directfb 1.2.0. I'll go ahead and update fusionsound to the latest version, and hopefully it should compile fine on x86_64 as well (since /usr/include/directfb/dfb_types.h doesn't mess with u64 and s64 by default anymore).

After you've upgraded to directfb 1.2.0, try the new fusionsound (1.1.1) from the AUR. If you're still having issues, feel free to post in this topic. smile

EDIT: The current PKGBUILD (1.1.1-2) of fusionsound is not buildable. I will try to see what's going on tomorrow, as I really need to sleep now. .-.

Last edited by foutrelis (2008-08-03 00:43:39)

Offline

#7 2008-08-03 09:01:39

Diestelhenne
Member
From: Lower Saxony, Germany
Registered: 2008-05-05
Posts: 31

Re: [unsolved][Request] FusionSound

With upgraded directfb (Hashs are followed by translations from German to English wink ):

fusionsound.c:120: error: conflicting types for 'FusionSoundCreate'                 
../include/fusionsound.h:101: error: previous declaration of 'FusionSoundCreate' was here                                                                               
fusionsound.c:164: error: conflicting types for 'FusionSoundError'                  
../include/fusionsound.h:109: error: previous declaration of 'FusionSoundError' was here                                                                                
fusionsound.c:175: error: conflicting types for 'FusionSoundErrorFatal'             
../include/fusionsound.h:117: error: previous declaration of 'FusionSoundErrorFatal' was here
fusionsound.c:183: error: conflicting types for 'FusionSoundErrorString'
../include/fusionsound.h:125: error: previous declaration of 'FusionSoundErrorString' was here
make[3]: *** [fusionsound.lo] Fehler 1  # Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-henrik/aur-fusionsound/fusionsound/src/FusionSound-1.1.1/src'
make[2]: *** [all-recursive] Fehler 1     # Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-henrik/aur-fusionsound/fusionsound/src/FusionSound-1.1.1/src'
make[1]: *** [all-recursive] Fehler 1     # Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-henrik/aur-fusionsound/fusionsound/src/FusionSound-1.1.1'
make: *** [all] Fehler 2
==> FEHLER: Build fehlgeschlagen.    #==> ERROR: Build failed.
    Breche ab ...                                #    Aborting ...
Error: Makepkg was unable to build fusionsound package.

It's exactly the same error I got when I made a PKGBUILD for directfb and fusionsound myself. But I'm looking forward to you will make a working patch wink

You're great so far

Henrik


Proudly running Archlinux with kdemod4. ;-)

Intel Core2Quad Q6600
nVidia GeForce 8800GTS

Offline

#8 2008-08-03 13:20:43

foutrelis
Developer/TU
From: Athens, Greece
Registered: 2008-07-28
Posts: 618
Website

Re: [unsolved][Request] FusionSound

OK, here's what I've gathered so far:

- FusionSound 1.0.0 doesn't build against DirectFB 1.2.0.
- FusionSound 1.1.1 is borked (it was fixed in later revisions).

Therefore, I think the only viable solution at the moment is using FusionSound's development branch. See fusionsound-git in AUR.

Offline

#9 2008-08-03 16:01:54

Diestelhenne
Member
From: Lower Saxony, Germany
Registered: 2008-05-05
Posts: 31

Re: [unsolved][Request] FusionSound

Thank you so much! fusionsound-git works for me.

But unfortunately clanbomber2, for which I need all this stuff doesn't compile, though:

Resources.h:47: Error: »__u8« hasn't been declared                               
Resources.h:48: Error: »__u8« hasn't been declared                               
In file included from ClanBomber.h:50,                                              
                 from Bomb.cpp:19:                                                  
clanstring.h: In member function »char* CL_String::get_string()«:                   
clanstring.h:337: Warning: deprecated converting of string constant in »char*«                                                                                
In file included from Bomb.h:25,                                                    
                 from Bomb.cpp:22:                                                  
GameObject.h: At global scope:                                                      
GameObject.h:140: Error: »__u8« doesn't describe a type                              
GameObject.h:141: Error: »__u8« doesn't describe a type
In file included from Bomb.cpp:24:
Explosion.h: In member function »char* Explosion::get_name()«:
Explosion.h:37: Warning: deprecated converting of string constant in »char*«
make[3]: *** [Bomb.o] Fehler 1
make[3]: Leaving directory `/tmp/yaourt-tmp-henrik/aur-clanbomber2/clanbomber2/src/clanbomber2-0.9.1/clanbomber'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-henrik/aur-clanbomber2/clanbomber2/src/clanbomber2-0.9.1/clanbomber'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-henrik/aur-clanbomber2/clanbomber2/src/clanbomber2-0.9.1'
make: *** [all] Error 2
==> ERROR: Build failed.
    Aborting ...
Error: Makepkg was unable to build clanbomber2 package.

Proudly running Archlinux with kdemod4. ;-)

Intel Core2Quad Q6600
nVidia GeForce 8800GTS

Offline

#10 2008-08-03 18:04:31

foutrelis
Developer/TU
From: Athens, Greece
Registered: 2008-07-28
Posts: 618
Website

Re: [unsolved][Request] FusionSound

Hey Henrik,

clanbomber2 is probably written around fusionsound 1.0.0 and the API changes in later versions rendered it non-buildable.  Thankfully, it only required very few modifications to build under our -git version of fusionsound.

I've tested it under i686 but it should work for x86_64 as well. If you can test my version and let me know if it works, that'd be great. smile

Offline

#11 2008-08-03 19:25:28

Diestelhenne
Member
From: Lower Saxony, Germany
Registered: 2008-05-05
Posts: 31

Re: [unsolved][Request] FusionSound

Unfortunately not sad

clanstring.h: In member function »char* CL_String::get_string()«:                   
clanstring.h:337: Warning: deprecated converting of a string constant in »char*«                                                                                
ClanBomber.cpp: In member function »bool ClanBomberApplication::init_server_game()«:
ClanBomber.cpp:658: Warning: deprecated converting of a string constant in »char*«                                                                              
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/directfb   -D_REENTRANT -I/usr/include/fusionsound -I/usr/include/directfb   -DDATADIR=\"/usr/share/clanbomber2/\"   -march=x86-64 -mtune=generic -O2 -pipe -MT Client.o -MD -MP -MF ".deps/Client.Tpo" -c -o Client.o Client.cpp; \                                            
        then mv -f ".deps/Client.Tpo" ".deps/Client.Po"; else rm -f ".deps/Client.Tpo"; exit 1; fi                                                                      
In file included from ClanBomber.h:50,                                              
                 from Client.h:28,                                                  
                 from Client.cpp:29:                                                
clanstring.h: In member function »char* CL_String::get_string()«:                   
clanstring.h:337: Warning: deprecated converting of a string constant in »char*«                                                                               
In file included from Client.cpp:44:                                                
Explosion.h: In member function »char* Explosion::get_name()«:                      
Explosion.h:37: Warning: deprecated converting of a string constant in »char*«
In file included from Client.cpp:46:
Extra.h: In member function »char* Extra::get_name()«:
Extra.h:38: Warning: deprecated converting of a string constant in »char*«
Client.cpp: In member function »void Client::receive_from_server()«:
Client.cpp:209: Error: »size_t*« can't be renamed to »socklen_t*« for argument »6« to »ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*)« changed
make[3]: *** [Client.o] Fehler 1
make[3]: Leaving directory `/home/arch/src/clanbomber2/src/clanbomber2-0.9.1/clanbomber'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/arch/src/clanbomber2/src/clanbomber2-0.9.1/clanbomber'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/arch/src/clanbomber2/src/clanbomber2-0.9.1'
make: *** [all] Fehler 2
==> FEHLER: Build fehlgeschlagen.
    Breche ab ...

Proudly running Archlinux with kdemod4. ;-)

Intel Core2Quad Q6600
nVidia GeForce 8800GTS

Offline

#12 2008-08-03 19:56:44

foutrelis
Developer/TU
From: Athens, Greece
Registered: 2008-07-28
Posts: 618
Website

Re: [unsolved][Request] FusionSound

How about this one?

Last edited by foutrelis (2008-08-14 02:48:53)

Offline

#13 2008-08-04 10:20:44

Diestelhenne
Member
From: Lower Saxony, Germany
Registered: 2008-05-05
Posts: 31

Re: [unsolved][Request] FusionSound

Okay, it compiles but when I run clanbomber2 it says:

[henrik@myhost ~]$ clanbomber2

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2008  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-08-03 03:18)
(*) Direct/Memcpy: Using Generic 64bit memcpy()
(!) DirectFB/core/vt: Error opening `/dev/tty0'!
    --> Permission denied
(!) DirectFB/Core: Could not initialize 'system_core' core!
    --> Initialization error!
ClanBomber.cpp141
(#) DirectFBError [DirectFBCreate( &dfb )]: Initialization error!

Proudly running Archlinux with kdemod4. ;-)

Intel Core2Quad Q6600
nVidia GeForce 8800GTS

Offline

#14 2008-08-04 11:54:29

foutrelis
Developer/TU
From: Athens, Greece
Registered: 2008-07-28
Posts: 618
Website

Re: [unsolved][Request] FusionSound

The issue you're describing is mentioned in the Configuration FAQ of DirectFB. I don't know if that helps, but take a look.

Offline

#15 2008-08-07 20:34:44

Diestelhenne
Member
From: Lower Saxony, Germany
Registered: 2008-05-05
Posts: 31

Re: [unsolved][Request] FusionSound

Okay, thanks, it works so far. Starting an application with root privileges is not a good solution, but you did your "job" very well. Thank you so much, foutrelis!


Proudly running Archlinux with kdemod4. ;-)

Intel Core2Quad Q6600
nVidia GeForce 8800GTS

Offline

#16 2008-08-07 22:56:10

foutrelis
Developer/TU
From: Athens, Greece
Registered: 2008-07-28
Posts: 618
Website

Re: [unsolved][Request] FusionSound

You're very welcome.

Offline

#17 2008-08-10 12:27:38

Diestelhenne
Member
From: Lower Saxony, Germany
Registered: 2008-05-05
Posts: 31

Re: [unsolved][Request] FusionSound

Clanbomber2 runs in high speed mode big_smile There's no way to play it. It takes ca. 5 seconds until a game is over. Any ideas how to fix that?


Proudly running Archlinux with kdemod4. ;-)

Intel Core2Quad Q6600
nVidia GeForce 8800GTS

Offline

#18 2008-09-24 18:53:30

bal
Member
From: Budapest - Hungary
Registered: 2008-07-06
Posts: 4

Re: [unsolved][Request] FusionSound

foutrelis wrote:

How about this one?

Thank you foutrelis! It works great for me too, also on arch64.

Offline

#19 2009-03-03 23:57:52

blackhole
Member
From: Karlsruhe, Germany
Registered: 2008-12-14
Posts: 148
Website

Re: [unsolved][Request] FusionSound

Okay I realise this is an old threat, but I still have the compiling problem. I did a "yaourt -S clanbomber2" and ended up with:

gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I../src -D_REENTRANT -I/usr/include/directfb -D_GNU_SOURCE -Wall -O3 -ffast-math -pipe -march=i686 -mtune=generic -O2 -pipe -Werror-implicit-function-declaration -MT fusionsound.lo -MD -MP -MF .deps/fusionsound.Tpo -c fusionsound.c  -fPIC -DPIC -o .libs/fusionsound.o                                                                              
fusionsound.c:120: error: conflicting types for 'FusionSoundCreate'
../include/fusionsound.h:101: error: previous declaration of 'FusionSoundCreate' was here
fusionsound.c:164: error: conflicting types for 'FusionSoundError'
../include/fusionsound.h:109: error: previous declaration of 'FusionSoundError' was here
fusionsound.c:175: error: conflicting types for 'FusionSoundErrorFatal'
../include/fusionsound.h:117: error: previous declaration of 'FusionSoundErrorFatal' was here
fusionsound.c:183: error: conflicting types for 'FusionSoundErrorString'
../include/fusionsound.h:125: error: previous declaration of 'FusionSoundErrorString' was here
make[3]: *** [fusionsound.lo] Fehler 1
make[3]: Leaving directory `/tmp/yaourt-tmp-schorsch/aur-fusionsound/fusionsound/src/FusionSound-1.1.1/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/tmp/yaourt-tmp-schorsch/aur-fusionsound/fusionsound/src/FusionSound-1.1.1/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/tmp/yaourt-tmp-schorsch/aur-fusionsound/fusionsound/src/FusionSound-1.1.1'
make: *** [all] Fehler 2
==> FEHLER: Build fehlgeschlagen.
    Breche ab ...
Error: Makepkg was unable to build fusionsound package.

Sorry for the German output. "Fehler" means "error" ;-)

What exactly do I have to do here?


Coming closer and closer to the ultimate goal: replacing boring old Windows XP desktop with shiny new Arch KDE 4 desktop. ^^
Already registered? Your vote counts!

Offline

Board footer

Powered by FluxBB