From: | Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> |
---|---|
To: | pgadmin-hackers(at)PostgreSQL(dot)org |
Subject: | 1.20.0 build error on Fedora 23 |
Date: | 2015-11-09 15:07:46 |
Message-ID: | 1447081666.24301.5.camel@gunduz.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi,
I'm getting the error below while trying to build pgadmin3 1.20.0 on
Fedora 23. All is
I am not a gcc expert, but adding -fPIC to CFLAGS did not help.
Any comments?
gcc -DHAVE_CONFIG_H -I. -I.. -I../pgadmin/include/libssh2 -DDATA_DIR=\"/usr/pgsql-9.5/share/pgadmin3/\" -I../pgadmin/include -I../pgadmin/include/libssh2 -I/usr/pgsql-9.5/include -I/usr/pgsql-9.5/include/server -I/usr/pgsql-9.5/include -DPG_SSL -DHAVE_CONNINFO_PARSE -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DEMBED_XRC -I/usr/include/libxml2 -I/usr/include/libxml2 -DHAVE_OPENSSL_CRYPTO -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -c -o libssh2/version.o libssh2/version.c
g++ -O2 -L/usr/pgsql-9.5/lib -lkrb5 -Wl,-as-needed -L/usr/lib -o pgadmin3 pgAdmin3.o agent/dlgJob.o agent/dlgSchedule.o agent/dlgStep.o agent/pgaJob.o agent/pgaSchedule.o agent/pgaStep.o ctl/calbox.o ctl/ctlAuiNotebook.o ctl/ctlCheckTreeView.o ctl/ctlColourPicker.o ctl/ctlComboBox.o ctl/ctlListView.o ctl/ctlMenuToolbar.o ctl/ctlSQLBox.o ctl/ctlSQLGrid.o ctl/ctlSQLResult.o ctl/ctlDefaultSecurityPanel.o ctl/ctlSeclabelPanel.o ctl/ctlSecurityPanel.o ctl/ctlTree.o ctl/ctlProgressStatusBar.o ctl/explainCanvas.o ctl/explainShape.o ctl/timespin.o ctl/xh_calb.o ctl/xh_ctlcolourpicker.o ctl/xh_ctlcombo.o ctl/xh_ctlchecktreeview.o ctl/xh_ctltree.o ctl/xh_sqlbox.o ctl/xh_timespin.o db/keywords.o db/pgConn.o db/pgSet.o db/pgQueryThread.o dd/dditems/figures/ddColumnFigure.o dd/dditems/figures/ddColumnKindIcon.o dd/dditems/figures/ddColumnOptionIcon.o dd/dditems/figures/ddRelationshipFigure.o dd/dditems/figures/ddRelationshipItem.o dd/dditems/figures/ddRelationshipTerminal.o dd/dditems/figures/ddTableFigure.o dd/dditems/figures/ddTextTableItemFigure.o dd/dditems/figures/xml/ddXmlStorage.o dd/dditems/handles/ddAddColButtonHandle.o dd/dditems/handles/ddAddFkButtonHandle.o dd/dditems/handles/ddMinMaxTableButtonHandle.o dd/dditems/handles/ddRemoveTableButtonHandle.o dd/dditems/handles/ddScrollBarHandle.o dd/dditems/handles/ddSouthTableSizeHandle.o dd/dditems/locators/ddAddColLocator.o dd/dditems/locators/ddAddFkLocator.o dd/dditems/locators/ddMinMaxTableLocator.o dd/dditems/locators/ddRemoveTableLocator.o dd/dditems/locators/ddScrollBarTableLocator.o dd/dditems/locators/ddTableBottomLocator.o dd/dditems/tools/ddColumnFigureTool.o dd/dditems/tools/ddColumnTextTool.o dd/dditems/utilities/ddPrecisionScaleDialog.o dd/dditems/utilities/ddSelectKindFksDialog.o dd/dditems/utilities/ddTableNameDialog.o dd/ddmodel/ddDatabaseDesign.o dd/ddmodel/ddDrawingEditor.o dd/ddmodel/ddDBReverseEnginering.o dd/ddmodel/ddModelBrowser.o dd/ddmodel/ddGenerationWizard.o dd/ddmodel/ddDrawingView.o dd/ddmodel/ddBrowserDataContainer.o debugger/ctlMessageWindow.o debugger/ctlResultGrid.o debugger/ctlStackWindow.o debugger/ctlTabWindow.o debugger/ctlVarWindow.o debugger/dbgBreakPoint.o debugger/dbgController.o debugger/dbgEvents.o debugger/dbgModel.o debugger/dbgTargetInfo.o debugger/debugger.o debugger/dlgDirectDbg.o debugger/frmDebugger.o dlg/dlgAddFavourite.o dlg/dlgAggregate.o dlg/dlgCast.o dlg/dlgClasses.o dlg/dlgCheck.o dlg/dlgCollation.o dlg/dlgColumn.o dlg/dlgConnect.o dlg/dlgConversion.o dlg/dlgDatabase.o dlg/dlgDomain.o dlg/dlgEventTrigger.o dlg/dlgExtension.o dlg/dlgEditGridOptions.o dlg/dlgFindReplace.o dlg/dlgForeignDataWrapper.o dlg/dlgForeignKey.o dlg/dlgForeignServer.o dlg/dlgForeignTable.o dlg/dlgFunction.o dlg/dlgGroup.o dlg/dlgHbaConfig.o dlg/dlgIndex.o dlg/dlgIndexConstraint.o dlg/dlgLanguage.o dlg/dlgMainConfig.o dlg/dlgManageFavourites.o dlg/dlgMoveTablespace.o dlg/dlgOperator.o dlg/dlgPackage.o dlg/dlgPgpassConfig.o dlg/dlgProperty.o dlg/dlgReassignDropOwned.o dlg/dlgRole.o dlg/dlgRule.o dlg/dlgSchema.o dlg/dlgSearchObject.o dlg/dlgSelectConnection.o dlg/dlgSequence.o dlg/dlgServer.o dlg/dlgSynonym.o dlg/dlgTable.o dlg/dlgTablespace.o dlg/dlgTextSearchConfiguration.o dlg/dlgTextSearchDictionary.o dlg/dlgTextSearchParser.o dlg/dlgTextSearchTemplate.o dlg/dlgTrigger.o dlg/dlgType.o dlg/dlgUser.o dlg/dlgUserMapping.o dlg/dlgView.o dlg/dlgManageMacros.o dlg/dlgExtTable.o dlg/dlgSelectDatabase.o dlg/dlgResourceGroup.o frm/events.o frm/frmAbout.o frm/frmBackup.o frm/frmBackupGlobals.o frm/frmBackupServer.o frm/frmConfig.o frm/frmDatabaseDesigner.o frm/frmEditGrid.o frm/frmExport.o frm/frmGrantWizard.o frm/frmHbaConfig.o frm/frmHint.o frm/frmImport.o frm/frmMain.o frm/frmMainConfig.o frm/frmMaintenance.o frm/frmOptions.o frm/frmPassword.o frm/frmPgpassConfig.o frm/frmQuery.o frm/frmReport.o frm/frmRestore.o frm/frmSplash.o frm/frmStatus.o frm/plugins.o ogl/basic.o ogl/bmpshape.o ogl/composit.o ogl/divided.o ogl/lines.o ogl/oglmisc.o ogl/basic2.o ogl/canvas.o ogl/constrnt.o ogl/drawn.o ogl/mfutils.o ogl/ogldiag.o pgscript/pgsApplication.o pgscript/lex.pgs.o pgscript/parser.tab.o pgscript/exceptions/pgsArithmeticException.o pgscript/exceptions/pgsAssertException.o pgscript/exceptions/pgsBreakException.o pgscript/exceptions/pgsCastException.o pgscript/exceptions/pgsContinueException.o pgscript/exceptions/pgsException.o pgscript/exceptions/pgsInterruptException.o pgscript/exceptions/pgsParameterException.o pgscript/expressions/pgsAnd.o pgscript/expressions/pgsAssign.o pgscript/expressions/pgsAssignToRecord.o pgscript/expressions/pgsCast.o pgscript/expressions/pgsColumns.o pgscript/expressions/pgsDifferent.o pgscript/expressions/pgsEqual.o pgscript/expressions/pgsExecute.o pgscript/expressions/pgsExpression.o pgscript/expressions/pgsGenDate.o pgscript/expressions/pgsGenDateTime.o pgscript/expressions/pgsGenDictionary.o pgscript/expressions/pgsGenInt.o pgscript/expressions/pgsGenReal.o pgscript/expressions/pgsGenReference.o pgscript/expressions/pgsGenRegex.o pgscript/expressions/pgsGenString.o pgscript/expressions/pgsGenTime.o pgscript/expressions/pgsGreater.o pgscript/expressions/pgsGreaterEqual.o pgscript/expressions/pgsIdent.o pgscript/expressions/pgsIdentRecord.o pgscript/expressions/pgsLines.o pgscript/expressions/pgsLower.o pgscript/expressions/pgsLowerEqual.o pgscript/expressions/pgsMinus.o pgscript/expressions/pgsModulo.o pgscript/expressions/pgsNegate.o pgscript/expressions/pgsNot.o pgscript/expressions/pgsOperation.o pgscript/expressions/pgsOr.o pgscript/expressions/pgsOver.o pgscript/expressions/pgsParenthesis.o pgscript/expressions/pgsPlus.o pgscript/expressions/pgsRemoveLine.o pgscript/expressions/pgsTimes.o pgscript/expressions/pgsTrim.o pgscript/generators/pgsDateGen.o pgscript/generators/pgsDateTimeGen.o pgscript/generators/pgsDictionaryGen.o pgscript/generators/pgsIntegerGen.o pgscript/generators/pgsNumberGen.o pgscript/generators/pgsObjectGen.o pgscript/generators/pgsRealGen.o pgscript/generators/pgsReferenceGen.o pgscript/generators/pgsRegexGen.o pgscript/generators/pgsStringGen.o pgscript/generators/pgsTimeGen.o pgscript/objects/pgsGenerator.o pgscript/objects/pgsNumber.o pgscript/objects/pgsRecord.o pgscript/objects/pgsString.o pgscript/objects/pgsVariable.o pgscript/statements/pgsAssertStmt.o pgscript/statements/pgsBreakStmt.o pgscript/statements/pgsContinueStmt.o pgscript/statements/pgsDeclareRecordStmt.o pgscript/statements/pgsExpressionStmt.o pgscript/statements/pgsIfStmt.o pgscript/statements/pgsPrintStmt.o pgscript/statements/pgsProgram.o pgscript/statements/pgsStmt.o pgscript/statements/pgsStmtList.o pgscript/statements/pgsWhileStmt.o pgscript/utilities/pgsAlloc.o pgscript/utilities/pgsContext.o pgscript/utilities/pgsDriver.o pgscript/utilities/pgsMapm.o pgscript/utilities/pgsThread.o pgscript/utilities/pgsUtilities.o pgscript/utilities/m_apm/mapm5sin.o pgscript/utilities/m_apm/mapmasin.o pgscript/utilities/m_apm/mapmasn0.o pgscript/utilities/m_apm/mapmcbrt.o pgscript/utilities/m_apm/mapmcnst.o pgscript/utilities/m_apm/mapmfact.o pgscript/utilities/m_apm/mapmfmul.o pgscript/utilities/m_apm/mapmgues.o pgscript/utilities/m_apm/mapmhasn.o pgscript/utilities/m_apm/mapmhsin.o pgscript/utilities/m_apm/mapmipwr.o pgscript/utilities/m_apm/mapmistr.o pgscript/utilities/m_apm/mapmpwr2.o pgscript/utilities/m_apm/mapmrsin.o pgscript/utilities/m_apm/mapmsqrt.o pgscript/utilities/m_apm/mapmstck.o pgscript/utilities/m_apm/mapmutil.o pgscript/utilities/m_apm/mapmutl1.o pgscript/utilities/m_apm/mapmutl2.o pgscript/utilities/m_apm/mapm_add.o pgscript/utilities/m_apm/mapm_cpi.o pgscript/utilities/m_apm/mapm_div.o pgscript/utilities/m_apm/mapm_exp.o pgscript/utilities/m_apm/mapm_fam.o pgscript/utilities/m_apm/mapm_fft.o pgscript/utilities/m_apm/mapm_flr.o pgscript/utilities/m_apm/mapm_fpf.o pgscript/utilities/m_apm/mapm_gcd.o pgscript/utilities/m_apm/mapm_lg2.o pgscript/utilities/m_apm/mapm_lg3.o pgscript/utilities/m_apm/mapm_lg4.o pgscript/utilities/m_apm/mapm_log.o pgscript/utilities/m_apm/mapm_mul.o pgscript/utilities/m_apm/mapm_pow.o pgscript/utilities/m_apm/mapm_rcp.o pgscript/utilities/m_apm/mapm_rnd.o pgscript/utilities/m_apm/mapm_set.o pgscript/utilities/m_apm/mapm_sin.o schema/edbPackage.o schema/edbPackageFunction.o schema/edbPackageVariable.o schema/edbSynonym.o schema/edbPrivateSynonym.o schema/pgAggregate.o schema/pgCast.o schema/pgCatalogObject.o schema/pgCheck.o schema/pgCollation.o schema/pgCollection.o schema/pgColumn.o schema/pgConstraints.o schema/pgConversion.o schema/pgDatabase.o schema/pgDatatype.o schema/pgDomain.o schema/pgEventTrigger.o schema/pgExtension.o schema/pgForeignDataWrapper.o schema/pgForeignKey.o schema/pgForeignServer.o schema/pgForeignTable.o schema/pgFunction.o schema/pgGroup.o schema/pgIndex.o schema/pgIndexConstraint.o schema/pgLanguage.o schema/pgObject.o schema/pgOperator.o schema/pgOperatorClass.o schema/pgOperatorFamily.o schema/pgRole.o schema/pgRule.o schema/pgSchema.o schema/pgSequence.o schema/pgServer.o schema/pgTable.o schema/pgTablespace.o schema/pgTextSearchConfiguration.o schema/pgTextSearchDictionary.o schema/pgTextSearchParser.o schema/pgTextSearchTemplate.o schema/pgTrigger.o schema/pgType.o schema/pgUser.o schema/pgUserMapping.o schema/pgView.o schema/gpExtTable.o schema/gpResQueue.o schema/gpPartition.o schema/edbResourceGroup.o slony/dlgRepCluster.o slony/dlgRepListen.o slony/dlgRepNode.o slony/dlgRepPath.o slony/dlgRepProperty.o slony/dlgRepSequence.o slony/dlgRepSet.o slony/dlgRepSubscription.o slony/dlgRepTable.o slony/slCluster.o slony/slListen.o slony/slNode.o slony/slPath.o slony/slSequence.o slony/slSet.o slony/slSubscription.o slony/slTable.o gqb/gqbArrayCollection.o gqb/gqbBrowser.o gqb/gqbCollection.o gqb/gqbColumn.o gqb/gqbController.o gqb/gqbDatabase.o gqb/gqbGraphSimple.o gqb/gqbGridOrderTable.o gqb/gqbGridProjTable.o gqb/gqbGridRestTable.o gqb/gqbGridJoinTable.o gqb/gqbModel.o gqb/gqbObject.o gqb/gqbObjectCollection.o gqb/gqbQueryObjs.o gqb/gqbSchema.o gqb/gqbTable.o gqb/gqbViewPanels.o gqb/gqbView.o hotdraw/connectors/hdChopBoxConnector.o hotdraw/connectors/hdIConnector.o hotdraw/connectors/hdLocatorConnector.o hotdraw/connectors/hdStickyRectangleConnector.o hotdraw/figures/hdAbstractFigure.o hotdraw/figures/hdAbstractMenuFigure.o hotdraw/figures/hdAttribute.o hotdraw/figures/hdAttributeFigure.o hotdraw/figures/hdBitmapFigure.o hotdraw/figures/hdCompositeFigure.o hotdraw/figures/hdIConnectionFigure.o hotdraw/figures/hdIFigure.o hotdraw/figures/hdLineConnection.o hotdraw/figures/hdLineTerminal.o hotdraw/figures/hdPolyLineFigure.o hotdraw/figures/hdRectangleFigure.o hotdraw/figures/hdSimpleTextFigure.o hotdraw/figures/defaultAttributes/hdFillAttribute.o hotdraw/figures/defaultAttributes/hdFontAttribute.o hotdraw/figures/defaultAttributes/hdFontColorAttribute.o hotdraw/figures/defaultAttributes/hdLineAttribute.o hotdraw/figures/xml/hdStorage.o hotdraw/handles/hdButtonHandle.o hotdraw/handles/hdChangeConnectionEndHandle.o hotdraw/handles/hdChangeConnectionHandle.o hotdraw/handles/hdChangeConnectionStartHandle.o hotdraw/handles/hdIHandle.o hotdraw/handles/hdLineConnectionHandle.o hotdraw/handles/hdLocatorHandle.o hotdraw/handles/hdPolyLineHandle.o hotdraw/locators/hdILocator.o hotdraw/locators/hdPolyLineLocator.o hotdraw/main/hdDrawing.o hotdraw/main/hdDrawingEditor.o hotdraw/main/hdDrawingView.o hotdraw/tools/hdAbstractTool.o hotdraw/tools/hdCanvasMenuTool.o hotdraw/tools/hdCompositeFigureTool.o hotdraw/tools/hdConnectionCreationTool.o hotdraw/tools/hdCreationTool.o hotdraw/tools/hdDragCreationTool.o hotdraw/tools/hdDragTrackerTool.o hotdraw/tools/hdFigureTool.o hotdraw/tools/hdHandleTrackerTool.o hotdraw/tools/hdITool.o hotdraw/tools/hdMenuTool.o hotdraw/tools/hdPolyLineFigureTool.o hotdraw/tools/hdSelectAreaTool.o hotdraw/tools/hdSelectionTool.o hotdraw/tools/hdSimpleTextTool.o hotdraw/utilities/hdArrayCollection.o hotdraw/utilities/hdCollection.o hotdraw/utilities/hdGeometry.o hotdraw/utilities/hdKeyEvent.o hotdraw/utilities/hdMouseEvent.o hotdraw/utilities/hdMultiPosRect.o hotdraw/utilities/hdPoint.o hotdraw/utilities/hdRect.o hotdraw/utilities/hdRemoveDeleteDialog.o ui/xrcDialogs.o utils/csvfiles.o utils/factory.o utils/favourites.o utils/misc.o utils/pgconfig.o utils/registry.o utils/sysLogger.o utils/sysProcess.o utils/sysSettings.o utils/tabcomplete.o utils/utffile.o utils/macros.o utils/sshTunnel.o libssh2/agent.o libssh2/channel.o libssh2/comp.o libssh2/crypt.o libssh2/global.o libssh2/hostkey.o libssh2/keepalive.o libssh2/kex.o libssh2/knownhost.o libssh2/libgcrypt.o libssh2/mac.o libssh2/misc.o libssh2/openssl.o libssh2/packet.o libssh2/pem.o libssh2/publickey.o libssh2/scp.o libssh2/session.o libssh2/sftp.o libssh2/transport.o libssh2/userauth.o libssh2/version.o -pthread -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lwx_gtk2u_stc-2.8 -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -lxml2 -lz -lm -ldl -L/usr/lib64 -lxslt -lxml2 -lz -ldl -lm -lwx_gtk2u_core-2.8 -L/usr/pgsql-9.5/lib -lpq -lssl -lcrypto -lz
/usr/bin/ld: pgAdmin3.o: relocation R_X86_64_32 against `_ZN10frmDlgTest13sm_eventTableE' can not be used when making a shared object; recompile with -fPIC
pgAdmin3.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:4992: recipe for target 'pgadmin3' failed
make[4]: *** [pgadmin3] Error 1
make[4]: Leaving directory '/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.5/pgadmin3/F-23/pgadmin3-1.20.0/pgadmin'
Makefile:3553: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.5/pgadmin3/F-23/pgadmin3-1.20.0/pgadmin'
Makefile:584: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.5/pgadmin3/F-23/pgadmin3-1.20.0'
Makefile:468: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.5/pgadmin3/F-23/pgadmin3-1.20.0'
error: Bad exit status from /var/tmp/rpm-tmp.HyQHMQ (%build)
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
From | Date | Subject | |
---|---|---|---|
Next Message | Timon | 2015-11-10 11:07:15 | Re: 1.20.0 build error on Fedora 23 |
Previous Message | Dave Page | 2015-11-09 09:38:01 | Re: patch: pretty size for temp files |