I tried to build Qt5 on Ubuntu by the instruction https://wiki.qt.io/Building_Qt_5_fro...he_source_code
and pick this option in build:
$ ../qt5/configure -developer-build -opensource -nomake examples -nomake tests
$ ../qt5/configure -developer-build -opensource -nomake examples -nomake tests
To copy to clipboard, switch view to plain text mode
all the way is without error but at
$ make -j4
$ make -j4
To copy to clipboard, switch view to plain text mode
...
...
make[5]: Entering directory '/opt/qt5/qtbase/src/plugins/bearer/networkmanager'
make[5]: *** No targets. Stop.
make[5]: Leaving directory '/opt/qt5/qtbase/src/plugins/bearer/networkmanager'
make[4]: *** [Makefile:99: sub-networkmanager-make_first] Error 2
make[4]: Leaving directory '/opt/qt5/qtbase/src/plugins/bearer'
make[3]: *** [Makefile:80: sub-bearer-make_first] Error 2
make[3]: *** Waiting for unfinished jobs....
cd tds/ && ( test -e Makefile || /opt/qt5/qtbase/bin/qmake -o Makefile /opt/qt5/qtbase/src/plugins/sqldrivers/tds/tds.pro ) && make -f Makefile
make[5]: Entering directory '/opt/qt5/qtbase/src/plugins/platforminputcontexts/compose'
make[5]: Nothing to be done for 'first'.
make[5]: Entering directory '/opt/qt5/qtbase/src/plugins/bearer/networkmanager'
make[5]: *** No targets. Stop.
make[5]: Leaving directory '/opt/qt5/qtbase/src/plugins/bearer/networkmanager'
make[4]: *** [Makefile:99: sub-networkmanager-make_first] Error 2
make[4]: Leaving directory '/opt/qt5/qtbase/src/plugins/bearer'
make[3]: *** [Makefile:80: sub-bearer-make_first] Error 2
make[3]: *** Waiting for unfinished jobs....
cd tds/ && ( test -e Makefile || /opt/qt5/qtbase/bin/qmake -o Makefile /opt/qt5/qtbase/src/plugins/sqldrivers/tds/tds.pro ) && make -f Makefile
make[5]: Entering directory '/opt/qt5/qtbase/src/plugins/platforminputcontexts/compose'
make[5]: Nothing to be done for 'first'.
To copy to clipboard, switch view to plain text mode
...
...
next error is
cd vnc/ && ( test -e Makefile || /opt/qt5/qtbase/bin/qmake -o Makefile /opt/qt5/qtbase/src/plugins/platforms/vnc/vnc.pro ) && make -f Makefile
/usr/bin/ld.gold: error: .obj/sqlite3.o: file is empty
qsql_sqlite.cpp:112: error: undefined reference to 'sqlite3_errmsg16'
qsql_sqlite.cpp:200: error: undefined reference to 'sqlite3_finalize'
qsql_sqlite.cpp:207: error: undefined reference to 'sqlite3_column_count'
qsql_sqlite.cpp:215: error: undefined reference to 'sqlite3_column_name16'
qsql_sqlite.cpp:218: error: undefined reference to 'sqlite3_column_table_name16'
qsql_sqlite.cpp:222: error: undefined reference to 'sqlite3_column_decltype16'
qsql_sqlite.cpp:224: error: undefined reference to 'sqlite3_column_type'
qsql_sqlite.cpp:276: error: undefined reference to 'sqlite3_column_count'
qsql_sqlite.cpp:285: error: undefined reference to 'sqlite3_step'
qsql_sqlite.cpp:296: error: undefined reference to 'sqlite3_column_typemake[6]: Entering directory '/opt/qt5/qtbase/src/plugins/platforms/xcb'
cd vnc/ && ( test -e Makefile || /opt/qt5/qtbase/bin/qmake -o Makefile /opt/qt5/qtbase/src/plugins/platforms/vnc/vnc.pro ) && make -f Makefile
/usr/bin/ld.gold: error: .obj/sqlite3.o: file is empty
qsql_sqlite.cpp:112: error: undefined reference to 'sqlite3_errmsg16'
qsql_sqlite.cpp:200: error: undefined reference to 'sqlite3_finalize'
qsql_sqlite.cpp:207: error: undefined reference to 'sqlite3_column_count'
qsql_sqlite.cpp:215: error: undefined reference to 'sqlite3_column_name16'
qsql_sqlite.cpp:218: error: undefined reference to 'sqlite3_column_table_name16'
qsql_sqlite.cpp:222: error: undefined reference to 'sqlite3_column_decltype16'
qsql_sqlite.cpp:224: error: undefined reference to 'sqlite3_column_type'
qsql_sqlite.cpp:276: error: undefined reference to 'sqlite3_column_count'
qsql_sqlite.cpp:285: error: undefined reference to 'sqlite3_step'
qsql_sqlite.cpp:296: error: undefined reference to 'sqlite3_column_typemake[6]: Entering directory '/opt/qt5/qtbase/src/plugins/platforms/xcb'
To copy to clipboard, switch view to plain text mode
what would be the cause as every requirement suggested is fullfilled.. Thanks
Bookmarks