dedec0 |
09-16-2019 07:18 AM |
Quote:
Originally Posted by Firerat
(Post 6037200)
[...]
|
If you just used some random dir, then my use of /dev/shm should be fine.
If you have lots of libraries and development libraries, could that be the reason of my failure? LXC... another time i look what this is.
If you could copy your output of ./configure and of make too, i could compare them. Right now, i just repeated my last try, which is exactly what i did to make the post. I did this:
1. Delete dir /dev/shm/local/qt-x11-free-3.3.8/
2. Keep the symlink /dev/shm/local/qt, which is now broken
3. cd /dev/shm/local/; tar xf ../qt-x11-free-3.3.8.tar.bz2
4. The environment variables kept the same (this means they are changed as Qt INSTALL file asks to be)
5. ./configure (no argument, different of what i did before)
6. make (which failed)
The output of that failed at the same error of yesterday, but has much less lines (explained by a configure with no "-verbose" argument, probably). I copy this output here (simplified in some parts, so it fits on a post... it was not as small as i imagined, although it felt much faster and smaller while it ran):
Code:
2019.09.16 07:38:26 [ 0] me@here: /dev/shm/local
$ /dev/shm/local
2019.09.16 07:38:27 [ 0] me@here: /dev/shm/local
$ rm -fr qt-x11-free-3.3.8/ > /dev/zero
2019.09.16 07:38:44 [ 0] me@here: /dev/shm/local
$ ls -a
. .. qt
2019.09.16 07:38:55 [ 0] me@here: /dev/shm/local
$ tar xf ../qt-x11-free-3.3.8.tar.bz2
2019.09.16 07:39:13 [ 0] me@here: /dev/shm/local
$ ls
qt qt-x11-free-3.3.8
2019.09.16 07:39:41 [ 0] me@here: /dev/shm/local
$ cd qt
2019.09.16 07:39:47 [ 0] me@here: /dev/shm/local/qt
$ vim ~/.bashrc; source ~/.bashrc
2019.09.16 07:58:13 [ 0] me@here: /dev/shm/local/qt
$ ls
total 184K
0 bin 8,0K FAQ 4,0K MANIFEST 4,0K README-QT.TXT
12K changes-3.3.8 0 include 0 mkspecs 0 src
0 config.tests 8,0K INSTALL 0 pics 0 tools
108K configure 0 lib 4,0K PLATFORMS 0 translations
0 doc 20K LICENSE.GPL 0 plugins 0 tutorial
0 examples 8,0K LICENSE.QPL 0 qmake
0 extensions 4,0K Makefile 4,0K README
2019.09.16 07:59:13 [ 0] me@here: /dev/shm/local/qt
$ ./configure
This is the Qt/X11 Open Source Edition.
[...]
Creating qmake. Please wait...
[...]
g++ -o qmake project.o property.o main.o makefile.o unixmake2.o unixmake.o msvc_nmake.o borland_bmake.o mingw_make.o msvc_dsp.o msvc_vcproj.o option.o winmakefile.o projectgenerator.o metrowerks_xml.o pbuilder_pbx.o msvc_objectmodel.o meta.o qtmd5.o qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o quuid.o qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o qconfig.o qunicodetables.o qsettings.o qlocale.o
rm -f /dev/shm/local/qt-x11-free-3.3.8/bin/qmake
ln -s ../qmake/qmake /dev/shm/local/qt-x11-free-3.3.8/bin/qmake
This target is using the GNU C++ compiler (linux-g++).
Recent versions of this compiler automatically include code for
exceptions, which increase both the size of the Qt library and the
amount of memory taken by your applications.
You may choose to re-run configure with the -no-exceptions
option to compile Qt without exceptions. This is completely binary
compatible, and existing applications should continue to work.
Build type: linux-g++
Platform notes:
- Also available for Linux: linux-kcc linux-icc linux-cxx
Configuration ....... nocrosscompiler minimal-config small-config medium-config large-config full-config styles tools kernel widgets dialogs iconview workspace network canvas table xml sql release dll largefile stl ipv6 png no-gif zlib bigcodecs x11sm xshape xkb
STL support ......... yes
PCH support ......... no
IPv6 support ........ yes
Thread support ...... no
NIS support ......... no
CUPS support ........ no
Large File support .. partial
GIF support ......... no
MNG support ......... plugin (qt)
JPEG support ........ plugin (qt)
PNG support ......... yes (qt)
zlib support ........ yes
OpenGL support ...... no
NAS sound support ... no
Session management .. yes
XShape support ...... yes
Xinerama support .... no
Tablet support ...... no
Xcursor support ..... no
XRandR support ...... no
XRender support ..... no
Xft support ......... no
XKB Support ......... yes
Finding project files. Please wait...
241 projects found.
Creating makefiles. Please wait...
for /dev/shm/local/qt-x11-free-3.3.8/src/qt.pro
for /dev/shm/local/qt-x11-free-3.3.8/src/moc/moc.pro
for /dev/shm/local/qt-x11-free-3.3.8/plugins/src/styles/styles.pro
[...]
for /dev/shm/local/qt-x11-free-3.3.8/plugins/src/imageformats/imageformats.pro
for /dev/shm/local/qt-x11-free-3.3.8/examples/examples.pro
for /dev/shm/local/qt-x11-free-3.3.8/examples/fonts/fonts.pro
for /dev/shm/local/qt-x11-free-3.3.8/examples/sql/overview/overview.pro
for /dev/shm/local/qt-x11-free-3.3.8/examples/sql/sql.pro
for /dev/shm/local/qt-x11-free-3.3.8/extensions/extensions.pro
for /dev/shm/local/qt-x11-free-3.3.8/extensions/nsplugin/examples/grapher/grapher.pro
for /dev/shm/local/qt-x11-free-3.3.8/extensions/nsplugin/examples/trivial/trivial.pro
for /dev/shm/local/qt-x11-free-3.3.8/extensions/nsplugin/src/qnp.pro
for /dev/shm/local/qt-x11-free-3.3.8/tutorial/tutorial.pro
for /dev/shm/local/qt-x11-free-3.3.8/tools/linguist/linguist.pro
[...]
for /dev/shm/local/qt-x11-free-3.3.8/tools/tools.pro
for /dev/shm/local/qt-x11-free-3.3.8/plugins/src/styles/windows/windows.pro
[...]
for /dev/shm/local/qt-x11-free-3.3.8/plugins/src/imageformats/mng/mng.pro
for /dev/shm/local/qt-x11-free-3.3.8/examples/helpdemo/helpdemo.pro
[...]
for /dev/shm/local/qt-x11-free-3.3.8/examples/mdi/mdi.pro
for /dev/shm/local/qt-x11-free-3.3.8/tutorial/t14/t14.pro
[...]
for /dev/shm/local/qt-x11-free-3.3.8/tutorial/t1/t1.pro
for /dev/shm/local/qt-x11-free-3.3.8/config.tests/unix/largefile/largefiletest.pro
for /dev/shm/local/qt-x11-free-3.3.8/config.tests/unix/endian/endiantest.pro
[...]
for /dev/shm/local/qt-x11-free-3.3.8/tools/makeqpf/makeqpf.pro
for /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
Qt is now configured for building. Just run /usr/bin/make.
To reconfigure, run /usr/bin/make confclean and configure.
2019.09.16 07:59:51 [ 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 ./qbuffer.o ../tools/qbuffer.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 ./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 ./qcstring.o ../tools/qcstring.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 ./qdatastream.o ../tools/qdatastream.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 ./qtextcodec.o ../codecs/qtextcodec.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 ../codecs/qtextcodec.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 ./qutfcodec.o ../codecs/qutfcodec.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 -fPIC -DQT_SHARED -DQT_NO_DEBUG -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_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/ -o .obj/release-shared/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/qapplication_x11.moc
g++ -c -pipe -Wall -W -O2 -fPIC -DQT_SHARED -DQT_NO_DEBUG -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_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/ -o .obj/release-shared/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/qapplication_x11.o' failed
make[2]: *** [.obj/release-shared/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.16 08:00:07 [ 2] me@here: /dev/shm/local/qt
$
(do you prefer i break the terminal output above to 80 columns, like i did before? Since we use 'code' tags, i find it hard to read the output in the browser)
|