Linux Compile Error
#1
Hi guys,

I've tried to compile the latest GIT from XBMC, but I recieve an error.
Used the following instructions, which I found on the xbmc wiki:

Code:
stop xbmc-live
cd $HOME/setup/xbmc
make distclean
git reset --hard
git clean -xfd
git pull --rebase
make -C lib/libnfs && make -C lib/libnfs install
./bootstrap ; ./configure --prefix=/usr --enable-vdpau --disable-pulse --disable-crystalhd
make -C $HOME/setup/xbmc/lib/addons/script.module.pil
make -j4
make install prefix=/usr
start xbmc-live

Eveything goes fine until:
Code:
make -j4

Where the compiler stops after while, complaining about:

Code:
CPP     xbmc/network/websocket/WebSocketV8.o
WebSocketV8.cpp:24:31: error: boost/uuid/sha1.hpp: No such file or directory
AR      xbmc/music/tags/musictags.a
CPP     xbmc/network/websocket/WebSocketV13.o
CPP     xbmc/filesystem/ZipManager.o
WebSocketV8.cpp: In member function ‘virtual bool CWebSocketV8::Handshake(const char*, size_t, std::string&)’:
WebSocketV8.cpp:74: warning: comparison between signed and unsigned integer expressions
WebSocketV8.cpp: In member function ‘std::string CWebSocketV8::calculateKey(const std::string&)’:
WebSocketV8.cpp:196: error: ‘boost::uuids’ has not been declared
WebSocketV8.cpp:196: error: expected ‘;’ before ‘hash’
WebSocketV8.cpp:197: error: ‘hash’ was not declared in this scope
/root/setup/xbmc/xbmc/utils/CharsetConverter.h: At global scope:
/root/setup/xbmc/xbmc/utils/CharsetConverter.h:84: warning: ‘g_charsetConverter’ defined but not used
make[1]: *** [WebSocketV8.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CPP     xbmc/filesystem/FileRar.o
CPP     xbmc/peripherals/bus/linux/PeripheralBusUSBLibUdev.o
WebSocketV13.cpp: In member function ‘virtual bool CWebSocketV13::Handshake(const char*, size_t, std::string&)’:
WebSocketV13.cpp:73: warning: comparison between signed and unsigned integer expressions
make: *** [xbmc/network/websocket/websocket.a] Error 2
make: *** Waiting for unfinished jobs....

Any ideas how to solve this one?

/Milleman
Reply
#2
Okay... Blush
Found out for myself. It were missing libraries.
Installing the following, will solve the issue:

Code:
apt-get install libboost-dev libboost-system-dev libboost-thread-dev libssl-dev

Works fine Now! Cool
Reply

Logout Mark Read Team Forum Stats Members Help
Compile Error1