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

Already on GitHub? Sign in to your account

Slight Change needed to Compile On my Machine #11

Closed
ghost opened this Issue Jan 15, 2013 · 2 comments

Comments

Projects
None yet
1 participant
@ghost

ghost commented Jan 15, 2013

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.

Owner

priomsrb commented Jan 15, 2013

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.

Owner

priomsrb commented Jan 28, 2013

I just had the same problem as you. Thank you for posting the solution :)

I'll have it commit this fix as well.

@priomsrb priomsrb closed this in 475d232 Jan 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment