Hi Alex,
x2godesktopsharing fails to build on Ubuntu 12.10 (pretty much equal
to Debian sid, I guess).
Mike
<quote>
/usr/bin/make
make[1]: Entering directory /build/buildd/x2godesktopsharing-3.0.1.5' /usr/bin/uic-qt4 dlg.ui -o ui_dlg.h g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I. -I. -I. -o main.o main.cpp g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I. -I. -I. -o sharetray.o sharetray.cpp sharetray.cpp: In member function 'void ShareTray::handleSigKeybInt()': sharetray.cpp:225:2: error: '::read' has not been declared sharetray.cpp: In member function 'void ShareTray::handleSigTerm()': sharetray.cpp:237:2: error: '::read' has not been declared sharetray.cpp: In member function 'void ShareTray::handleSigAbort()': sharetray.cpp:249:2: error: '::read' has not been declared sharetray.cpp: In member function 'void ShareTray::handleSigHup()': sharetray.cpp:261:2: error: '::read' has not been declared sharetray.cpp: In static member function 'static void ShareTray::keybintSignalHandler(int)': sharetray.cpp:272:2: error: '::write' has not been declared sharetray.cpp: In static member function 'static void ShareTray::termSignalHandler(int)': sharetray.cpp:278:2: error: '::write' has not been declared sharetray.cpp: In static member function 'static void ShareTray::abortSignalHandler(int)': sharetray.cpp:284:2: error: '::write' has not been declared sharetray.cpp: In static member function 'static void ShareTray::hupSignalHandler(int)': sharetray.cpp:290:2: error: '::write' has not been declared sharetray.cpp: In member function 'void ShareTray::slotStartSharing()': sharetray.cpp:325:40: error: 'getuid' was not declared in this scope sharetray.cpp:325:84: error: 'chown' was not declared in this scope make[1]: *** [sharetray.o] Error 1 make[1]: Leaving directory
/build/buildd/x2godesktopsharing-3.0.1.5'
make: *** [build-stamp] Error 2
</quote>
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Mike Gabriel píše v Ne 29. 04. 2012 v 15:42 +0200:
Hi Alex,
x2godesktopsharing fails to build on Ubuntu 12.10 (pretty much equal
to Debian sid, I guess).Mike
Hello,
adding #include <sys/unistd.h> to sharetray.cpp seems to resolve the error. (Though I am not sure if it is the way to go.)
Milan
Hi Milan,
On Di 08 Mai 2012 09:02:05 CEST Milan Knížek wrote:
Mike Gabriel píše v Ne 29. 04. 2012 v 15:42 +0200:
adding #include <sys/unistd.h> to sharetray.cpp seems to resolve the error. (Though I am not sure if it is the way to go.)
I presumed something similar. I committed a patch in your name and
currently run a test build...
http://code.x2go.org/gitweb?p=x2godesktopsharing.git;a=commitdiff;h=6ffe45d5...
Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...