Closed ghost closed 11 years ago
Thanks for reporting this. Strangely, I've never had a problem like this before. I'll investigate this a bit more and might change the line you suggested.
On Wed, Jan 16, 2013 at 11:49 AM, Matt Tober notifications@github.comwrote:
Changing one line allows a flawless compile.
Linux T5246 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o qtlocalpeer.o include/qtsingleapplication/qtlocalpeer.cpp include/qtsingleapplication/qtlocalpeer.cpp: In constructor ‘QtLocalPeer::QtLocalPeer(QObject*, const QString&)’: include/qtsingleapplication/qtlocalpeer.cpp:96:54: error: ‘::getuid’ has not been declared include/qtsingleapplication/qtlocalpeer.cpp:96:54: note: suggested alternative: In file included from include/qtsingleapplication/qtlockedfile_unix.cpp:42:0, from include/qtsingleapplication/qtlocalpeer.cpp:60: /usr/include/unistd.h:698:16: note: ‘QtLP_Private::getuid’
Literally changing ‘::getuid’ on line 96 to ‘QtLP_Private::getuid’ allows the make to finish flawlessly.
— Reply to this email directly or view it on GitHubhttps://github.com/priomsrb/lighttasks/issues/11.
I just had the same problem as you. Thank you for posting the solution :)
I'll have it commit this fix as well.
Changing one line allows a flawless compile.
Linux T5246 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Literally changing ‘::getuid’ on line 96 to ‘QtLP_Private::getuid’ allows the make to finish flawlessly.