PDA

View Full Version : WMAcodec barf! in 9960-9970


4tunesfool
2007-08-17, 11:14
It's been a bit of time since I've managed a successful build so I put in a bit of time last night to get myself working again. I've cleaned up, reinstalled and followed the new instructions.

All goes well (nice build.sh script, thanks for creating it) until it hits the last part of the make when it consistently hits this error. This error has been there from 9960 up to current (9970)

Cheers

make[1]: Entering directory `/home/xbmc/XBMC'
g++ -O2 -o XboxMediaCenter xbmc/*.o xbmc/settings/*.o xbmc/cdrip/*.o guilib/*.o guilib/tinyXML/*.o guilib/common/*.o xbmc/FileSystem/*.o xbmc/FileSystem/VideoDatabaseDirectory/*.o xbmc/FileSystem/MusicDatabaseDirectory/*.o xbmc/visualizations/*.o xbmc/cores/*.o xbmc/cores/paplayer/*.o xbmc/linux/*.o xbmc/lib/sqlLite/*.o xbmc/lib/libscrobbler/*.o xbmc/lib/libPython/*.o xbmc/lib/libPython/xbmcmodule/*.o xbmc/xbox/*.o xbmc/cores/DllLoader/*.o xbmc/cores/DllLoader/exports/*.o xbmc/cores/DllLoader/exports/util/*.o xbmc/utils/*.o xbmc/lib/UnrarXLib/*.o xbmc/lib/libGoAhead/*.o xbmc/cores/dvdplayer/*.o xbmc/cores/dvdplayer/DVDSubtitles/*.o xbmc/cores/dvdplayer/DVDInputStreams/*.o xbmc/cores/dvdplayer/DVDCodecs/*.o xbmc/cores/dvdplayer/DVDCodecs/Audio/*.o xbmc/cores/dvdplayer/DVDCodecs/Video/*.o xbmc/cores/dvdplayer/DVDCodecs/Overlay/*.o xbmc/cores/dvdplayer/DVDDemuxers/*.o xbmc/cores/dvdplayer/DVDCodecs/Overlay/libspucc/*.o xbmc/cores/VideoRenderers/*.o xbmc/lib/libGoAhead/libGoAheadD-i486-linux.a xbmc/lib/libXBMS/libxbms-i486-linux.a xbmc/lib/libUPnP/libupnp-i486-linux.a xbmc/lib/libshout/libshout-i486-linux.a xbmc/lib/libRTV/librtv-i486-linux.a xbmc/lib/libXDAAP/libxdaap-i486-linux.a -lasound -lsqlite3 -lsmbclient -llzo -lfribidi -lfreetype -ldl -lcdio -lSDL_mixer -lSDL_image -lSDL -lXinerama -lGLU -lGLEW -lGL -rdynamic
xbmc/cores/paplayer/WMACodec.o: In function `WMACodec::DeInit()':
WMACodec.cpp:(.text+0x0): multiple definition of `WMACodec::DeInit()'
xbmc/cores/paplayer/WMACodec-linux.o:WMACodec-linux.cpp:(.text+0x0): first defined here
xbmc/cores/paplayer/WMACodec.o: In function `WMACodec::CanInit()':
WMACodec.cpp:(.text+0xa0): multiple definition of `WMACodec::CanInit()'
xbmc/cores/paplayer/WMACodec-linux.o:WMACodec-linux.cpp:(.text+0xa0): first defined here
xbmc/cores/paplayer/WMACodec.o: In function `WMACodec::Init(CStdStr<char> const&, unsigned int)':
WMACodec.cpp:(.text+0xc0): multiple definition of `WMACodec::Init(CStdStr<char> const&, unsigned int)'
xbmc/cores/paplayer/WMACodec-linux.o:WMACodec-linux.cpp:(.text+0xc0): first defined here
xbmc/cores/paplayer/WMACodec.o: In function `WMACodec::ReadPCM(unsigned char*, int, int*)':
WMACodec.cpp:(.text+0x140): multiple definition of `WMACodec::ReadPCM(unsigned char*, int, int*)'
xbmc/cores/paplayer/WMACodec-linux.o:WMACodec-linux.cpp:(.text+0x140): first defined here
xbmc/cores/paplayer/WMACodec.o: In function `WMACodec::Seek(long long)':
WMACodec.cpp:(.text+0x270): multiple definition of `WMACodec::Seek(long long)'
xbmc/cores/paplayer/WMACodec-linux.o:WMACodec-linux.cpp:(.text+0x270): first defined here
xbmc/cores/paplayer/WMACodec.o: In function `WMACodec::~WMACodec()':
WMACodec.cpp:(.text+0x350): multiple definition of `WMACodec::~WMACodec()'
xbmc/cores/paplayer/WMACodec-linux.o:WMACodec-linux.cpp:(.text+0x350): first defined here
xbmc/cores/paplayer/WMACodec.o: In function `WMACodec::WMACodec()':
WMACodec.cpp:(.text+0x4d0): multiple definition of `WMACodec::WMACodec()'
xbmc/cores/paplayer/WMACodec-linux.o:WMACodec-linux.cpp:(.text+0x4d0): first defined here
xbmc/cores/paplayer/WMACodec.o: In function `WMACodec::~WMACodec()':
WMACodec.cpp:(.text+0xa90): multiple definition of `WMACodec::~WMACodec()'
xbmc/cores/paplayer/WMACodec-linux.o:WMACodec-linux.cpp:(.text+0xa90): first defined here
xbmc/cores/paplayer/WMACodec.o: In function `WMACodec::~WMACodec()':
WMACodec.cpp:(.text+0xc10): multiple definition of `WMACodec::~WMACodec()'
xbmc/cores/paplayer/WMACodec-linux.o:WMACodec-linux.cpp:(.text+0xc10): first defined here
xbmc/cores/paplayer/WMACodec.o: In function `WMACodec::WMACodec()':
WMACodec.cpp:(.text+0xd90): multiple definition of `WMACodec::WMACodec()'
xbmc/cores/paplayer/WMACodec-linux.o:WMACodec-linux.cpp:(.text+0xd90): first defined here
collect2: ld returned 1 exit status
make[1]: *** [XboxMediaCenter] Error 1
make[1]: Leaving directory `/home/xbmc/XBMC'
make: *** [all] Error 2
make: Leaving directory `/home/xbmc/XBMC'
make[1]: *** [XboxMediaCenter] Error 1
make: *** [all] Error 2

spiff
2007-08-17, 11:15
delete wmacodec-linux.o

nothing is broken

althekiller
2007-08-17, 21:12
I think a Make file needs an rm -f wmacode-linux.o...
Too many people bitching about this.

mbuchoff
2007-08-20, 15:22
Shouldn't the make clean in the script take care of this?

spiff
2007-08-21, 11:28
no, the file isnt there any longer, just an old object file.