Skip to content

Instantly share code, notes, and snippets.

@razum2um
Created July 30, 2014 06:02
Show Gist options
  • Save razum2um/0d40e89f3eddb2a5c8b5 to your computer and use it in GitHub Desktop.
Save razum2um/0d40e89f3eddb2a5c8b5 to your computer and use it in GitHub Desktop.
Swordifish90/cool-old-term MacOS compile failed
razum2um@macpro ~/code/cool-old-term/konsole-qml-plugin (master●)$ /usr/local/opt/qt5/bin/qmake [ruby-2.1.2]
Info: creating stash file /Users/razum2um/Code/cool-old-term/konsole-qml-plugin/.qmake.stash
razum2um@macpro ~/code/cool-old-term/konsole-qml-plugin (master●●)$ make [ruby-2.1.2]
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.6 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DHAVE_POSIX_OPENPT -DHAVE_SYS_TIME_H -DHAVE_UPDWTMPX -DQ_WS_UBUNTU -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/Cellar/qt5/5.3.1/mkspecs/macx-clang -I. -I/usr/local/Cellar/qt5/5.3.1/lib/QtQuick.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtQml.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtWidgets.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtNetwork.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtGui.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtCore.framework/Versions/5/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers -F/usr/local/Cellar/qt5/5.3.1/lib -o .obj/plugin.o src/plugin.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.6 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DHAVE_POSIX_OPENPT -DHAVE_SYS_TIME_H -DHAVE_UPDWTMPX -DQ_WS_UBUNTU -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/Cellar/qt5/5.3.1/mkspecs/macx-clang -I. -I/usr/local/Cellar/qt5/5.3.1/lib/QtQuick.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtQml.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtWidgets.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtNetwork.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtGui.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtCore.framework/Versions/5/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers -F/usr/local/Cellar/qt5/5.3.1/lib -o .obj/Pty.o src/Pty.cpp
In file included from src/Pty.cpp:30:
In file included from src/Pty.h:41:
In file included from src/kptyprocess.h:34:
In file included from src/kptydevice.h:32:
In file included from src/kpty_p.h:26:
src/kpty.h:36:5: warning: class 'KPtyPrivate' was previously declared as a struct [-Wmismatched-tags]
Q_DECLARE_PRIVATE(KPty)
^
/usr/local/Cellar/qt5/5.3.1/lib/QtCore.framework/Headers/qglobal.h:946:12: note: expanded from macro 'Q_DECLARE_PRIVATE'
friend class Class##Private;
^
src/kpty.h:28:8: note: previous use is here
struct KPtyPrivate;
^
In file included from src/Pty.cpp:30:
In file included from src/Pty.h:41:
In file included from src/kptyprocess.h:34:
src/kptydevice.h:50:5: warning: class 'KPtyDevicePrivate' was previously declared as a struct [-Wmismatched-tags]
Q_DECLARE_PRIVATE_MI(KPtyDevice, KPty)
^
src/kptydevice.h:43:12: note: expanded from macro 'Q_DECLARE_PRIVATE_MI'
friend class Class##Private;
^
src/kptydevice.h:38:8: note: previous use is here
struct KPtyDevicePrivate;
^
In file included from src/Pty.cpp:30:
In file included from src/Pty.h:41:
src/kptyprocess.h:60:5: warning: class 'KPtyProcessPrivate' was previously declared as a struct [-Wmismatched-tags]
Q_DECLARE_PRIVATE(KPtyProcess)
^
/usr/local/Cellar/qt5/5.3.1/lib/QtCore.framework/Headers/qglobal.h:946:12: note: expanded from macro 'Q_DECLARE_PRIVATE'
friend class Class##Private;
^
src/kptyprocess.h:40:8: note: previous use is here
struct KPtyProcessPrivate;
^
3 warnings generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.6 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DHAVE_POSIX_OPENPT -DHAVE_SYS_TIME_H -DHAVE_UPDWTMPX -DQ_WS_UBUNTU -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/Cellar/qt5/5.3.1/mkspecs/macx-clang -I. -I/usr/local/Cellar/qt5/5.3.1/lib/QtQuick.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtQml.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtWidgets.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtNetwork.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtGui.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtCore.framework/Versions/5/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers -F/usr/local/Cellar/qt5/5.3.1/lib -o .obj/kptyprocess.o src/kptyprocess.cpp
In file included from src/kptyprocess.cpp:31:
In file included from src/kptyprocess.h:34:
In file included from src/kptydevice.h:32:
In file included from src/kpty_p.h:26:
src/kpty.h:36:5: warning: class 'KPtyPrivate' was previously declared as a struct [-Wmismatched-tags]
Q_DECLARE_PRIVATE(KPty)
^
/usr/local/Cellar/qt5/5.3.1/lib/QtCore.framework/Headers/qglobal.h:946:12: note: expanded from macro 'Q_DECLARE_PRIVATE'
friend class Class##Private;
^
src/kpty.h:28:8: note: previous use is here
struct KPtyPrivate;
^
In file included from src/kptyprocess.cpp:31:
In file included from src/kptyprocess.h:34:
src/kptydevice.h:50:5: warning: class 'KPtyDevicePrivate' was previously declared as a struct [-Wmismatched-tags]
Q_DECLARE_PRIVATE_MI(KPtyDevice, KPty)
^
src/kptydevice.h:43:12: note: expanded from macro 'Q_DECLARE_PRIVATE_MI'
friend class Class##Private;
^
src/kptydevice.h:38:8: note: previous use is here
struct KPtyDevicePrivate;
^
In file included from src/kptyprocess.cpp:31:
src/kptyprocess.h:60:5: warning: class 'KPtyProcessPrivate' was previously declared as a struct [-Wmismatched-tags]
Q_DECLARE_PRIVATE(KPtyProcess)
^
/usr/local/Cellar/qt5/5.3.1/lib/QtCore.framework/Headers/qglobal.h:946:12: note: expanded from macro 'Q_DECLARE_PRIVATE'
friend class Class##Private;
^
src/kptyprocess.h:40:8: note: previous use is here
struct KPtyProcessPrivate;
^
3 warnings generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.6 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DHAVE_POSIX_OPENPT -DHAVE_SYS_TIME_H -DHAVE_UPDWTMPX -DQ_WS_UBUNTU -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/Cellar/qt5/5.3.1/mkspecs/macx-clang -I. -I/usr/local/Cellar/qt5/5.3.1/lib/QtQuick.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtQml.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtWidgets.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtNetwork.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtGui.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtCore.framework/Versions/5/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers -F/usr/local/Cellar/qt5/5.3.1/lib -o .obj/kptydevice.o src/kptydevice.cpp
In file included from src/kptydevice.cpp:32:
In file included from src/kptydevice.h:32:
In file included from src/kpty_p.h:26:
src/kpty.h:36:5: warning: class 'KPtyPrivate' was previously declared as a struct [-Wmismatched-tags]
Q_DECLARE_PRIVATE(KPty)
^
/usr/local/Cellar/qt5/5.3.1/lib/QtCore.framework/Headers/qglobal.h:946:12: note: expanded from macro 'Q_DECLARE_PRIVATE'
friend class Class##Private;
^
src/kpty.h:28:8: note: previous use is here
struct KPtyPrivate;
^
In file included from src/kptydevice.cpp:32:
src/kptydevice.h:50:5: warning: class 'KPtyDevicePrivate' was previously declared as a struct [-Wmismatched-tags]
Q_DECLARE_PRIVATE_MI(KPtyDevice, KPty)
^
src/kptydevice.h:43:12: note: expanded from macro 'Q_DECLARE_PRIVATE_MI'
friend class Class##Private;
^
src/kptydevice.h:38:8: note: previous use is here
struct KPtyDevicePrivate;
^
2 warnings generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.6 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DHAVE_POSIX_OPENPT -DHAVE_SYS_TIME_H -DHAVE_UPDWTMPX -DQ_WS_UBUNTU -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/Cellar/qt5/5.3.1/mkspecs/macx-clang -I. -I/usr/local/Cellar/qt5/5.3.1/lib/QtQuick.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtQml.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtWidgets.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtNetwork.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtGui.framework/Versions/5/Headers -I/usr/local/Cellar/qt5/5.3.1/lib/QtCore.framework/Versions/5/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers -F/usr/local/Cellar/qt5/5.3.1/lib -o .obj/kpty.o src/kpty.cpp
In file included from src/kpty.cpp:25:
In file included from src/kpty_p.h:26:
src/kpty.h:36:5: warning: class 'KPtyPrivate' was previously declared as a struct [-Wmismatched-tags]
Q_DECLARE_PRIVATE(KPty)
^
/usr/local/Cellar/qt5/5.3.1/lib/QtCore.framework/Headers/qglobal.h:946:12: note: expanded from macro 'Q_DECLARE_PRIVATE'
friend class Class##Private;
^
src/kpty.h:28:8: note: previous use is here
struct KPtyPrivate;
^
src/kpty.cpp:500:12: warning: 'utmp' is deprecated [-Wdeprecated-declarations]
struct utmp l_struct;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/utmp.h:92:8: note: 'utmp' declared here
struct utmp {
^
src/kpty.cpp:561:5: error: use of undeclared identifier 'utmpname'; did you mean 'tmpnam'?
utmpname(_PATH_UTMP);
^~~~~~~~
tmpnam
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdio.h:274:7: note: 'tmpnam' declared here
char *tmpnam(char *);
^
src/kpty.cpp:561:5: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is
highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations]
utmpname(_PATH_UTMP);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdio.h:274:7: note: 'tmpnam' declared here
char *tmpnam(char *);
^
src/kpty.cpp:561:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
utmpname(_PATH_UTMP);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/utmp.h:78:20: note: expanded from macro '_PATH_UTMP'
#define _PATH_UTMP "/var/run/utmp"
^
src/kpty.cpp:562:5: error: use of undeclared identifier 'setutent'; did you mean 'setgrent'?
setutent();
^~~~~~~~
setgrent
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/grp.h:71:6: note: 'setgrent' declared here
void setgrent(void);
^
src/kpty.cpp:563:5: error: use of undeclared identifier 'pututline'
pututline(&l_struct);
^
src/kpty.cpp:564:5: error: use of undeclared identifier 'endutent'; did you mean 'endgrent'?
endutent();
^~~~~~~~
endgrent
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/grp.h:72:6: note: 'endgrent' declared here
void endgrent(void);
^
src/kpty.cpp:565:5: error: use of undeclared identifier 'updwtmp'
updwtmp(_PATH_WTMP, &l_struct);
^
src/kpty.cpp:602:12: warning: 'utmp' is deprecated [-Wdeprecated-declarations]
struct utmp l_struct, *ut;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/utmp.h:92:8: note: 'utmp' declared here
struct utmp {
^
src/kpty.cpp:602:12: warning: 'utmp' is deprecated [-Wdeprecated-declarations]
struct utmp l_struct, *ut;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/utmp.h:92:8: note: 'utmp' declared here
struct utmp {
^
src/kpty.cpp:613:5: error: use of undeclared identifier 'utmpname'; did you mean 'tmpnam'?
utmpname(_PATH_UTMP);
^~~~~~~~
tmpnam
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdio.h:274:7: note: 'tmpnam' declared here
char *tmpnam(char *);
^
src/kpty.cpp:613:5: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is
highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations]
utmpname(_PATH_UTMP);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdio.h:274:7: note: 'tmpnam' declared here
char *tmpnam(char *);
^
src/kpty.cpp:613:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
utmpname(_PATH_UTMP);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/utmp.h:78:20: note: expanded from macro '_PATH_UTMP'
#define _PATH_UTMP "/var/run/utmp"
^
src/kpty.cpp:614:5: error: use of undeclared identifier 'setutent'; did you mean 'setgrent'?
setutent();
^~~~~~~~
setgrent
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/grp.h:71:6: note: 'setgrent' declared here
void setgrent(void);
^
src/kpty.cpp:615:15: error: use of undeclared identifier 'getutline'
if ((ut = getutline(&l_struct))) {
^
src/kpty.cpp:632:5: error: use of undeclared identifier 'pututline'
pututline(ut);
^
src/kpty.cpp:634:1: error: use of undeclared identifier 'endutent'; did you mean 'endgrent'?
endutent();
^~~~~~~~
endgrent
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/grp.h:72:6: note: 'endgrent' declared here
void endgrent(void);
^
8 warnings and 10 errors generated.
make: *** [.obj/kpty.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment