XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Linux and XBMC Live Specific Support

XBMC for Linux and XBMC Live Specific Support Need help with XBMC for Linux or XBMC Live, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2007-10-12, 22:50   #1
Deff
Member
 
Join Date: Sep 2006
Posts: 40
Deff is on a distinguished road
Question Debian Etch - compiling XBMC?

I know there is no support etc... but has anyone compiled on Etch? I compiled it several times on sid/lenny but I had to drop back to Etch as sid/lenny wasn't reliable enough for my server.
Is there anything I could be missing that would cause it to not compile?

Code:
make XboxMediaCenter
make[1]: Entering directory `/home/gary/XBMC'
g++ -g -Wformat -D_DEBUG -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/cores/VideoRenderers/VideoShaders/*.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 -lrt -lasound -lsqlite3 -lsmbclient -llzo -lfribidi -lfreetype -ldl -lcdio -lSDL_mixer -lSDL_image -lSDL -lXinerama -lGLU -lGLEW -lGL  -rdynamic
xbmc/utils/Network.o: In function `CNetwork::NetworkMessage(CNetwork::EMESSAGE, unsigned long)':
/home/gary/XBMC/xbmc/utils/Network.cpp:76: multiple definition of `CNetwork::NetworkMessage(CNetwork::EMESSAGE, unsigned long)'
xbmc/xbox/Network.o:/home/gary/XBMC/xbmc/xbox/Network.cpp:527: first defined here
xbmc/utils/Network.o: In function `CNetwork':
/home/gary/XBMC/xbmc/utils/Network.cpp:6: multiple definition of `CNetwork::CNetwork()'
xbmc/xbox/Network.o:/home/gary/XBMC/xbmc/xbox/Network.cpp:436: first defined here
/usr/bin/ld: Warning: size of symbol `CNetwork::CNetwork()' changed from 81 in xbmc/xbox/Network.o to 54 in xbmc/utils/Network.o
xbmc/utils/Network.o: In function `CNetwork':
/home/gary/XBMC/xbmc/utils/Network.cpp:6: multiple definition of `CNetwork::CNetwork()'
xbmc/xbox/Network.o:/home/gary/XBMC/xbmc/xbox/Network.cpp:436: first defined here
/usr/bin/ld: Warning: size of symbol `CNetwork::CNetwork()' changed from 81 in xbmc/xbox/Network.o to 54 in xbmc/utils/Network.o
xbmc/utils/Network.o: In function `~CNetwork':
/home/gary/XBMC/xbmc/utils/Network.cpp:11: multiple definition of `CNetwork::~CNetwork()'
xbmc/xbox/Network.o:/home/gary/XBMC/xbmc/xbox/Network.cpp:445: first defined here
/usr/bin/ld: Warning: size of symbol `CNetwork::~CNetwork()' changed from 19 in xbmc/xbox/Network.o to 74 in xbmc/utils/Network.o
xbmc/utils/Network.o: In function `~CNetwork':
/home/gary/XBMC/xbmc/utils/Network.cpp:11: multiple definition of `CNetwork::~CNetwork()'
xbmc/xbox/Network.o:/home/gary/XBMC/xbmc/xbox/Network.cpp:445: first defined here
/usr/bin/ld: Warning: size of symbol `CNetwork::~CNetwork()' changed from 19 in xbmc/xbox/Network.o to 74 in xbmc/utils/Network.o
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[1]: *** [XboxMediaCenter] Error 1
make[1]: Leaving directory `/home/gary/XBMC'
make: *** [all] Error 2
make: Leaving directory `/home/gary/XBMC'
Deff is offline   Reply With Quote
Old 2007-10-12, 22:52   #2
Deff
Member
 
Join Date: Sep 2006
Posts: 40
Deff is on a distinguished road
Default

doing ./build.sh by the way
Deff is offline   Reply With Quote
Old 2007-10-12, 23:00   #3
matt_cyr
Fan
 
matt_cyr's Avatar
 
Join Date: Oct 2007
Posts: 344
matt_cyr is on a distinguished road
Default

you need to install libgl i think.
matt_cyr is offline   Reply With Quote
Old 2007-10-15, 07:44   #4
Deff
Member
 
Join Date: Sep 2006
Posts: 40
Deff is on a distinguished road
Default

Nope got that.
Deff is offline   Reply With Quote
Old 2008-04-20, 23:51   #5
Zouu
Junior Member
 
Join Date: Apr 2008
Posts: 7
Zouu is on a distinguished road
Default

Finaly did you success to run XBMC on Debian etch?

How did you do?
Zouu is offline   Reply With Quote
Old 2008-04-21, 16:06   #6
rrambo
Senior Member
 
Join Date: Jul 2007
Posts: 108
rrambo is on a distinguished road
Default

I never got it to run on etch... but then again, I got frustrated with it and really didn't try hard... just installed 7.10 server and went from there with no problems
rrambo is offline   Reply With Quote
Old 2008-04-21, 20:25   #7
althekiller
Team-XBMC Developer
 
althekiller's Avatar
 
Join Date: May 2004
Posts: 4,056
althekiller is on a distinguished road
Default

Zouu, if you're going to hijack an ancient thread, can you at least post what problems you're having? Just because it didn't work back in October doesn't mean it won't/will now.
althekiller is offline   Reply With Quote
Old 2008-04-21, 22:48   #8
Zouu
Junior Member
 
Join Date: Apr 2008
Posts: 7
Zouu is on a distinguished road
Default

ow ok sorry

So I go the error when I "make" it.

Here is the last lines of the ./configure out put:

Code:
...
...
checking for utime... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for /usr/lib/python2.4/config/libpython2.4-pic.a... yes
ccache not found. Falling back to default CC
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.include
config.status: creating xbmc/lib/libPython/linux/Makefile
config.status: creating xbmc/lib/libUPnP/Makefile
config.status: creating config.h

------------------------
  XBMC Configuration:
------------------------
  Debugging:    Yes
  Profiling:    No
  OpenGL:       Yes
  Joystick:     Yes
  XRandR:       Yes
  MMS:          Yes
  PCRE Support: Yes
  Automount:    No
  ccache:       No
------------------------
Is it normal that it detect an "i686-pc-linux-gnu"? I think I've an i386 (Pentium4 3Ghz - HT).

Ok now the make's last output lines (I do a make clean juste beafore lunching make command)

Code:
g++ -c -D__STDC_FORMAT_MACROS -g -D_DEBUG -Wall -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_MMS -DHAS_PCRE -D'SVN_REV="12743"' -I. -I../ -I../linux -I../../guilib -I../lib/UnrarXLib -I../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../lib/libUPnP/Platinum/ThirdParty/Neptune/Source/Core -I../lib/libUPnP/Platinum/Source/Core -I../lib/libUPnP/Platinum/Source/Devices/MediaServer -I../lib/libUPnP/Platinum/ThirdParty/Neptune/Source/System/Posix NptXbmcFile.cpp -o NptXbmcFile.o
rm -f CacheMemBuffer.o
g++ -c -D__STDC_FORMAT_MACROS -g -D_DEBUG -Wall -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_MMS -DHAS_PCRE -D'SVN_REV="12743"' -I. -I../ -I../linux -I../../guilib -I../lib/UnrarXLib -I../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../lib/libUPnP/Platinum/ThirdParty/Neptune/Source/Core -I../lib/libUPnP/Platinum/Source/Core -I../lib/libUPnP/Platinum/Source/Devices/MediaServer -I../lib/libUPnP/Platinum/ThirdParty/Neptune/Source/System/Posix CacheMemBuffer.cpp -o CacheMemBuffer.o
rm -f FileMMS.o
g++ -c -D__STDC_FORMAT_MACROS -g -D_DEBUG -Wall -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_MMS -DHAS_PCRE -D'SVN_REV="12743"' -I. -I../ -I../linux -I../../guilib -I../lib/UnrarXLib -I../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../lib/libUPnP/Platinum/ThirdParty/Neptune/Source/Core -I../lib/libUPnP/Platinum/Source/Core -I../lib/libUPnP/Platinum/Source/Devices/MediaServer -I../lib/libUPnP/Platinum/ThirdParty/Neptune/Source/System/Posix FileMMS.cpp -o FileMMS.o
FileMMS.cpp: In member function ‘virtual long long int XFILE::CFileMMS::Seek(long long int, int)’:
FileMMS.cpp:49: error: ‘mms_seek’ was not declared in this scope
make[1]: *** [FileMMS.o] Erreur 1
make[1]: quittant le répertoire « /install/XBMC/sources/xbmc/FileSystem »
make: *** [filesystem] Erreur 2
zou@PC-Zou:/install/XBMC/sources$
And if I try the command : ./build.sh NOUPDATE, here is the last outputs
Code:
g++ -c -g -D_DEBUG -Wall -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_MMS -DHAS_PCRE -D'SVN_REV="12743"' -I. -Ilinux -Icores -I../guilib -Iutils -Ilib/libUPnP/Platinum/ThirdParty/Neptune/Source/Core -Ilib/libUPnP/Platinum/Source/Core -Ilib/libUPnP/Platinum/Source/Devices/MediaServer -Ilib/libUPnP/Platinum/ThirdParty/Neptune/Source/System/Posix -Ilib/libUPnP/Platinum/Source/Devices/MediaConnect -Ilib/libUPnP/Platinum/Source/Devices/MediaRenderer Artist.cpp -o Artist.o
rm -f Album.o
g++ -c -g -D_DEBUG -Wall -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_MMS -DHAS_PCRE -D'SVN_REV="12743"' -I. -Ilinux -Icores -I../guilib -Iutils -Ilib/libUPnP/Platinum/ThirdParty/Neptune/Source/Core -Ilib/libUPnP/Platinum/Source/Core -Ilib/libUPnP/Platinum/Source/Devices/MediaServer -Ilib/libUPnP/Platinum/ThirdParty/Neptune/Source/System/Posix -Ilib/libUPnP/Platinum/Source/Devices/MediaConnect -Ilib/libUPnP/Platinum/Source/Devices/MediaRenderer Album.cpp -o Album.o
make[1]: quittant le répertoire « /install/XBMC/sources/xbmc »
make: quittant le répertoire « /install/XBMC/sources »
 Generating Changelog.txt
 Backing up old ./BUILD to ./BUILD.bak.
 Creating ./BUILD.
 Copying xbmc-xrandr

 FAILED! Exiting. (1)
zou@PC-Zou:/install/XBMC/sources$
And no executable in the BUILD folder.

If you think you have an idea, fell free to say it.

Anyway thx for your attention
Zouu is offline   Reply With Quote
Old 2008-04-21, 23:08   #9
Zouu
Junior Member
 
Join Date: Apr 2008
Posts: 7
Zouu is on a distinguished road
Default

And I forgot to say which set of pakage I've installed, here is it :

make g++-4.1 gcc-4.1 libsdl1.2-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-sound1.2-dev libsdl-stretch-dev libfribidi0 libfribidi-dev liblzo1 liblzo-dev libfreetype6 libfreetype6-dev libsqlite3-0 libsqlite3-dev libogg-dev libasound2-dev python2.4-dev python2.4 python-sqlite libglew1 libglew-dev libcurl3-dev g++ gawk x11proto-xinerama-dev libxinerama-dev libxrandr-dev libxrender-dev libmms-dev pmount libmad0-dev libtre-dev libogg-dev libvorbis-dev libmysqlclient15-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-1.701-1 libjasper-1.701-dev libjasper-dev libjasper-runtime

In bold, the pakage who are different from the require pakage :
- I switch libglew1.4 to libglew1 and libglew1.4-dev to libglew-dev
- libjasper1 doe'nt exist for Debian etch so I use libjasper-1.701-1 and I add the libjasper-1.701-dev, libjasper-dev and libjasper-runtime pakages.
Zouu is offline   Reply With Quote
Old 2008-04-21, 23:37   #10
althekiller
Team-XBMC Developer
 
althekiller's Avatar
 
Join Date: May 2004
Posts: 4,056
althekiller is on a distinguished road
Default

Your libmms is outdated. Try to uninstall it from apt and install it from libmms svn repo.
althekiller is offline   Reply With Quote
Reply

Bookmarks

Tags
debian


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:18.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project