Installing Qt free version 3.3.8 -> what is wrong here?
by dedec0 from LinuxQuestions.org on (#4QE8W)
Hello,
I am trying to compile Qt version 3.3.8 here. Yes, it is fairly old, but i have a private project i want to compile in it, so i need the Qt environment good for that.
Before installing it for real, i am playing in RAM with it. There are things i always use in RAM only, so i have some folders created and populated at every computer reboot.
First, i downloaded https://download.qt.io/archive/qt/3/...-3.3.8.tar.bz2 to /dev/shm/ folder and extracted the contents to /dev/shm/local/
After that, i opened file /dev/shm/local/qt-x11-free-3.3.8/INSTALL in a separate tab, to follow its instructions. The commands and outputs of what i did, and a few comments i wrote now, are below, except some removed output that i had to make since LQ posts cannot be too long. The full terminal output i wanted to show is here:
https://filebin.net/xm1mvk38f97ds1j6/t2.sh?t=ra8tmvuh
Code:2019.09.15 23:19:54 [ 1] me@here: /dev/shm/local
$ ln -s qt-x11-free-3.3.8/ qt
2019.09.15 23:20:59 [ 0] me@here: /dev/shm/local
$ # Qt assumes that Qt is installed in /usr/local/qt... can i install it
# anywhere different, like doing here?
2019.09.15 23:21:35 [ 0] me@here: /dev/shm/local
$ vim ~/.bashrc; source ~/.bashrc
# Edited and sourced ~/.bashrc files to makes these changes:
# export QTDIR=/dev/shm/local/qt
# export PATH=$QTDIR/bin:$PATH:/dev/shm/.raiz/bin
# export MANPATH=$QTDIR/doc/man:/usr/share/man
# export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH:/usr/local/lib
2019.09.15 23:21:35 [ 0] me@here: /dev/shm/local
$ cd qt
2019.09.15 23:34:26 [ 0] me@here: /dev/shm/local/qt
$ ./configure --prefix="/dev/shm/.raiz/" -shared -qt-gif -thread -ipv6 -verbose
-continue -xkb
IBASE auto-detection...
Could not find libgds.* anywhere in /lib /usr/lib
IBASE disabled.
MySQL auto-detection...
Could not find libmysqlclient.* anywhere in /lib /usr/lib
MySQL disabled.
ODBC auto-detection...
Could not find libodbc.* anywhere in /lib /usr/lib
ODBC disabled.
PostgreSQL auto-detection...
Could not find libpq.* anywhere in /lib /usr/lib
PostgreSQL disabled.
NIS auto-detection... ()
NIS disabled.
CUPS auto-detection... ()
CUPS disabled.
OpenGL auto-detection... ()
Could not find GLU lib anywhere in /usr/X11R6/lib /usr/X11R6/lib /usr/shlib
/usr/lib /lib
OpenGL disabled.
Xcursor auto-detection... ()
Could not find Xcursor lib anywhere in /usr/X11R6/lib /usr/shlib /usr/lib
/lib
Xcursor disabled.
XRandR auto-detection... ()
Could not find XRandR lib anywhere in /usr/X11R6/lib /usr/shlib /usr/lib /lib
XRandR disabled.
XRender auto-detection... ()
Could not find XRender lib anywhere in /usr/X11R6/lib /usr/shlib /usr/lib
/lib
XRender disabled.
Session Management auto-detection... ()
Found X11/SM/SM.h in /usr/include
Session Management enabled.
XShape auto-detection... ()
Found X11/extensions/shape.h in /usr/include
XShape enabled.
Xinerama auto-detection... ()
Could not find Xinerama lib anywhere in /usr/X11R6/lib /usr/shlib /usr/lib
/lib
Xinerama disabled.
XKB auto-detection... ()
Found X11/XKBlib.h in /usr/include
XkbSetPerClientControls found.
XKB enabled.
This is the Qt/X11 Open Source Edition.
You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).
Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of either license? yes
Creating qmake. Please wait...
g++ -c -o project.o -pipe -I. -Igenerators -Igenerators/unix -Igenerators/win32
-Igenerators/mac -I/dev/shm/local/qt-x11-free-3.3.8/include/qmake
-I/dev/shm/local/qt-x11-free-3.3.8/include
-I/dev/shm/local/qt-x11-free-3.3.8/include -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP
project.cpp
g++ -c -o property.o -pipe -I. -Igenerators -Igenerators/unix -Igenerators/win32
-Igenerators/mac -I/dev/shm/local/qt-x11-free-3.3.8/include/qmake
-I/dev/shm/local/qt-x11-free-3.3.8/include
-I/dev/shm/local/qt-x11-free-3.3.8/include -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP
property.cpp
[...]
for /dev/shm/local/qt-x11-free-3.3.8/examples/thread/prodcons/prodcons.pro
(linux-g++)
/dev/shm/local/qt-x11-free-3.3.8/bin/qmake -spec
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -o
/dev/shm/local/qt-x11-free-3.3.8/./examples/thread/prodcons
[...]
for /dev/shm/local/qt-x11-free-3.3.8/tools/qvfb/qvfb.pro (linux-g++)
/dev/shm/local/qt-x11-free-3.3.8/bin/qmake -spec
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -o
/dev/shm/local/qt-x11-free-3.3.8/./tools/qvfb
/dev/shm/local/qt-x11-free-3.3.8/tools/qvfb/qvfb.pro
for /dev/shm/local/qt-x11-free-3.3.8/qmake/examples/precompile/precompile.pro
(linux-g++)
/dev/shm/local/qt-x11-free-3.3.8/bin/qmake -spec
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -o
/dev/shm/local/qt-x11-free-3.3.8/./qmake/examples/precompile
/dev/shm/local/qt-x11-free-3.3.8/qmake/examples/precompile/precompile.pro
Qt is now configured for building. Just run /usr/bin/make.
To reconfigure, run /usr/bin/make confclean and configure.
2019.09.15 23:35:23 [ 0] me@here: /dev/shm/local/qt
$ make
make[1]: Entering directory '/dev/shm/local/qt-x11-free-3.3.8'
cd qmake && make
make[2]: Entering directory '/dev/shm/local/qt-x11-free-3.3.8/qmake'
make[2]: 'qmake' is up to date.
make[2]: Leaving directory '/dev/shm/local/qt-x11-free-3.3.8/qmake'
cd src/moc && make
make[2]: Entering directory '/dev/shm/local/qt-x11-free-3.3.8/src/moc'
[...]
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qptrcollection.o ../tools/qptrcollection.cpp
[...]
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qdatetime.o ../tools/qdatetime.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qdatetime.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qfile.o ../tools/qfile.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qfile.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qdir.o ../tools/qdir.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qdir.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qfileinfo.o ../tools/qfileinfo.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qfileinfo.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qgarray.o ../tools/qgarray.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qgdict.o ../tools/qgdict.cpp
../tools/qgdict.cpp: In member function 'QDataStream&
QGDict::read(QDataStream&)':
../tools/qgdict.cpp:950:22: warning: cast to pointer from integer of different
size [-Wint-to-pointer-cast]
look_ptr( (void *)k, d, op_insert );
^
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qglist.o ../tools/qglist.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qglobal.o ../tools/qglobal.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qglobal.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qgvector.o ../tools/qgvector.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qiodevice.o ../tools/qiodevice.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qregexp.o ../tools/qregexp.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qstring.o ../tools/qstring.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qlocale.o ../tools/qlocale.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qunicodetables.o ../tools/qunicodetables.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qstringlist.o ../tools/qstringlist.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qtextstream.o ../tools/qtextstream.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qbitarray.o ../tools/qbitarray.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qmap.o ../tools/qmap.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qgcache.o ../tools/qgcache.cpp
[...]
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./moc_yacc.o moc_yacc.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from moc.y:58:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
moc.y: In function 'int yyparse()':
moc.y:908:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
decl_specifier: storage_class_specifier { $$ = ""; }
^~
moc.y:910:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| fct_specifier { $$ = ""; }
^~
moc.y:911:35: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| FRIEND { skipFunc = TRUE; $$ = ""; }
^~
moc.y:912:35: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| TYPEDEF { skipFunc = TRUE; $$ = ""; }
^~
moc.y:918:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
decl_specs_opt: /* empty */ { $$ = ""; }
^~
moc.y:936:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
type_specifier: CONST { $$ = "const"; }
^~~~~~~
moc.y:937:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| VOLATILE { $$ = "volatile"; }
^~~~~~~~~~
moc.y:950:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
simple_type_name: CHAR { $$ = "char"; }
^~~~~~
moc.y:951:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| SHORT { $$ = "short"; }
^~~~~~~
moc.y:952:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| INT { $$ = "int"; }
^~~~~
moc.y:953:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| LONG { $$ = "long"; }
^~~~~~
moc.y:954:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| SIGNED { $$ = "signed"; }
^~~~~~~~
moc.y:955:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| UNSIGNED { $$ = "unsigned"; }
^~~~~~~~~~
moc.y:956:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| FLOAT { $$ = "float"; }
^~~~~~~
moc.y:957:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| DOUBLE { $$ = "double"; }
^~~~~~~~
moc.y:958:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| VOID { $$ = "void"; }
^~~~~~
moc.y:974:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
class_key: opt_template_spec CLASS { $$ = "class"; }
^~~~~~~
moc.y:975:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| opt_template_spec STRUCT { $$ = "struct"; }
^~~~~~~~
moc.y:1041:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
abstract_decl_opt: /* empty */ { $$ = ""; }
^~
moc.y:1061:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
declarator: dname { $$ = ""; }
^~
moc.y:1106:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
ptr_operators_opt: /* empty */ { $$ = ""; }
^~
moc.y:1122:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
cv_qualifier_list_opt: /* empty */ { $$ = ""; }
^~
moc.y:1131:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
cv_qualifier: CONST { $$ = "const"; }
^~~~~~~
moc.y:1132:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| VOLATILE { $$ = "volatile"; }
^~~~~~~~~~
moc.y:1170:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| storage_class_specifier { $$ = ""; }
^~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qfile_unix.o ../tools/qfile_unix.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qfile_unix.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qdir_unix.o ../tools/qdir_unix.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qdir_unix.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qfileinfo_unix.o ../tools/qfileinfo_unix.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qfileinfo_unix.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
test -d ../../bin/ || mkdir -p ../../bin/
g++ -o ../../bin/moc ./qbuffer.o ./qptrcollection.o ./qcstring.o
./qdatastream.o ./qdatetime.o ./qfile.o ./qdir.o ./qfileinfo.o ./qgarray.o
./qgdict.o ./qglist.o ./qglobal.o ./qgvector.o ./qiodevice.o ./qregexp.o
./qstring.o ./qlocale.o ./qunicodetables.o ./qstringlist.o ./qtextstream.o
./qbitarray.o ./qmap.o ./qgcache.o ./qtextcodec.o ./qutfcodec.o ./moc_yacc.o
./qfile_unix.o ./qdir_unix.o ./qfileinfo_unix.o
make[2]: Leaving directory '/dev/shm/local/qt-x11-free-3.3.8/src/moc'
cd src && make
make[2]: Entering directory '/dev/shm/local/qt-x11-free-3.3.8/src'
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS -DQT_NO_NIS
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA
-DQT_NO_XCURSOR -DQT_NO_XRANDR -DQT_NO_XRENDER -DQT_NO_XFTFREETYPE
-DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_BUILTIN_GIF_READER=1
-DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE
-DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I3rdparty/libpng
-I3rdparty/zlib -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o
.obj/release-shared-mt/qtaddons_x11.o kernel/qtaddons_x11.cpp
/dev/shm/local/qt-x11-free-3.3.8/bin/moc kernel/qapplication_x11.cpp -o
.moc/release-shared-mt/qapplication_x11.moc
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS -DQT_NO_NIS
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA
-DQT_NO_XCURSOR -DQT_NO_XRANDR -DQT_NO_XRENDER -DQT_NO_XFTFREETYPE
-DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_BUILTIN_GIF_READER=1
-DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE
-DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I3rdparty/libpng
-I3rdparty/zlib -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o
.obj/release-shared-mt/qapplication_x11.o kernel/qapplication_x11.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from kernel/qapplication_x11.cpp:47:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
In file included from ../include/qmap.h:46:0,
from kernel/qmime.h:43,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qvaluelist.h:88:13: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^~~~~~~~~
../include/qvaluelist.h:164:13: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^~~~~~~~~
In file included from ../include/qmap.h:46:0,
from kernel/qmime.h:43,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qvaluelist.h:424:13: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^~~~~~~~~
In file included from kernel/qmime.h:43:0,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qmap.h:107:13: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^~~~~~~~~
../include/qmap.h:223:13: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^~~~~~~~~
In file included from kernel/qmime.h:43:0,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qmap.h:604:13: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^~~~~~~~~
kernel/qapplication_x11.cpp: In function 'void qt_init_internal(int*, char**,
Display*, Qt::HANDLE, Qt::HANDLE)':
kernel/qapplication_x11.cpp:2009:8: warning: 'KeySym XKeycodeToKeysym(Display*,
KeyCode, int)' is deprecated [-Wdeprecated-declarations]
XKeycodeToKeysym(appDpy, map->modifiermap[mapIndex], 0);
^~~~~~~~~~~~~~~~
In file included from kernel/qt_x11_p.h:66:0,
from kernel/qinputcontext_p.h:63,
from kernel/qapplication_x11.cpp:92:
/usr/include/X11/Xlib.h:1687:15: note: declared here
extern KeySym XKeycodeToKeysym(
^~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp:2009:62: warning: 'KeySym XKeycodeToKeysym(Display*,
KeyCode, int)' is deprecated [-Wdeprecated-declarations]
XKeycodeToKeysym(appDpy, map->modifiermap[mapIndex], 0);
^
In file included from kernel/qt_x11_p.h:66:0,
from kernel/qinputcontext_p.h:63,
from kernel/qapplication_x11.cpp:92:
/usr/include/X11/Xlib.h:1687:15: note: declared here
extern KeySym XKeycodeToKeysym(
^~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp:2039:8: warning: 'KeySym XKeycodeToKeysym(Display*,
KeyCode, int)' is deprecated [-Wdeprecated-declarations]
XKeycodeToKeysym( appDpy, map->modifiermap[ mapIndex ], 0 );
^~~~~~~~~~~~~~~~
In file included from kernel/qt_x11_p.h:66:0,
from kernel/qinputcontext_p.h:63,
from kernel/qapplication_x11.cpp:92:
/usr/include/X11/Xlib.h:1687:15: note: declared here
extern KeySym XKeycodeToKeysym(
^~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp:2039:66: warning: 'KeySym XKeycodeToKeysym(Display*,
KeyCode, int)' is deprecated [-Wdeprecated-declarations]
XKeycodeToKeysym( appDpy, map->modifiermap[ mapIndex ], 0 );
^
In file included from kernel/qt_x11_p.h:66:0,
from kernel/qinputcontext_p.h:63,
from kernel/qapplication_x11.cpp:92:
/usr/include/X11/Xlib.h:1687:15: note: declared here
extern KeySym XKeycodeToKeysym(
^~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp: In member function 'int
QApplication::x11ProcessEvent(XEvent*)':
kernel/qapplication_x11.cpp:3690:33: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]
if (! req || qt_xdnd_selection && req->selection == qt_xdnd_selection)
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp:3703:33: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]
if (! req || qt_xdnd_selection && req->selection == qt_xdnd_selection)
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp: In member function 'bool
QETWidget::translateMouseEvent(const XEvent*)':
kernel/qapplication_x11.cpp:4118:51: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]
bool hor = ( (btn == Button4 || btn == Button5) && (state&AltButton) ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp: In member function 'bool
QETWidget::translateKeyEventInternal(const XEvent*, int&, QString&, int&, char&,
int&, QEvent::Type&, bool)':
kernel/qapplication_x11.cpp:5158:8: warning: suggest explicit braces to avoid
ambiguous 'else' [-Wparentheses]
if (qt_use_rtl_extensions && type == QEvent::KeyPress)
^
kernel/qapplication_x11.cpp:5228:26: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]
if ( key == XK_Shift_L && directionKeyEvent == XK_Control_L ||
^
kernel/qapplication_x11.cpp:5231:33: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]
} else if ( key == XK_Shift_R && directionKeyEvent == XK_Control_R ||
^
kernel/qapplication_x11.cpp: In function 'int isPaintOrScrollDoneEvent(Display*,
XEvent*, XPointer)':
kernel/qapplication_x11.cpp:5521:3: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]
|| ev->type == ClientMessage
~~~~~~~~~~~~~~~~~~~~~~~~~
&& ev->xclient.message_type == qt_qt_scrolldone )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:1462: recipe for target '.obj/release-shared-mt/qapplication_x11.o'
failed
make[2]: *** [.obj/release-shared-mt/qapplication_x11.o] Error 1
make[2]: Leaving directory '/dev/shm/local/qt-x11-free-3.3.8/src'
Makefile:40: recipe for target 'sub-src' failed
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory '/dev/shm/local/qt-x11-free-3.3.8'
Makefile:8: recipe for target 'init' failed
make: *** [init] Error 2
2019.09.15 23:38:27 [ 2] me@here: /dev/shm/local/qt
$


I am trying to compile Qt version 3.3.8 here. Yes, it is fairly old, but i have a private project i want to compile in it, so i need the Qt environment good for that.
Before installing it for real, i am playing in RAM with it. There are things i always use in RAM only, so i have some folders created and populated at every computer reboot.
First, i downloaded https://download.qt.io/archive/qt/3/...-3.3.8.tar.bz2 to /dev/shm/ folder and extracted the contents to /dev/shm/local/
After that, i opened file /dev/shm/local/qt-x11-free-3.3.8/INSTALL in a separate tab, to follow its instructions. The commands and outputs of what i did, and a few comments i wrote now, are below, except some removed output that i had to make since LQ posts cannot be too long. The full terminal output i wanted to show is here:
https://filebin.net/xm1mvk38f97ds1j6/t2.sh?t=ra8tmvuh
Code:2019.09.15 23:19:54 [ 1] me@here: /dev/shm/local
$ ln -s qt-x11-free-3.3.8/ qt
2019.09.15 23:20:59 [ 0] me@here: /dev/shm/local
$ # Qt assumes that Qt is installed in /usr/local/qt... can i install it
# anywhere different, like doing here?
2019.09.15 23:21:35 [ 0] me@here: /dev/shm/local
$ vim ~/.bashrc; source ~/.bashrc
# Edited and sourced ~/.bashrc files to makes these changes:
# export QTDIR=/dev/shm/local/qt
# export PATH=$QTDIR/bin:$PATH:/dev/shm/.raiz/bin
# export MANPATH=$QTDIR/doc/man:/usr/share/man
# export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH:/usr/local/lib
2019.09.15 23:21:35 [ 0] me@here: /dev/shm/local
$ cd qt
2019.09.15 23:34:26 [ 0] me@here: /dev/shm/local/qt
$ ./configure --prefix="/dev/shm/.raiz/" -shared -qt-gif -thread -ipv6 -verbose
-continue -xkb
IBASE auto-detection...
Could not find libgds.* anywhere in /lib /usr/lib
IBASE disabled.
MySQL auto-detection...
Could not find libmysqlclient.* anywhere in /lib /usr/lib
MySQL disabled.
ODBC auto-detection...
Could not find libodbc.* anywhere in /lib /usr/lib
ODBC disabled.
PostgreSQL auto-detection...
Could not find libpq.* anywhere in /lib /usr/lib
PostgreSQL disabled.
NIS auto-detection... ()
NIS disabled.
CUPS auto-detection... ()
CUPS disabled.
OpenGL auto-detection... ()
Could not find GLU lib anywhere in /usr/X11R6/lib /usr/X11R6/lib /usr/shlib
/usr/lib /lib
OpenGL disabled.
Xcursor auto-detection... ()
Could not find Xcursor lib anywhere in /usr/X11R6/lib /usr/shlib /usr/lib
/lib
Xcursor disabled.
XRandR auto-detection... ()
Could not find XRandR lib anywhere in /usr/X11R6/lib /usr/shlib /usr/lib /lib
XRandR disabled.
XRender auto-detection... ()
Could not find XRender lib anywhere in /usr/X11R6/lib /usr/shlib /usr/lib
/lib
XRender disabled.
Session Management auto-detection... ()
Found X11/SM/SM.h in /usr/include
Session Management enabled.
XShape auto-detection... ()
Found X11/extensions/shape.h in /usr/include
XShape enabled.
Xinerama auto-detection... ()
Could not find Xinerama lib anywhere in /usr/X11R6/lib /usr/shlib /usr/lib
/lib
Xinerama disabled.
XKB auto-detection... ()
Found X11/XKBlib.h in /usr/include
XkbSetPerClientControls found.
XKB enabled.
This is the Qt/X11 Open Source Edition.
You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).
Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of either license? yes
Creating qmake. Please wait...
g++ -c -o project.o -pipe -I. -Igenerators -Igenerators/unix -Igenerators/win32
-Igenerators/mac -I/dev/shm/local/qt-x11-free-3.3.8/include/qmake
-I/dev/shm/local/qt-x11-free-3.3.8/include
-I/dev/shm/local/qt-x11-free-3.3.8/include -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP
project.cpp
g++ -c -o property.o -pipe -I. -Igenerators -Igenerators/unix -Igenerators/win32
-Igenerators/mac -I/dev/shm/local/qt-x11-free-3.3.8/include/qmake
-I/dev/shm/local/qt-x11-free-3.3.8/include
-I/dev/shm/local/qt-x11-free-3.3.8/include -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP
property.cpp
[...]
for /dev/shm/local/qt-x11-free-3.3.8/examples/thread/prodcons/prodcons.pro
(linux-g++)
/dev/shm/local/qt-x11-free-3.3.8/bin/qmake -spec
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -o
/dev/shm/local/qt-x11-free-3.3.8/./examples/thread/prodcons
[...]
for /dev/shm/local/qt-x11-free-3.3.8/tools/qvfb/qvfb.pro (linux-g++)
/dev/shm/local/qt-x11-free-3.3.8/bin/qmake -spec
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -o
/dev/shm/local/qt-x11-free-3.3.8/./tools/qvfb
/dev/shm/local/qt-x11-free-3.3.8/tools/qvfb/qvfb.pro
for /dev/shm/local/qt-x11-free-3.3.8/qmake/examples/precompile/precompile.pro
(linux-g++)
/dev/shm/local/qt-x11-free-3.3.8/bin/qmake -spec
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -o
/dev/shm/local/qt-x11-free-3.3.8/./qmake/examples/precompile
/dev/shm/local/qt-x11-free-3.3.8/qmake/examples/precompile/precompile.pro
Qt is now configured for building. Just run /usr/bin/make.
To reconfigure, run /usr/bin/make confclean and configure.
2019.09.15 23:35:23 [ 0] me@here: /dev/shm/local/qt
$ make
make[1]: Entering directory '/dev/shm/local/qt-x11-free-3.3.8'
cd qmake && make
make[2]: Entering directory '/dev/shm/local/qt-x11-free-3.3.8/qmake'
make[2]: 'qmake' is up to date.
make[2]: Leaving directory '/dev/shm/local/qt-x11-free-3.3.8/qmake'
cd src/moc && make
make[2]: Entering directory '/dev/shm/local/qt-x11-free-3.3.8/src/moc'
[...]
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qptrcollection.o ../tools/qptrcollection.cpp
[...]
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qdatetime.o ../tools/qdatetime.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qdatetime.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qfile.o ../tools/qfile.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qfile.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qdir.o ../tools/qdir.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qdir.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qfileinfo.o ../tools/qfileinfo.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qfileinfo.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qgarray.o ../tools/qgarray.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qgdict.o ../tools/qgdict.cpp
../tools/qgdict.cpp: In member function 'QDataStream&
QGDict::read(QDataStream&)':
../tools/qgdict.cpp:950:22: warning: cast to pointer from integer of different
size [-Wint-to-pointer-cast]
look_ptr( (void *)k, d, op_insert );
^
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qglist.o ../tools/qglist.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qglobal.o ../tools/qglobal.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qglobal.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qgvector.o ../tools/qgvector.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qiodevice.o ../tools/qiodevice.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qregexp.o ../tools/qregexp.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qstring.o ../tools/qstring.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qlocale.o ../tools/qlocale.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qunicodetables.o ../tools/qunicodetables.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qstringlist.o ../tools/qstringlist.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qtextstream.o ../tools/qtextstream.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qbitarray.o ../tools/qbitarray.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qmap.o ../tools/qmap.cpp
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qgcache.o ../tools/qgcache.cpp
[...]
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./moc_yacc.o moc_yacc.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from moc.y:58:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
moc.y: In function 'int yyparse()':
moc.y:908:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
decl_specifier: storage_class_specifier { $$ = ""; }
^~
moc.y:910:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| fct_specifier { $$ = ""; }
^~
moc.y:911:35: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| FRIEND { skipFunc = TRUE; $$ = ""; }
^~
moc.y:912:35: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| TYPEDEF { skipFunc = TRUE; $$ = ""; }
^~
moc.y:918:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
decl_specs_opt: /* empty */ { $$ = ""; }
^~
moc.y:936:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
type_specifier: CONST { $$ = "const"; }
^~~~~~~
moc.y:937:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| VOLATILE { $$ = "volatile"; }
^~~~~~~~~~
moc.y:950:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
simple_type_name: CHAR { $$ = "char"; }
^~~~~~
moc.y:951:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| SHORT { $$ = "short"; }
^~~~~~~
moc.y:952:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| INT { $$ = "int"; }
^~~~~
moc.y:953:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| LONG { $$ = "long"; }
^~~~~~
moc.y:954:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| SIGNED { $$ = "signed"; }
^~~~~~~~
moc.y:955:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| UNSIGNED { $$ = "unsigned"; }
^~~~~~~~~~
moc.y:956:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| FLOAT { $$ = "float"; }
^~~~~~~
moc.y:957:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| DOUBLE { $$ = "double"; }
^~~~~~~~
moc.y:958:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| VOID { $$ = "void"; }
^~~~~~
moc.y:974:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
class_key: opt_template_spec CLASS { $$ = "class"; }
^~~~~~~
moc.y:975:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| opt_template_spec STRUCT { $$ = "struct"; }
^~~~~~~~
moc.y:1041:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
abstract_decl_opt: /* empty */ { $$ = ""; }
^~
moc.y:1061:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
declarator: dname { $$ = ""; }
^~
moc.y:1106:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
ptr_operators_opt: /* empty */ { $$ = ""; }
^~
moc.y:1122:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
cv_qualifier_list_opt: /* empty */ { $$ = ""; }
^~
moc.y:1131:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
cv_qualifier: CONST { $$ = "const"; }
^~~~~~~
moc.y:1132:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| VOLATILE { $$ = "volatile"; }
^~~~~~~~~~
moc.y:1170:18: warning: ISO C++ forbids converting a string constant to 'char*'
[-Wwrite-strings]
| storage_class_specifier { $$ = ""; }
^~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qfile_unix.o ../tools/qfile_unix.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qfile_unix.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qdir_unix.o ../tools/qdir_unix.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qdir_unix.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_NO_COMPRESS
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qfileinfo_unix.o ../tools/qfileinfo_unix.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from ../tools/qfileinfo_unix.cpp:38:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
test -d ../../bin/ || mkdir -p ../../bin/
g++ -o ../../bin/moc ./qbuffer.o ./qptrcollection.o ./qcstring.o
./qdatastream.o ./qdatetime.o ./qfile.o ./qdir.o ./qfileinfo.o ./qgarray.o
./qgdict.o ./qglist.o ./qglobal.o ./qgvector.o ./qiodevice.o ./qregexp.o
./qstring.o ./qlocale.o ./qunicodetables.o ./qstringlist.o ./qtextstream.o
./qbitarray.o ./qmap.o ./qgcache.o ./qtextcodec.o ./qutfcodec.o ./moc_yacc.o
./qfile_unix.o ./qdir_unix.o ./qfileinfo_unix.o
make[2]: Leaving directory '/dev/shm/local/qt-x11-free-3.3.8/src/moc'
cd src && make
make[2]: Entering directory '/dev/shm/local/qt-x11-free-3.3.8/src'
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS -DQT_NO_NIS
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA
-DQT_NO_XCURSOR -DQT_NO_XRANDR -DQT_NO_XRENDER -DQT_NO_XFTFREETYPE
-DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_BUILTIN_GIF_READER=1
-DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE
-DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I3rdparty/libpng
-I3rdparty/zlib -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o
.obj/release-shared-mt/qtaddons_x11.o kernel/qtaddons_x11.cpp
/dev/shm/local/qt-x11-free-3.3.8/bin/moc kernel/qapplication_x11.cpp -o
.moc/release-shared-mt/qapplication_x11.moc
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS -DQT_NO_NIS
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA
-DQT_NO_XCURSOR -DQT_NO_XRANDR -DQT_NO_XRENDER -DQT_NO_XFTFREETYPE
-DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_BUILTIN_GIF_READER=1
-DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE
-DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC
-I/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I3rdparty/libpng
-I3rdparty/zlib -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o
.obj/release-shared-mt/qapplication_x11.o kernel/qapplication_x11.cpp
In file included from /usr/include/unistd.h:25:0,
from
/dev/shm/local/qt-x11-free-3.3.8/mkspecs/linux-g++/qplatformdefs.h:26,
from kernel/qapplication_x11.cpp:47:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
In file included from ../include/qmap.h:46:0,
from kernel/qmime.h:43,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qvaluelist.h:88:13: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^~~~~~~~~
../include/qvaluelist.h:164:13: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^~~~~~~~~
In file included from ../include/qmap.h:46:0,
from kernel/qmime.h:43,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qvaluelist.h:424:13: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^~~~~~~~~
In file included from kernel/qmime.h:43:0,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qmap.h:107:13: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^~~~~~~~~
../include/qmap.h:223:13: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^~~~~~~~~
In file included from kernel/qmime.h:43:0,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qmap.h:604:13: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^~~~~~~~~
kernel/qapplication_x11.cpp: In function 'void qt_init_internal(int*, char**,
Display*, Qt::HANDLE, Qt::HANDLE)':
kernel/qapplication_x11.cpp:2009:8: warning: 'KeySym XKeycodeToKeysym(Display*,
KeyCode, int)' is deprecated [-Wdeprecated-declarations]
XKeycodeToKeysym(appDpy, map->modifiermap[mapIndex], 0);
^~~~~~~~~~~~~~~~
In file included from kernel/qt_x11_p.h:66:0,
from kernel/qinputcontext_p.h:63,
from kernel/qapplication_x11.cpp:92:
/usr/include/X11/Xlib.h:1687:15: note: declared here
extern KeySym XKeycodeToKeysym(
^~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp:2009:62: warning: 'KeySym XKeycodeToKeysym(Display*,
KeyCode, int)' is deprecated [-Wdeprecated-declarations]
XKeycodeToKeysym(appDpy, map->modifiermap[mapIndex], 0);
^
In file included from kernel/qt_x11_p.h:66:0,
from kernel/qinputcontext_p.h:63,
from kernel/qapplication_x11.cpp:92:
/usr/include/X11/Xlib.h:1687:15: note: declared here
extern KeySym XKeycodeToKeysym(
^~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp:2039:8: warning: 'KeySym XKeycodeToKeysym(Display*,
KeyCode, int)' is deprecated [-Wdeprecated-declarations]
XKeycodeToKeysym( appDpy, map->modifiermap[ mapIndex ], 0 );
^~~~~~~~~~~~~~~~
In file included from kernel/qt_x11_p.h:66:0,
from kernel/qinputcontext_p.h:63,
from kernel/qapplication_x11.cpp:92:
/usr/include/X11/Xlib.h:1687:15: note: declared here
extern KeySym XKeycodeToKeysym(
^~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp:2039:66: warning: 'KeySym XKeycodeToKeysym(Display*,
KeyCode, int)' is deprecated [-Wdeprecated-declarations]
XKeycodeToKeysym( appDpy, map->modifiermap[ mapIndex ], 0 );
^
In file included from kernel/qt_x11_p.h:66:0,
from kernel/qinputcontext_p.h:63,
from kernel/qapplication_x11.cpp:92:
/usr/include/X11/Xlib.h:1687:15: note: declared here
extern KeySym XKeycodeToKeysym(
^~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp: In member function 'int
QApplication::x11ProcessEvent(XEvent*)':
kernel/qapplication_x11.cpp:3690:33: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]
if (! req || qt_xdnd_selection && req->selection == qt_xdnd_selection)
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp:3703:33: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]
if (! req || qt_xdnd_selection && req->selection == qt_xdnd_selection)
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp: In member function 'bool
QETWidget::translateMouseEvent(const XEvent*)':
kernel/qapplication_x11.cpp:4118:51: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]
bool hor = ( (btn == Button4 || btn == Button5) && (state&AltButton) ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
kernel/qapplication_x11.cpp: In member function 'bool
QETWidget::translateKeyEventInternal(const XEvent*, int&, QString&, int&, char&,
int&, QEvent::Type&, bool)':
kernel/qapplication_x11.cpp:5158:8: warning: suggest explicit braces to avoid
ambiguous 'else' [-Wparentheses]
if (qt_use_rtl_extensions && type == QEvent::KeyPress)
^
kernel/qapplication_x11.cpp:5228:26: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]
if ( key == XK_Shift_L && directionKeyEvent == XK_Control_L ||
^
kernel/qapplication_x11.cpp:5231:33: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]
} else if ( key == XK_Shift_R && directionKeyEvent == XK_Control_R ||
^
kernel/qapplication_x11.cpp: In function 'int isPaintOrScrollDoneEvent(Display*,
XEvent*, XPointer)':
kernel/qapplication_x11.cpp:5521:3: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]
|| ev->type == ClientMessage
~~~~~~~~~~~~~~~~~~~~~~~~~
&& ev->xclient.message_type == qt_qt_scrolldone )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:1462: recipe for target '.obj/release-shared-mt/qapplication_x11.o'
failed
make[2]: *** [.obj/release-shared-mt/qapplication_x11.o] Error 1
make[2]: Leaving directory '/dev/shm/local/qt-x11-free-3.3.8/src'
Makefile:40: recipe for target 'sub-src' failed
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory '/dev/shm/local/qt-x11-free-3.3.8'
Makefile:8: recipe for target 'init' failed
make: *** [init] Error 2
2019.09.15 23:38:27 [ 2] me@here: /dev/shm/local/qt
$