Re: [X2Go-Dev] x2goclient-4.1.1.0 compile fails at link stage with undefined references
bump From: x2go-dev on behalf of John Frankish Sent: Monday, February 19, 2018 10:12:26 AM To: x2go-dev@lists.x2go.org Cc: Mihai Moldovan Subject: Re: [X2Go-Dev] x2goclient-4.1.1.0 compile fails at link stage with undefined references > > On linux > > Which lib provides the directRDP function? > > > There is no library. That's all Linux-#ifdef'd code. But given that the > implementation section is referencing for instance the > SessionWidget::directRDP(bool, bool) signal, it should work. > > From the excerpt you've shown, I have no idea what you invoked and how so. I > also have no idea if the moc binary has been executed on relevant source files > and generated metaobjects code. If possible, please always paste *everything*, > not just the part that you may deem interesting. > Build log from "make V=1" attached. ___ x2go-dev mailing list x2go-dev@lists.x2go.org https://lists.x2go.org/listinfo/x2go-dev
Re: [X2Go-Dev] x2goclient-4.1.1.0 compile fails at link stage with undefined references
> > On linux > > Which lib provides the directRDP function? > > > There is no library. That's all Linux-#ifdef'd code. But given that the > implementation section is referencing for instance the > SessionWidget::directRDP(bool, bool) signal, it should work. > > From the excerpt you've shown, I have no idea what you invoked and how so. I > also have no idea if the moc binary has been executed on relevant source files > and generated metaobjects code. If possible, please always paste *everything*, > not just the part that you may deem interesting. > Build log from "make V=1" attached. x2goclient_log.tar.xz Description: x2goclient_log.tar.xz ___ x2go-dev mailing list x2go-dev@lists.x2go.org https://lists.x2go.org/listinfo/x2go-dev
Re: [X2Go-Dev] x2goclient-4.1.1.0 compile fails at link stage with undefined references
> > Using gcc-7.2.0 and qt-4.8.6 > > > > Is something missing? > > > > make > > ... > > g++ -lldap -lcups -lX11 -lXpm -Wl,-O1 -Wl,-rpath,/usr/local/lib -o > > x2goclient sharewidget.o settingswidget.o > > mediawidget.o configwidget.o sessionwidget.o connectionwidget.o > > configdialog.o editconnectiondialog.o > > exportdialog.o imgframe.o LDAPSession.o onmainwindow.o sessionbutton.o > > sessionmanagedialog.o > > sshmasterconnection.o sshprocess.o SVGFrame.o InteractionDialog.o > > userbutton.o x2gologdebug.o printprocess.o > > cupsprint.o cupsprintwidget.o cupsprintersettingsdialog.o printwidget.o > > printercmddialog.o printdialog.o > > wapi.o clicklineedit.o httpbrokerclient.o ongetpass.o x2gosettings.o > > brokerpassdlg.o contest.o xsettingswidget.o > > appdialog.o x2goutils.o helpdialog.o sessionexplorer.o folderbutton.o > > folderexplorer.o non_modal_messagebox.o > > help.o unixhelper.o compat.o pulsemanager.o x2goclient.o moc_configdialog.o > > moc_editconnectiondialog.o > > moc_exportdialog.o moc_imgframe.o moc_onmainwindow.o moc_sessionbutton.o > > moc_sessionmanagedialog.o > > moc_sshmasterconnection.o moc_sshprocess.o moc_SVGFrame.o > > moc_InteractionDialog.o > > moc_userbutton.o moc_printprocess.o moc_cupsprintwidget.o > > moc_cupsprintersettingsdialog.o > > moc_printwidget.o moc_printercmddialog.o moc_printdialog.o > > moc_sessionwidget.o moc_connectionwidget.o > > moc_settingswidget.o moc_mediawidget.o moc_sharewidget.o moc_clicklineedit.o > > moc_httpbrokerclient.o moc_brokerpassdlg.o moc_contest.o > > moc_xsettingswidget.o moc_appdialog.o > > moc_sessionexplorer.o moc_folderbutton.o moc_folderexplorer.o > > moc_pulsemanager.o qrc_resources.o > > -L/usr/local/lib -lssh -lssh_threads -lQtSvg -lQtGui -lQtNetwork -lQtCore > > -lpthread > > sessionwidget.o: In function `SessionWidget::slot_emitSettings()': > > sessionwidget.cpp:(.text+0xd70): undefined reference to > > `SessionWidget::settingsChanged(QString const&, > > QString const&, QString const&)' > > sessionwidget.o: In function `SessionWidget::slot_rdpDirectClicked()': > > sessionwidget.cpp:(.text+0x1154): undefined reference to > > `SessionWidget::directRDP(bool, bool)' > > collect2: error: ld returned 1 exit status > > make[2]: *** [Makefile:262: x2goclient] Error 1 > > make[2]: Leaving directory '/usr/src/x2goclient-4.1.1.0/client_build' > > make[1]: *** [Makefile:76: build_client] Error 2 > > make[1]: Leaving directory '/usr/src/x2goclient-4.1.1.0' > > make: *** [Makefile:70: build] Error 2 > > Command exited with non-zero status 2 > > > ... on what platform? Linux should at least have the directRDP function, > though > Linux/kFreeBSD or the like might be different. > On linux Which lib provides the directRDP function? John ___ x2go-dev mailing list x2go-dev@lists.x2go.org https://lists.x2go.org/listinfo/x2go-dev
[X2Go-Dev] x2goclient-4.1.1.0 compile fails at link stage with undefined references
Using gcc-7.2.0 and qt-4.8.6 Is something missing? make ... g++ -lldap -lcups -lX11 -lXpm -Wl,-O1 -Wl,-rpath,/usr/local/lib -o x2goclient sharewidget.o settingswidget.o mediawidget.o configwidget.o sessionwidget.o connectionwidget.o configdialog.o editconnectiondialog.o exportdialog.o imgframe.o LDAPSession.o onmainwindow.o sessionbutton.o sessionmanagedialog.o sshmasterconnection.o sshprocess.o SVGFrame.o InteractionDialog.o userbutton.o x2gologdebug.o printprocess.o cupsprint.o cupsprintwidget.o cupsprintersettingsdialog.o printwidget.o printercmddialog.o printdialog.o wapi.o clicklineedit.o httpbrokerclient.o ongetpass.o x2gosettings.o brokerpassdlg.o contest.o xsettingswidget.o appdialog.o x2goutils.o helpdialog.o sessionexplorer.o folderbutton.o folderexplorer.o non_modal_messagebox.o help.o unixhelper.o compat.o pulsemanager.o x2goclient.o moc_configdialog.o moc_editconnectiondialog.o moc_exportdialog.o moc_imgframe.o moc_onmainwindow.o moc_sessionbutton.o moc_sessionmanagedialog.o moc_sshmasterconnection.o moc_sshprocess.o moc_SVGFrame.o moc_InteractionDialog.o moc_userbutton.o moc_printprocess.o moc_cupsprintwidget.o moc_cupsprintersettingsdialog.o moc_printwidget.o moc_printercmddialog.o moc_printdialog.o moc_sessionwidget.o moc_connectionwidget.o moc_settingswidget.o moc_mediawidget.o moc_sharewidget.o moc_clicklineedit.o moc_httpbrokerclient.o moc_brokerpassdlg.o moc_contest.o moc_xsettingswidget.o moc_appdialog.o moc_sessionexplorer.o moc_folderbutton.o moc_folderexplorer.o moc_pulsemanager.o qrc_resources.o-L/usr/local/lib -lssh -lssh_threads -lQtSvg -lQtGui -lQtNetwork -lQtCore -lpthread sessionwidget.o: In function `SessionWidget::slot_emitSettings()': sessionwidget.cpp:(.text+0xd70): undefined reference to `SessionWidget::settingsChanged(QString const&, QString const&, QString const&)' sessionwidget.o: In function `SessionWidget::slot_rdpDirectClicked()': sessionwidget.cpp:(.text+0x1154): undefined reference to `SessionWidget::directRDP(bool, bool)' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:262: x2goclient] Error 1 make[2]: Leaving directory '/usr/src/x2goclient-4.1.1.0/client_build' make[1]: *** [Makefile:76: build_client] Error 2 make[1]: Leaving directory '/usr/src/x2goclient-4.1.1.0' make: *** [Makefile:70: build] Error 2 Command exited with non-zero status 2 ___ x2go-dev mailing list x2go-dev@lists.x2go.org https://lists.x2go.org/listinfo/x2go-dev