John Frankish
2018-02-13 07:56:59 UTC
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
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