pipelka / xbmc-addon-xvdr

DISCONTINUED - Standalone XVDR addon for XBMC
GNU General Public License v2.0
43 stars 16 forks source link

Crosscompile Error for Windows #161

Open OOandiOO opened 9 years ago

OOandiOO commented 9 years ago

I tried to crosscompile with your description to use xvdr-pvr-client on kodi15: apt-get install mingw32 gcc g++ automake libtool git clone git://github.com/pipelka/xbmc-addon-xvdr.git cd xbmc-addon-xvdr sh autogen.sh ./configure --host=i586-mingw32msvc make

But then I'll get this error message:

make[4]: Verzeichnis »/root/xvdr-kodi-15r2-windows/xbmc-addon-xvdr/src/libxvdr« wird verlassen Making all in xvdr make[4]: Verzeichnis »/root/xvdr-kodi-15r2-windows/xbmc-addon-xvdr/src/xvdr« wird betreten Making all in dialogs make[5]: Verzeichnis »/root/xvdr-kodi-15r2-windows/xbmc-addon-xvdr/src/xvdr/dialogs« wird betreten /bin/bash ../../../libtool --tag=CXX --mode=compile i586-mingw32msvc-g++ -DPACKAGE_NAME=\"xbmc-addon-xvdr\" -DPACKAGE_TARNAME=\"xbmc-addon-xvdr\" -DPACKAGE_VERSION=\"0.9.8\" -DPACKAGE_STRING=\"xbmc-addon-xvdr\ 0.9.8\" -DPACKAGE_BUGREPORT=\"alexander.pipelka@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xbmc-addon-xvdr\" -DVERSION=\"0.9.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DTARGET_WINDOWS=1 -I. -I../../.. -I../../../src/libxvdr/include -I./.. -I./../include -I../../../addons/library.xbmc.addon -g -O2 -MT GUIDialogBase.lo -MD -MP -MF .deps/GUIDialogBase.Tpo -c -o GUIDialogBase.lo GUIDialogBase.cpp libtool: compile: i586-mingw32msvc-g++ -DPACKAGE_NAME=\"xbmc-addon-xvdr\" -DPACKAGE_TARNAME=\"xbmc-addon-xvdr\" -DPACKAGE_VERSION=\"0.9.8\" "-DPACKAGE_STRING=\"xbmc-addon-xvdr 0.9.8\"" -DPACKAGE_BUGREPORT=\"alexander.pipelka@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xbmc-addon-xvdr\" -DVERSION=\"0.9.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DTARGET_WINDOWS=1 -I. -I../../.. -I../../../src/libxvdr/include -I./.. -I./../include -I../../../addons/library.xbmc.addon -g -O2 -MT GUIDialogBase.lo -MD -MP -MF .deps/GUIDialogBase.Tpo -c GUIDialogBase.cpp -DDLL_EXPORT -DPIC -o .libs/GUIDialogBase.o In file included from ../../../addons/library.kodi.guilib/libKODI_guilib.h:27, from GUIDialogBase.h:26, from GUIDialogBase.cpp:25: ../../../addons/library.xbmc.addon/libXBMC_addon.h:32: error: conflicting declaration 'typedef intptr_t ssize_t' /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/sys/types.h:104: error: 'ssize_t' has a previous declaration as 'typedef _ssize_t ssize_t' make[5]: * [GUIDialogBase.lo] Fehler 1 make[5]: Verzeichnis »/root/xvdr-kodi-15r2-windows/xbmc-addon-xvdr/src/xvdr/dialogs« wird verlassen make[4]: * [all-recursive] Fehler 1 make[4]: Verzeichnis »/root/xvdr-kodi-15r2-windows/xbmc-addon-xvdr/src/xvdr« wird verlassen make[3]: * [all-recursive] Fehler 1 make[3]: Verzeichnis »/root/xvdr-kodi-15r2-windows/xbmc-addon-xvdr/src« wird verlassen make[2]: * [XBMC_VDR_xvdr_WIN32.pvr] Fehler 2 make[2]: Verzeichnis »/root/xvdr-kodi-15r2-windows/xbmc-addon-xvdr/addons/pvr.vdr.xvdr« wird verlassen make[1]: * [all-recursive] Fehler 1 make[1]: Verzeichnis »/root/xvdr-kodi-15r2-windows/xbmc-addon-xvdr/addons« wird verlassen make: * [all-recursive] Fehler 1

any idear?

btw: an older crosscompile was working (kodi 14.2 and xvdr 0.9.9 - Protocol: 5)