Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Slight Change needed to Compile On my Machine #11

Closed
matt7code opened this Issue · 2 comments

2 participants

@matt7code

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.

@priomsrb
Owner
@priomsrb
Owner

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 issue from a commit
Shafqat Compilation fix. Thanks to matt7code
Fixes #11
475d232
@priomsrb priomsrb closed this in 475d232
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.