Hello,

I'm having trouble compiling pgadmin3 from cvs. See tail of compilation
log below.

My system: Red Hat 9. wxGTK from
http://shrike.freshrpms.net/rpm.html?id=644

Before "make", I did
sh bootstrap
autoconf
export CFLAGS="-march=i686 -O2" && export CXXFLAGS=$CFLAGS
./configure

Any ideas what could be wrong?

/Troels


Last compilation messages:

g++ -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g
-I../src/include -I -march=i686 -O2  -L/usr/lib -L/usr/lib -o pgadmin3 
pgAdmin3.o pgConn.o pgSet.o pgAggregate.o pgCast.o pgCheck.o
pgCollection.o pgColumn.o pgConstraints.o pgConversion.o pgDatabase.o
pgDomain.o pgForeignKey.o pgFunction.o pgGroup.o pgIndex.o
pgIndexConstraint.o pgLanguage.o pgObject.o pgOperator.o
pgOperatorClass.o pgRule.o pgSchema.o pgSequence.o pgServer.o pgTable.o
pgTrigger.o pgType.o pgUser.o pgView.o pgDatatype.o ctlSQLBox.o
ctlSQLResult.o frmExport.o dlgAddTableView.o events.o frmAbout.o
frmChildTableViewFrame.o frmConnect.o frmMain.o frmOptions.o
frmPassword.o frmQuery.o frmQueryBuilder.o frmHelp.o frmQBJoin.o
frmSplash.o frmVacuum.o frmEditGrid.o dlgProperty.o dlgUser.o dlgGroup.o
dlgDatabase.o dlgLanguage.o dlgSchema.o dlgDomain.o dlgTable.o
dlgColumn.o dlgIndex.o dlgFunction.o dlgView.o dlgRule.o dlgOperator.o
dlgAggregate.o dlgCast.o dlgConversion.o dlgIndexConstraint.o
dlgForeignKey.o dlgSequence.o dlgTrigger.o dlgType.o dlgCheck.o
frmStatus.o misc.o sysLogger.o sysSettings.o  -lssl -lcrypto -lpq
-lwx_gtk_stc-2.4 -lwx_gtk_xrc-2.4 -pthread -lwx_gtk-2.4
frmExport.o(.text+0x13fb): In function
`frmExport::OnHelp(wxCommandEvent&)':
/usr/include/wx/string.h:315: undefined reference to
`DisplayHelp(wxWindow*, wxString const&)'
events.o(.text+0x38f): In function
`frmMain::OnContents(wxCommandEvent&)':
/usr/include/wx/string.h:315: undefined reference to
`DisplayHelp(wxWindow*, wxString const&)'
events.o(.text+0x2fe2): In function
`frmMain::OnSaveDefinition(wxCommandEvent&)':
/usr/include/wx/generic/filedlgg.h:68: undefined reference to
`FileWrite(wxString const&, wxString const&, int)'
frmConnect.o(.text+0x70b): In function
`frmConnect::OnHelp(wxCommandEvent&)':
/usr/include/wx/string.h:315: undefined reference to
`DisplayHelp(wxWindow*, wxString const&)'
frmOptions.o(.text+0x1bda): In function
`frmOptions::OnHelp(wxCommandEvent&)':
ui/frmOptions.cpp:129: undefined reference to `DisplayHelp(wxWindow*,
wxString const&)'
frmPassword.o(.text+0x493): In function
`frmPassword::OnHelp(wxCommandEvent&)':
/usr/include/wx/string.h:315: undefined reference to
`DisplayHelp(wxWindow*, wxString const&)'
frmQuery.o(.text+0xaa7f): In function
`frmQuery::OnContents(wxCommandEvent&)':
/usr/include/wx/string.h:315: undefined reference to
`DisplayHelp(wxWindow*, wxString const&)'
frmQuery.o(.text+0xbac1): In function `frmQuery::openLastFile()':
ui/frmQuery.cpp:566: undefined reference to `FileRead(wxString const&,
wxWindow*, int)'
frmQuery.o(.text+0xbfd0): In function
`frmQuery::OnSave(wxCommandEvent&)':
ui/frmQuery.cpp:610: undefined reference to `FileWrite(wxString const&,
wxString const&, int)'
frmEditGrid.o(.text+0x23bb): In function
`frmEditGrid::OnHelp(wxCommandEvent&)':
/usr/include/wx/string.h:315: undefined reference to
`DisplayHelp(wxWindow*, wxString const&)'
collect2: ld returned 1 exit status
make[2]: *** [pgadmin3] Error 1
make[2]: Leaving directory `/data/extrahome/troels/temp2/pgadmin3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/extrahome/troels/temp2/pgadmin3'
make: *** [all] Error 2

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to