Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crosscompile to win 32 on debian jessie fails #136

Open
rhagu opened this issue Sep 30, 2014 · 1 comment
Open

crosscompile to win 32 on debian jessie fails #136

rhagu opened this issue Sep 30, 2014 · 1 comment

Comments

@rhagu
Copy link

rhagu commented Sep 30, 2014

cross compiling fales in the at make:

root@me-VDR:/home/meadmin/xbmc-addon-xvdr# make
Making all in addons
make[1]: Entering directory '/home/meadmin/xbmc-addon-xvdr/addons'
Making all in pvr.vdr.xvdr
make[2]: Entering directory '/home/meadmin/xbmc-addon-xvdr/addons/pvr.vdr.xvdr'
make -C ../../src
make[3]: Entering directory '/home/meadmin/xbmc-addon-xvdr/src'
Making all in libxvdr
make[4]: Entering directory '/home/meadmin/xbmc-addon-xvdr/src/libxvdr'
Making all in include
make[5]: Entering directory '/home/meadmin/xbmc-addon-xvdr/src/libxvdr/include'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/meadmin/xbmc-addon-xvdr/src/libxvdr/include'
Making all in src
make[5]: Entering directory '/home/meadmin/xbmc-addon-xvdr/src/libxvdr/src'
/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./../include -g -O2 -MT os-config.lo -MD -MP -MF .deps/os-config.Tpo -c -o os-config.lo os-config.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./../include -g -O2 -MT os-config.lo -MD -MP -MF .deps/os-config.Tpo -c os-config.cpp -DDLL_EXPORT -DPIC -o .libs/os-config.o
In file included from os-config.cpp:25:0:
os-config.h:53:1: error: 'uint32_t' does not name a type
uint32_t htobe32(uint32_t u);
^
os-config.h:54:1: error: 'uint64_t' does not name a type
uint64_t htobe64(uint64_t u);
^
os-config.h:55:1: error: 'uint16_t' does not name a type
uint16_t htobe16(uint16_t u);
^
os-config.h:56:1: error: 'uint32_t' does not name a type
uint32_t be32toh(uint32_t u);
^
os-config.h:57:1: error: 'uint64_t' does not name a type
uint64_t be64toh(uint64_t u);
^
os-config.h:58:1: error: 'uint16_t' does not name a type
uint16_t be16toh(uint16_t u);
^
os-config.h:116:24: error: 'uint8_t' has not been declared
int socketread(int fd, uint8_t* data, int datalen, int timeout_ms);
^
os-config.cpp:43:1: error: 'uint32_t' does not name a type
uint32_t htobe32(uint32_t u) {
^
os-config.cpp:47:1: error: 'uint64_t' does not name a type
uint64_t htobe64(uint64_t u) {
^
os-config.cpp:51:1: error: 'uint16_t' does not name a type
uint16_t htobe16(uint16_t u) {
^
os-config.cpp:55:1: error: 'uint32_t' does not name a type
uint32_t be32toh(uint32_t u) {
^
os-config.cpp:59:1: error: 'uint64_t' does not name a type
uint64_t be64toh(uint64_t u) {
^
os-config.cpp:63:1: error: 'uint16_t' does not name a type
uint16_t be16toh(uint16_t u) {
^
os-config.cpp:150:24: error: 'uint8_t' has not been declared
int socketread(int fd, uint8_t* data, int datalen, int timeout_ms) {
^
Makefile:513: recipe for target 'os-config.lo' failed
make[5]: *** [os-config.lo] Error 1
make[5]: Leaving directory '/home/meadmin/xbmc-addon-xvdr/src/libxvdr/src'
Makefile:353: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/meadmin/xbmc-addon-xvdr/src/libxvdr'
Makefile:352: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/meadmin/xbmc-addon-xvdr/src'
Makefile:503: recipe for target 'XBMC_VDR_xvdr_WIN32.pvr' failed
make[2]: *** [XBMC_VDR_xvdr_WIN32.pvr] Error 2
make[2]: Leaving directory '/home/meadmin/xbmc-addon-xvdr/addons/pvr.vdr.xvdr'
Makefile:373: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/meadmin/xbmc-addon-xvdr/addons'
Makefile:391: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

@typingArtist
Copy link

See #144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants