Kodi Community Forum

Full Version: Error compiling SVN 21212: XBMChttp.cpp
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is anyone else getting this error with SVN 21212 (latest at time of writing):

g++ -MD -c -O2 -g -D_DEBUG -Wall -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="21212M"' -DHAVE_CONFIG_H  -DDLL_PATH_LIBCURL="\"/usr/lib64/libcurl.so.4\"" -I. -I../../ -I../../linux -I../../../guilib -I../../utils  -I/home/andy/src/XBMC -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO -DHAS_AVAHI -I/usr/include/lzo XBMChttp.cpp -o XBMChttp.o
XBMChttp.cpp: In member function ‘int CXbmcHttp::xbmcGetGUIStatus()’:
XBMChttp.cpp:1723: error: conversion from ‘const std::vector<CGUIActionDescriptor, std::allocator<CGUIActionDescriptor> >’ to non-scalar type ‘CStdStringArray’ requested
make[1]: *** [XBMChttp.o] Error 1
make[1]: Leaving directory `/home/andy/src/XBMC/xbmc/lib/libGoAhead'
make: *** [xbmc/lib/libGoAhead/libGoAhead-x86_64-linux.a] Error 2

This is under Ubuntu 9.04 amd64.
I'm having the same error on Ubuntu 9.04 32-bit. I'm sure the devs will fix it soon enough.
OK thanks for the update - first time I've compiled XBMC in a long while and didn't know if it was an 'environmental problem'.
The devs are aware and working on it. Please allow 24 hours before reporting compile failures in svn. It's active development and is expected be broken every now and then.

Thanks guys, but just FYI it's returning a new error now.

/home/xbmc/XBMC/tools/XBMCTex/Bundler.cpp:20: undefined reference to `__lzo_init_v2'
collect2: ld returned 1 exit status
make[1]: *** [XBMCTex] Error 1
make[1]: Leaving directory `/home/xbmc/XBMC/tools/XBMCTex'
make: *** [tools/XBMCTex/XBMCTex] Error 2
NM...got it sorted now. Dumped the .ccache folder, svn up, make clean, make distclean fixed it. Smile
that one is also fixed. see http://trac.xbmc.org/timeline