LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 09-10-2012, 10:33 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Building xbmc on Slackware 14


I'm trying to build an older version of xbmc (9.04) on Slackware 14. I've cobbled together a few patches but now the build always fails like this:

Code:
make[1]: Leaving directory `/dev/shm/9.04.1_Babylon-linux-osx-win32/XBMC/xbmc/settings'
g++ -O2 -fPIC -I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include -O2 -O2 -fPIC -I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include -O2 -DNDEBUG=1 -DNDEBUG=1 -o xbmc.bin -Wl,--whole-archive guilib/guilib.a guilib/common/gui_common.a guilib/tinyXML/tinyxml.a xbmc/xbmc.a xbmc/cdrip/cdrip.a xbmc/cores/cores.a xbmc/cores/DllLoader/dllloader.a xbmc/cores/DllLoader/exports/exports.a xbmc/cores/DllLoader/exports/util/exports_utils.a xbmc/cores/dvdplayer/DVDPlayer.a xbmc/cores/dvdplayer/DVDCodecs/DVDCodecs.a xbmc/cores/dvdplayer/DVDCodecs/Audio/Audio.a xbmc/cores/dvdplayer/DVDCodecs/Overlay/Overlay.a xbmc/cores/dvdplayer/DVDCodecs/Video/Video.a xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxers.a xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreams.a xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitles.a xbmc/cores/paplayer/paplayer.a xbmc/cores/AudioRenderers/audiorenderers.a xbmc/cores/VideoRenderers/VideoRenderer.a xbmc/cores/VideoRenderers/VideoShaders/VideoShaders.a xbmc/cores/ExternalPlayer/ExternalPlayer.a xbmc/FileSystem/filesystem.a xbmc/FileSystem/MusicDatabaseDirectory/musicdatabasedirectory.a xbmc/FileSystem/VideoDatabaseDirectory/videodatabasedirectory.a xbmc/karaoke/karaoke.a xbmc/lib/libcmyth/libcmyth.a xbmc/lib/libhts/libhts.a xbmc/lib/libPython/python.a xbmc/lib/libPython/xbmcmodule/xbmcmodule.a xbmc/lib/libRTMP/librtmp.a xbmc/lib/libscrobbler/scrobbler.a xbmc/lib/libRTV/librtv-x86_64-linux.a xbmc/lib/libshout/libshout-x86_64-linux.a xbmc/lib/libUPnP/libupnp-x86_64-linux.a xbmc/lib/libXBMS/libxbms-x86_64-linux.a xbmc/lib/libXDAAP/libxdaap-x86_64-linux.a xbmc/lib/libGoAhead/libGoAhead-x86_64-linux.a xbmc/lib/sqLite/sqllite.a xbmc/lib/UnrarXLib/UnrarXLib.a xbmc/linux/linux.a xbmc/screensavers/screensaver.a xbmc/settings/settings.a xbmc/utils/utils.a xbmc/visualizations/visualization.a xbmc/xbox/xbox.a xbmc/lib/libsmb/libsmbclient-x86_64-linux.a -Wl,--no-whole-archive -lXrandr -lfaac -lhal-storage -ldbus-1 -lcurl -lXinerama -lXmu -lXt -ljasper -lenca -lresolv -ldl -lSDL_mixer -lSDL_image -lSDL -lcdio -llzo2 -lpcre -ljpeg -lpng12 -lrt -lasound -lmysqlclient -lsqlite3 -lfribidi -lbz2 -lfontconfig -lfreetype -lvorbis -logg -lmad -lGLU -lGLEW -lGL   -rdynamic
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: guilib/guilib.a(Surface.o): undefined reference to symbol 'XResizeWindow'
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: note: 'XResizeWindow' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [xbmc.bin] Error 1
After searching the web, I more or less understand that I need to link X11 (-lX11) or something similar. I tried editing xbmc-9.04.1/XBMC/guilib/Makefile to no avail.

I'd appreciate help as to what I should be linking and where to add.

Thanks.

P.S. I'm not interested in newer versions of xbmc.
 
Old 09-10-2012, 11:10 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,623

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
try adding -lX11
Code:
export CFLAGS="$SLKCFLAGS -lX11"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using XBMC 10.0 slackbuild to compile XBMC 11.0 almost works farmerdave Slackware 20 06-11-2012 02:05 PM
PS3 Media Server on Slackware (and advice on XBMC) spudgunner Slackware 6 01-31-2012 08:32 AM
LXer: XBMC 10.0 "Dharma" Beta 2 Released, How to Install Latest XBMC Beta in Ubuntu LXer Syndicated Linux News 0 09-15-2010 11:20 PM
need xbmc svn slackware packages kite Slackware 3 10-06-2009 09:54 PM
Building a Slackware PC Odin_of_Asgard Linux - Hardware 1 03-13-2004 12:01 PM


All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration