I wasn't able to run the patch file
, but I did figure out what needed to be removed.
Code:
#endif
#define JPEG_INTERNALS /* Include "jpegint.h" for "DSTATE_*" symbols */
#undef INLINE
-#ifdef _LINUX
-#include <jpeglib.h>
-#else
#include "../jpeg/jpeglib.h"
-#endif
#undef JPEG_INTERNALS
For future reference on any other newbs coming to this thread (like me)
. You simply remove the lines of code that have the "-" character in front of it in the file ~/svn/xbmc/XBMC/xbmc/lib/cximage-6.0/tiff/tif_ojpeg.c (or where ever you saved the svn files).
Another Note
On another note... I did get past that error and ran into a dbus error because I'm running an x86_64 system. That was easily fixed with doing a symbolic link.
planetvortex Wrote:ln -s /usr/lib64/dbus-1.0/include/dbus/dbus-arch-deps.h /usr/include/dbus-1.0/dbus
./configure --libdir=/lib64
...but now I'm running into another error. What I find really confusing is I don't see any threads about these errors on your forums. As if the only folks, in the Linux community, running this software is on Ubuntu or well off enough to know how to get arounds these compile-quirks.
So; right now I'm getting a 'dvdnav.o' error and I'm considering starting another thread just so external/internal searches will pick up this kind of thing. What do you think?
Code:
creating csstest
make[4]: Leaving directory `/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss/test'
Making all in doc
make[4]: Entering directory `/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss/doc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss/doc'
make[4]: Entering directory `/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss'
make[4]: Leaving directory `/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss'
make[3]: Leaving directory `/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss'
make[2]: Leaving directory `/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss'
make -C libdvdread
make[2]: Entering directory `/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdread'
sh "/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdread"/version.sh "/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdread" "4.1.3"
cd obj && ar rc libdvdread.a dvd_input.o dvd_reader.o dvd_udf.o ifo_print.o ifo_read.o md5.o nav_print.o nav_read.o bitreader.o
cd obj && ranlib libdvdread.a
sed -e 's,@prefix@,/usr/local,' -e 's,@exec_prefix@,/usr/local,' -e 's,@libdir@,/usr/local/lib,' -e 's,@includedir@,/usr/local/include,' -e 's,@VERSION@,4.1.3,' misc/dvdread.pc.in > obj/dvdread.pc
make[2]: Leaving directory `/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdread'
make -C libdvdnav
make[2]: Entering directory `/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdnav'
sh "/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdnav"/version.sh "/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdnav" "4.1.3"
make[2]: *** No rule to make target `/usr/lib/gcc/x86_64-redhat-linux/4.4.0/include/stddef.h', needed by `dvdnav.o'. Stop.
make[2]: Leaving directory `/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdnav'
make[1]: *** [libdvdnav] Error 2
make[1]: Leaving directory `/home/marc/svn/xbmc/XBMC/xbmc/cores/dvdplayer/Codecs/libdvd'
make: *** [dvdpcodecs] Error 2
[marc@fergatron XBMC]$ ^C
[marc@fergatron XBMC]$