Unable to build XBMC with CrystalHD driver from GIT
#1
I have been doing my own builds of XBMC (from the old SVN repository) on my Ubuntu Hardy equipped AppleTV for a long time, using the CrystalHD driver/libraries from Google's SVN repository. This has been working just fine.

I then recently checked out the XBMC source code using the new GIT respository which also works fine.

However, when updating the CrystalHD driver to the one in GIT (http://git.wilsonet.com/crystalhd.git) I get this error when running './configure --disable-pulse --enable-crystalhd' in the XBMC folder.

Code:
checking for libcrystalhd/libcrystalhd_if.h... no
configure: error: == Could not find libcrystalhd. CrystalHD support disabled. ==

What is the reason for this? Doing a 'make install' in either the SVN or GIT version of the CrystalHD library directory, the include files are copied just fine to the same location (even the makefiles in the two versions of the driver are identical)? Huh

Any suggestion is welcome!

Thanks in advance, Poul
Reply
#2
Afraid this will go unnoticed please allow me to give it a bump...
Reply
#3
please don't bump, it's annoying.

check config.log as to why the check for libcrystalhd_if.h failed.
Reply
#4
Sorry - you're right, bumping is pretty selfish.

Anyway, thanks for suggesting looking at the log file (embarrased). The output is here:

configure:34172: checking for libcrystalhd/libcrystalhd_if.h
configure:34193: gcc -c -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 conftest.c >&5
In file included from /usr/include/libcrystalhd/libcrystalhd_if.h:32,
from conftest.c:129:
/usr/include/libcrystalhd/bc_dts_defs.h:94: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:176: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:203: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:230: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:376: error: expected specifier-qualifier-list before 'uint64_t'
/usr/include/libcrystalhd/bc_dts_defs.h:432: error: expected declaration specifiers or '...' before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:432: error: expected declaration specifiers or '...' before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:432: error: expected declaration specifiers or '...' before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:442: error: expected specifier-qualifier-list before 'uint8_t'
/usr/include/libcrystalhd/bc_dts_defs.h:473: error: expected specifier-qualifier-list before 'uint8_t'
/usr/include/libcrystalhd/bc_dts_defs.h:535: error: expected specifier-qualifier-list before 'uint16_t'
/usr/include/libcrystalhd/bc_dts_defs.h:550: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:554: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:589: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:605: error: expected specifier-qualifier-list before 'uint8_t'
configure:34199: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "xbmc"
| #define PACKAGE_TARNAME "xbmc"
| #define PACKAGE_VERSION "9.11"
| #define PACKAGE_STRING "xbmc 9.11"
| #define PACKAGE_BUGREPORT "http://trac.xbmc.org"
| #define PACKAGE "xbmc"
| #define VERSION "9.11"
| #define LIRC_DEVICE "/dev/lircd"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CHOWN 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FSEEKO 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_ALARM 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define RETSIGTYPE void
| #define HAVE_STRCOLL 1
| #define HAVE_STRFTIME 1
| #define HAVE_UTIME_NULL 1
| #define HAVE_VPRINTF 1
| #define HAVE_ATEXIT 1
| #define HAVE_DUP2 1
| #define HAVE_FDATASYNC 1
| #define HAVE_FTIME 1
| #define HAVE_FTRUNCATE 1
| #define HAVE_GETCWD 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_GETPASS 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_INET_NTOA 1
| #define HAVE_LCHOWN 1
| #define HAVE_LOCALECONV 1
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_MKDIR 1
| #define HAVE_MODF 1
| #define HAVE_MUNMAP 1
| #define HAVE_RMDIR 1
| #define HAVE_SELECT 1
| #define HAVE_SETENV 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SOCKET 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRCHR 1
| #define HAVE_STRCSPN 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRPBRK 1
| #define HAVE_STRRCHR 1
| #define HAVE_STRSPN 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOL 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSINFO 1
| #define HAVE_TZSET 1
| #define HAVE_UTIME 1
| #define SIZEOF_INT 4
| #define SIZEOF_SIZE_T 4
| #define HAVE_LIBGL 1
| #define HAVE_LIBGLEW 1
| #define HAVE_LIBGLU 1
| #define HAVE_LIBBZ2 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBLZO2 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBSSL 1
| #define HAVE_LIBCRYPTO 1
| #define HAVE_LIBWAVPACK 1
| #define HAVE_LIBMPEG2 1
| #define HAVE_LIBMPEG2CONVERT 1
| #define HAVE_LIBPCRE 1
| #define HAVE_LIBPCRECPP 1
| #define HAVE_LIBMODPLUG 1
| #define HAVE_LIBMYSQLCLIENT 1
| #define HAVE_LIBFAAD 1
| #define HAVE_LIBSMBCLIENT 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBRESOLV 1
| #define HAVE_LIBJASPER 1
| #define HAVE_LIBTIFF 1
| #define HAVE_LIBRT 1
| #define HAVE_LIBSDL_IMAGE 1
| #define HAVE_LIBMICROHTTPD 1
| #define HAS_DVD_DRIVE 1
| #define HAS_HAL 1
| #define HAVE_LIBAVAHI_COMMON 1
| #define HAVE_LIBAVAHI_CLIENT 1
| #define HAVE_LIBXRANDR 1
| #define PIX_FMT_VDPAU_MPEG4_IN_AVUTIL 1
| /* end confdefs.h. */
| #define __LINUX_USER__
|
| #include <libcrystalhd/libcrystalhd_if.h>
configure:34214: result: no
configure:34220: error: == Could not find libcrystalhd. CrystalHD support disabled. ==
Reply
#5
Hi, i have the same problem.
Here is the log:

Code:
configure:22763: checking for libcrystalhd/libcrystalhd_if.h
configure:22763: gcc -c  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2  conftest.c >&5
In file included from /usr/include/libcrystalhd/libcrystalhd_if.h:32,
                 from conftest.c:133:
/usr/include/libcrystalhd/bc_dts_defs.h:94: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:176: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:203: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:230: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:376: error: expected specifier-qualifier-list before 'uint64_t'
/usr/include/libcrystalhd/bc_dts_defs.h:432: error: expected declaration specifiers or '...' before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:432: error: expected declaration specifiers or '...' before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:432: error: expected declaration specifiers or '...' before 'uint32_t'
In file included from /usr/include/libcrystalhd/libcrystalhd_if.h:32,
                 from conftest.c:133:
/usr/include/libcrystalhd/bc_dts_defs.h:442: error: expected specifier-qualifier-list before 'uint8_t'
/usr/include/libcrystalhd/bc_dts_defs.h:473: error: expected specifier-qualifier-list before 'uint8_t'
/usr/include/libcrystalhd/bc_dts_defs.h:535: error: expected specifier-qualifier-list before 'uint16_t'
/usr/include/libcrystalhd/bc_dts_defs.h:550: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:554: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:589: error: expected specifier-qualifier-list before 'uint32_t'
/usr/include/libcrystalhd/bc_dts_defs.h:605: error: expected specifier-qualifier-list before 'uint8_t'
configure:22763: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xbmc"
| #define PACKAGE_TARNAME "xbmc"
| #define PACKAGE_VERSION "9.11"
| #define PACKAGE_STRING "xbmc 9.11"
| #define PACKAGE_BUGREPORT "http://trac.xbmc.org"
| #define PACKAGE_URL ""
| #define PACKAGE "xbmc"
| #define VERSION "9.11"
| #define LIRC_DEVICE "/dev/lircd"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CHOWN 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FSEEKO 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_ALARM 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define RETSIGTYPE void
| #define HAVE_STRCOLL 1
| #define HAVE_STRFTIME 1
| #define HAVE_UTIME_NULL 1
| #define HAVE_VPRINTF 1
| #define HAVE_ATEXIT 1
| #define HAVE_DUP2 1
| #define HAVE_FDATASYNC 1
| #define HAVE_FTIME 1
| #define HAVE_FTRUNCATE 1
| #define HAVE_GETCWD 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_GETPASS 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_INET_NTOA 1
| #define HAVE_LCHOWN 1
| #define HAVE_LOCALECONV 1
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_MKDIR 1
| #define HAVE_MODF 1
| #define HAVE_MUNMAP 1
| #define HAVE_RMDIR 1
| #define HAVE_SELECT 1
| #define HAVE_SETENV 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SOCKET 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRCHR 1
| #define HAVE_STRCSPN 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRPBRK 1
| #define HAVE_STRRCHR 1
| #define HAVE_STRSPN 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOL 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSINFO 1
| #define HAVE_TZSET 1
| #define HAVE_UTIME 1
| #define SIZEOF_INT 4
| #define SIZEOF_SIZE_T 4
| #define HAVE_LIBGL 1
| #define HAVE_LIBGLEW 1
| #define HAVE_LIBGLU 1
| #define HAVE_LIBASS 1
| #define HAVE_LIBBZ2 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBLZO2 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBSSL 1
| #define HAVE_LIBCRYPTO 1
| #define HAVE_LIBWAVPACK 1
| #define HAVE_LIBMPEG2 1
| #define HAVE_LIBMPEG2CONVERT 1
| #define HAVE_LIBSSH 1
| #define HAVE_LIBPCRE 1
| #define HAVE_LIBPCRECPP 1
| #define HAVE_LIBMODPLUG 1
| #define HAVE_LIBMYSQLCLIENT 1
| #define HAVE_LIBFAAD 1
| #define HAVE_LIBSMBCLIENT 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBRESOLV 1
| #define HAVE_LIBJASPER 1
| #define HAVE_LIBTIFF 1
| #define HAVE_LIBRT 1
| #define HAVE_LIBSDL_IMAGE 1
| #define HAVE_LIBMICROHTTPD 1
| #define HAS_DVD_DRIVE 1
| #define HAVE_LIBPULSE 1
| #define HAS_HAL 1
| #define HAVE_LIBAVAHI_COMMON 1
| #define HAVE_LIBAVAHI_CLIENT 1
| #define HAVE_LIBXRANDR 1
| #define PIX_FMT_VDPAU_MPEG4_IN_AVUTIL 1
| #define HAVE_LIBVDPAU /**/
| /* end confdefs.h.  */
| #define __LINUX_USER__
|
| #include <libcrystalhd/libcrystalhd_if.h>
configure:22763: result: no
configure:22769: error: == Could not find libcrystalhd. CrystalHD support disabled. ==

I'm using thi driver crystalhd v3.10.0.
I'm not an expert but it is possible that the header is changed in this driver's release? Blush
Reply
#6
FWIW, I added this line to the file 'bc_dts_defs.h' which solved my problem:

#include "bc_dts_types.h"
Reply

Logout Mark Read Team Forum Stats Members Help
Unable to build XBMC with CrystalHD driver from GIT0