Posts: 4,997
Joined: May 2004
Reputation:
12
Try "./configure CFLAGS=-fno-stack-protector" for both.
Posts: 86
Joined: May 2006
Reputation:
2
Hi,
I'm using debian sid and xbmc is compiling fine.
I can remember some issues with libmms(-dev) some time ago, maybe you can just download and install it from testing or unstable repository, if dependencies allow.
regards
f
freaksworth is not connected to or in any other way affiliated with XBMC, Team XBMC, or the XBMC Foundation.
Posts: 4,997
Joined: May 2004
Reputation:
12
Looks like you don't have hal-dev and dbus-dev installed.
Please post english translations to the gcc errors. This is an english only forum.
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
You need libhal-storage-dev aswell
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Posts: 25
Joined: Aug 2008
Reputation:
0
I was going to try running xbmc on my debian etch box. Running xbmc as my xsession so there is not desktop running in the background.
I know it is not supported, I just need a suggestion. I have the list of dependency packaged from the readme. The package names are listed for installing on fiesty, gutsy, and hardy. Which list should I try to apt from? Any tips would also be appreciated.
Posts: 1,062
Joined: May 2004
Reputation:
0
malloc
Team-XBMC Developer
Posts: 1,062
All lists are basically the same. The only difference should be versions in the name (but hopefully not versions with API differences). Install everything you see in the list and see what happens. There's also a list on the first page of this thread of the packages someone else tried.
Posts: 4,997
Joined: May 2004
Reputation:
12
We *should* be checking for all of the dependencies with configure. So in the event that anything is missed, it shouldn't be to terrible to hunt down the proper package.
Posts: 5,008
Joined: Sep 2003
Reputation:
30
pike
Team Kodi Admin
Posts: 5,008
If it's possible to do this check, I agree fully
Posts: 4,997
Joined: May 2004
Reputation:
12
I said *should* cause last I checked we DID do all of the checks. Completely possible that I missed something.
Posts: 7
Joined: Aug 2008
Reputation:
0
Hi everybody,
I'm newbie in this forum, I 'm trying to compile xbmc from sources in Debian Etch, compilation goes well but linkage problems with undefined reference....
Anybody knows what to do?
Thanks, and sorry for my English.
uname -a:
Linux sendatel 2.6.24-etchnhalf.1-686 #1 SMP Mon Jul 21 11:17:43 UTC 2008 i686 GNU/Linux
make output:
make[1]: se sale del directorio `/home/user/xbmc/XBMC/xbmc/visualizations'
g++ -g -D_DEBUG -Wall -o xbmc.bin -lhal-storage -ldbus-1 -lcurl -lpcre -lXrandr -lXmu -lXt -lenca -lfaac -ljpeg -ljasper -lpng12 -lresolv -lrt -lasound -lmysqlclient -lsqlite3 -llzo -lfribidi -lbz2 -lfontconfig -lfreetype -ldl -lSDL_mixer -lSDL_image -lSDL -lvorbis -logg -ltre -lmad -lXinerama -lGLU -lGLEW -lGL guilib/*.o guilib/common/*.o guilib/tinyXML/*.o xbmc/*.o xbmc/cdrip/*.o xbmc/cores/*.o xbmc/cores/DllLoader/*.o xbmc/cores/DllLoader/exports/*.o xbmc/cores/DllLoader/exports/util/*.o xbmc/cores/dvdplayer/DVDPlayer.a xbmc/cores/paplayer/*.o xbmc/cores/VideoRenderers/*.o xbmc/cores/VideoRenderers/VideoShaders/*.o xbmc/FileSystem/*.o xbmc/FileSystem/MusicDatabaseDirectory/*.o xbmc/FileSystem/VideoDatabaseDirectory/*.o xbmc/lib/libcdio/libcdio-i486-linux.a xbmc/lib/libcmyth/*.o xbmc/lib/libGoAhead/libGoAhead-i486-linux.a xbmc/lib/libPython/*.o xbmc/lib/libPython/xbmcmodule/*.o xbmc/lib/libRTMP/*.o xbmc/lib/libRTV/librtv-i486-linux.a xbmc/lib/libscrobbler/*.o xbmc/lib/libshout/libshout-i486-linux.a xbmc/lib/libsmb/libsmbclient-i486-linux.a xbmc/lib/libUPnP/libupnp-i486-linux.a xbmc/lib/libXBMS/libxbms-i486-linux.a xbmc/lib/libXDAAP/libxdaap-i486-linux.a xbmc/lib/sqLite/*.o xbmc/lib/UnrarXLib/*.o xbmc/linux/*.o xbmc/screensavers/*.o xbmc/settings/*.o xbmc/utils/*.o xbmc/visualizations/*.o xbmc/xbox/*.o -rdynamic
xbmc/lib/libcdio/libcdio-i486-linux.a(cdtext.o): In function `cdtext_data_init':
/home/topfs/libcdio-0.80/lib/driver/cdtext.c:253: referencia a `__stack_chk_fail' sin definir
xbmc/lib/libcdio/libcdio-i486-linux.a(device.o): In function `cdio_have_atapi':
/home/topfs/libcdio-0.80/lib/driver/device.c:843: referencia a `__stack_chk_fail' sin definir
xbmc/lib/libcdio/libcdio-i486-linux.a(device.o): In function `cdio_get_devices_with_cap_ret':
/home/topfs/libcdio-0.80/lib/driver/device.c:651: referencia a `__stack_chk_fail' sin definir
xbmc/lib/libcdio/libcdio-i486-linux.a(gnu_linux.o): In function `run_mmc_cmd_linux':
/home/topfs/libcdio-0.80/lib/driver/gnu_linux.c:1256: referencia a `__stack_chk_fail' sin definir
xbmc/lib/libcdio/libcdio-i486-linux.a(gnu_linux.o): In function `_read_mode2_sector_linux':
/home/topfs/libcdio-0.80/lib/driver/gnu_linux.c:1104: referencia a `__stack_chk_fail' sin definir
xbmc/lib/libcdio/libcdio-i486-linux.a(gnu_linux.o):/home/topfs/libcdio-0.80/lib/driver/gnu_linux.c:502: más referencias a `__stack_chk_fail' sin definir a continuación
xbmc/lib/sqLite/sqlitedataset.o: In function `dbiplus::SqliteDataset::query(char const*)':
/home/user/xbmc/XBMC/xbmc/lib/sqLite/sqlitedataset.cpp:439: referencia a `sqlite3_prepare_v2' sin definir
collect2: ld returned 1 exit status
make: *** [xbmc.bin] Error 1
Posts: 4,997
Joined: May 2004
Reputation:
12
You need to compile everything with -fno-stack-protector. A quick google would have turned this up.
Posts: 7
Joined: Aug 2008
Reputation:
0
2008-09-09, 17:23
allthekiller: I'm afraid it's not so easy for me...
which Makefile should I modify?
*"CFLAGS=-fno-stack-protector" in root directory Makefile doesn't work...
*this do not work either. (root directory Makefile)
xbmc.bin: compile $(wildcard $(OBJS) $(LIBS))
g++ -fno-stack-protector $(DEBUG_FLAGS) -o xbmc.bin $(OBJS) $(LIBS) -rdynamic
xbmc-xrandr: xbmc-xrandr.c
gcc -fno-stack-protector -g -o xbmc-xrandr xbmc-xrandr.c -lXrandr -lXrender -lX11
*and when we will solve things about stack-protector we have to deal with sqlite3_prepare_v2 (google says something about older versions in etch...)
xbmc/lib/sqLite/sqlitedataset.o: In function `dbiplus::SqliteDataset::query(char const*)':
/home/user/xbmc/XBMC/xbmc/lib/sqLite/sqlitedataset.cpp:439: referencia a `sqlite3_prepare_v2' sin definir
*I haven't got it yet. No progress at all.
Posts: 4,997
Joined: May 2004
Reputation:
12
Hmm, everything = libcdio. So in configure.in add CFLAGS=-fnostack-protector to the line where libcdio is configured, then run autoconf and finally reconfigure and build. As far as the sql stuff goes you're going to have to figure out when that function was added/removed and build a proper version of the library. If you can't handle this stuff on you're own, I'm going to have to suggest that you switch to a better supported distro.