You are not logged in.

  • "replicant10000" started this thread

Posts: 1

Location: Tennessee

Occupation: IT support

  • Send private message

1

Wednesday, April 4th 2007, 11:19pm

Problem with Akode revision 650568

Hi.
I'm using Slackware 11.0 with KDE 3.5.6 and I've hit a bump that has to do with the kdemultimedia package and Akode. I have LAME 3.97 installed with CMake 2.4.6.

I checked out Akode through SVN with:

Quoted


svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/akode


after the kdemultimedia build, done with :

Quoted


./configure --prefix=/opt/kde --disable-debug --with-xine --with-theora --with-flac --with-vorbis --with-alsa


which returned this:

Quoted


aKode was not found. Without it the aKode aRts-plugin will not be
installed, and aRts will be unable to play many music formats.
You can find aKode in KDE's Subversion repository under
trunk/kdesupport/akode.



Seeing that, I checked Akode out, ran its build process with "cmake ." and "make -j2" - now I'm getting this whole bunch of message:

Quoted


bash-3.1$ make -j2
[ 5%] [ 10%] Building CXX object lib/CMakeFiles/akode.dir/audiobuffer.o
Building CXX object lib/CMakeFiles/akode.dir/pluginhandler.o
/home/burnstar/Development/akode/lib/akodelib.h:37: error: conflicting declaration 'typedef unsigned char int8_t'
/home/burnstar/Development/akode/lib/akodelib.h:36: error: 'int8_t' has a previous declaration as 'typedef signed char int8_t'
/home/burnstar/Development/akode/lib/akodelib.h:39: error: conflicting declaration 'typedef short unsigned int int16_t'
/home/burnstar/Development/akode/lib/akodelib.h:38: error: 'int16_t' has a previous declaration as 'typedef short int int16_t'
/home/burnstar/Development/akode/lib/audioconfiguration.h:44: error: expected `)' before 'val'
/home/burnstar/Development/akode/lib/audioconfiguration.h:45: error: 'uint8_t' does not name a type
/home/burnstar/Development/akode/lib/audioconfiguration.h:46: error: 'uint8_t' does not name a type
/home/burnstar/Development/akode/lib/audioconfiguration.h:47: error: 'uint8_t' does not name a type
/home/burnstar/Development/akode/lib/audioconfiguration.h:48: error: 'uint8_t' does not name a type
/home/burnstar/Development/akode/lib/audioconfiguration.h:49: error: 'uint8_t' does not name a type
/home/burnstar/Development/akode/lib/audioconfiguration.h:50: error: expected type-specifier before 'uint8_t'
/home/burnstar/Development/akode/lib/audioconfiguration.h: In constructor 'aKode::SurroundConfiguration::SurroundConfiguration()':
/home/burnstar/Development/akode/lib/audioconfiguration.h:39: error: class 'aKode::SurroundConfiguration' does not have any field named 'front_channels'
/home/burnstar/Development/akode/lib/audioconfiguration.h:40: error: class 'aKode::SurroundConfiguration' does not have any field named 'rear_channels'
/home/burnstar/Development/akode/lib/audioconfiguration.h:41: error: class 'aKode::SurroundConfiguration' does not have any field named 'side_channels'
/home/burnstar/Development/akode/lib/audioconfiguration.h:42: error: class 'aKode::SurroundConfiguration' does not have any field named 'LFE_channel'
/home/burnstar/Development/akode/lib/audioconfiguration.h:43: error: class 'aKode::SurroundConfiguration' does not have any field named 'reserved'
/home/burnstar/Development/akode/lib/audioconfiguration.h: At global scope:
/home/burnstar/Development/akode/lib/audioconfiguration.h:79: error: 'uint8_t' does not name a type
/home/burnstar/Development/akode/lib/audioconfiguration.h:81: error: 'uint8_t' does not name a type
/home/burnstar/Development/akode/lib/audioconfiguration.h:83: error: 'uint8_t' does not name a type
/home/burnstar/Development/akode/lib/audioconfiguration.h: In constructor 'aKode::AudioConfiguration::AudioConfiguration()':
/home/burnstar/Development/akode/lib/audioconfiguration.h:73: error: class 'aKode::AudioConfiguration' does not have any field named 'channels'
/home/burnstar/Development/akode/lib/audioconfiguration.h:74: error: class 'aKode::AudioConfiguration' does not have any field named 'channel_config'
/home/burnstar/Development/akode/lib/audioconfiguration.h:75: error: class 'aKode::AudioConfiguration' does not have any field named 'surround_config'
/home/burnstar/Development/akode/lib/audioframe.h: At global scope:
/home/burnstar/Development/akode/lib/audioframe.h:54: error: 'uint8_t' has not been declared
/home/burnstar/Development/akode/lib/audioframe.h: In member function 'void aKode::AudioFrame::reserveSpace(const aKode::AudioConfiguration*, long int)':
/home/burnstar/Development/akode/lib/audioframe.h:49: error: 'const struct aKode::AudioConfiguration' has no member named 'channels'
/home/burnstar/Development/akode/lib/audioframe.h:51: error: 'channel_config' was not declared in this scope
/home/burnstar/Development/akode/lib/audioframe.h:51: error: 'const struct aKode::AudioConfiguration' has no member named 'channel_config'
/home/burnstar/Development/akode/lib/audioframe.h:52: error: 'surround_config' was not declared in this scope
/home/burnstar/Development/akode/lib/audioframe.h:52: error: 'const struct aKode::AudioConfiguration' has no member named 'surround_config'
/home/burnstar/Development/akode/lib/audioframe.h: In member function 'void aKode::AudioFrame::reserveSpace(int, long int, int8_t)':
/home/burnstar/Development/akode/lib/audioframe.h:55: error: 'channels' was not declared in this scope
/home/burnstar/Development/akode/lib/audioframe.h:62: error: 'channels' was not declared in this scope
/home/burnstar/Development/akode/lib/audioframe.h: In member function 'void aKode::AudioFrame::freeSpace()':
/home/burnstar/Development/akode/lib/audioframe.h:87: error: 'channels' was not declared in this scope
make[2]: *** [lib/CMakeFiles/akode.dir/audiobuffer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/burnstar/Development/akode/lib/akodelib.h:37: error: conflicting declaration 'typedef unsigned char int8_t'
/home/burnstar/Development/akode/lib/akodelib.h:36: error: 'int8_t' has a previous declaration as 'typedef signed char int8_t'
/home/burnstar/Development/akode/lib/akodelib.h:39: error: conflicting declaration 'typedef short unsigned int int16_t'
/home/burnstar/Development/akode/lib/akodelib.h:38: error: 'int16_t' has a previous declaration as 'typedef short int int16_t'
make[2]: *** [lib/CMakeFiles/akode.dir/pluginhandler.o] Error 1
make[1]: *** [lib/CMakeFiles/akode.dir/all] Error 2
make: *** [all] Error 2


Is there a specific revision of Akode that I should check out to eliminate this warning?

This post has been edited 3 times, last edit by "replicant10000" (Apr 4th 2007, 11:21pm)