2008-08-11, 23:59
Hi,
First of all I'm not autoconf, configure etc. guru so patch below may be not the best solution of the problem. Anyway - recently Goom was added to standard build procedure:
http://xbmc.svn.sourceforge.net/viewvc/x...sion=14830
That breaks build on AMD64. It compiles fine but during linking stage it complains about goom that it needs to be compiled with -fPIC. So below is patch that fixes this problem. I don't know if it's the correct way to fix this but it works After running autoconf to rebuild configure of course.
I tested this on AMD64 platform. I don't have any 32 bit machine to test it.
Hope it helps.
Adam
First of all I'm not autoconf, configure etc. guru so patch below may be not the best solution of the problem. Anyway - recently Goom was added to standard build procedure:
http://xbmc.svn.sourceforge.net/viewvc/x...sion=14830
That breaks build on AMD64. It compiles fine but during linking stage it complains about goom that it needs to be compiled with -fPIC. So below is patch that fixes this problem. I don't know if it's the correct way to fix this but it works After running autoconf to rebuild configure of course.
I tested this on AMD64 platform. I don't have any 32 bit machine to test it.
Code:
--- /home/szwagros/sources/XBMC/configure.in 2008-08-11 23:32:22.000000000 +0200
+++ /home/szwagros/sources/XBMC_work/configure.in 2008-08-11 22:36:26.000000000 +0200
@@ -475,7 +475,7 @@
XB_CONFIG_MODULE([xbmc/lib/libass], [CFLAGS=-fPIC ./configure])
XB_CONFIG_MODULE([xbmc/lib/libid3tag/libid3tag],[CFLAGS=-O3 ./configure --disable-static --disable-debugging --with-pic])
XB_CONFIG_MODULE([xbmc/visualizations/XBMCProjectM/libprojectM],[rm -f CMakeCache.txt && CC="" CXX="" cmake -D CMAKE_BUILD_TYPE:STRING=RelWithDebInfo -D USE_FTGL:BOOL=OFF .])
-XB_CONFIG_MODULE([xbmc/visualizations/Goom/goom2k4-0],[./configure --disable-shared --enable-static])
+XB_CONFIG_MODULE([xbmc/visualizations/Goom/goom2k4-0],[CFLAGS=-fPIC ./configure --disable-shared --enable-static])
XB_CONFIG_MODULE([xbmc/screensavers/rsxs-0.9/], [CFLAGS=-fPIC CXXFLAGS=-fPIC ./configure --without-xscreensaver --disable-sound --disable-cyclone --disable-fieldlines --disable-flocks --disable-flux --disable-helios --disable-hyperspace --disable-lattice --disable-skyrocket])
AC_OUTPUT
Hope it helps.
Adam