On Saturday 31 August 2013 10:35:02 lux-integ wrote: > ' make' > ends as the following:- > > #-------------------------- > g++ -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,/opt/qt5/lib -shared -o > libqxcb.so .obj/release-shared/qxcbclipboard.o > .obj/release-shared/qxcbconnection.o .obj/release-shared/qxcbintegration.o > .obj/release-shared/qxcbkeyboard.o .obj/release-shared/qxcbmime.o > .obj/release-shared/qxcbdrag.o .obj/release- shared/qxcbscreen.o > .obj/release-shared/qxcbwindow.o .obj/release- shared/qxcbbackingstore.o > .obj/release-shared/qxcbwmsupport.o .obj/release- shared/main.o > .obj/release-shared/qxcbnativeinterface.o .obj/release- > shared/qxcbcursor.o .obj/release-shared/qxcbimage.o .obj/release- > shared/qxcbxsettings.o .obj/release-shared/atom.o .obj/release-shared/xkb- > compat.o .obj/release-shared/context.o .obj/release-shared/xkb-keymap.o > .obj/release-shared/keysym.o .obj/release-shared/keysym-utf.o .obj/release- > shared/state.o .obj/release-shared/text.o .obj/release-shared/action.o > .obj/release-shared/ast-build.o .obj/release-shared/compat.o .obj/release- > shared/expr.o .obj/release-shared/include.o .obj/release-shared/keycodes.o > .obj/release-shared/keymap-dump.o .obj/release-shared/keymap.o > .obj/release- shared/parser.o .obj/release-shared/rules.o > .obj/release-shared/scanner.o .obj/release-shared/symbols.o > .obj/release-shared/types.o .obj/release- shared/vmod.o > .obj/release-shared/xkbcomp.o .obj/release- > shared/moc_qxcbconnection.o .obj/release-shared/moc_qxcbmime.o > .obj/release- shared/moc_qxcbnativeinterface.o -L/usr/X11R7.7/lib -ldl > -lX11 -lX11-xcb - lxcb-render-util -lXrender -lxcb-render -ldbus-1 -lxcb > -lxcb-image -lxcb-icccm -lxcb-sync -lxcb-xfixes -lxcb-shm -lxcb-randr > -lxcb-shape -lxcb-keysyms - > L/home/linteg/qt-everywhere-opensource-src-5.1.0/qtbase/lib - > lQt5PlatformSupport -lfontconfig -lfreetype -lgthread-2.0 -pthread > -lglib-2.0 -ludev -lEGL -lQt5DBus -lQt5Gui -lQt5Core -lGLESv2 -lpthread > .obj/release-shared/qxcbwindow.o: In function `QXcbWindow::create()': > qxcbwindow.cpp:(.text+0x4148): undefined reference to > `QXlibEglIntegration::getCompatibleVisualId(_XDisplay*, void*, void*)' > collect2: error: ld returned 1 exit status > make[6]: *** [../../../../plugins/platforms/libqxcb.so] Error 1 > make[6]: Leaving directory `/home/linteg/qt-everywhere-opensource- > src-5.1.0/qtbase/src/plugins/platforms/xcb' > #--------------------------------------
update: the problem SEEMS to revolve around setting of the '-I (includePath) and '- L(libraryPath) variables in the qmake configure script that builds qt5. (This in turn seems to be a bit different from settings in the the qt4 series ) The envars LDFLAGS and CPPFLAGS seems to be ignored. I am following guidance for the 'configurations' given here ( http://qt-project.org/doc/qt-4.8/configure-options.html ) I could not find an equivalent http://qt-project.org/doc/qt-5.0/configure-options.html nor http://qt-project.org/doc/qt-5.1/configure-options.html I do not know how to set: --A) -I (includePath ) OR --B -L (libraryPath) variables in the -configure script. for A) is this i)-I "-I/path/to/includedir1 -I/path/to/includedir2" ? or ii)-I "/path/to/includedir1:/path/to/includedir2" ? or something entirely different? and for B) is it iii)-L "-L/path/libdir1 --L/path/libdir2" ? OR iv)-L "/path/libdir1:/path/libdir2" ? or something entirely dirrerent ? I tried a combination of i) and iii) -the former seemed to have worked but no the latter advice would be much appreciated sincerely luxInteg -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
