View Single Post

   
  #1 (permalink)  
Old 04-17-2008, 07:14 PM
Giuseppe Sacco
 
Posts: n/a
Default Cannot compile anymore

Hi,
I cannot compile anymore using source from SVN.

I do:
$ make distclean
$ sh ./bootstrap
$ ./configure --prefix=/usr/local --without-wxaui
$ make
[...]
/usr/include/wx-2.6/wx/image.h: In member function
‘wxImageHistogramBase_wxImplementation_HashTable ::Node**
wxImageHistogramBase_wxImplementation_HashTable::G etNodePtr(const long
unsigned int&) const’:
/usr/include/wx-2.6/wx/image.h:123: warning: dereferencing type-punned
pointer will break strict-aliasing rules
.../src/include/frmMain.h: At global scope:
.../src/include/frmMain.h:77: error: ‘wxFrameManager’ does not name a
type
.../src/include/frmMain.h:114: error: ‘wxFrameManagerEvent’ has not been
declared
.../src/include/frmQuery.h:36: error: ‘wxFrameManager’ does not name a
type
.../src/include/frmQuery.h:92: error: ‘wxFrameManagerEvent’ has not been
declared
/usr/include/wx-2.6/wx/fs_zip.h: In member function
‘wxZipFilenameHashMap_wxImplementation_HashTable ::Node**
wxZipFilenameHashMap_wxImplementation_HashTable::G etNodePtr(const
wxString&) const’:
/usr/include/wx-2.6/wx/fs_zip.h:25: warning: dereferencing type-punned
pointer will break strict-aliasing rules
make[2]: *** [pgAdmin3.o] Error 1
make[2]: Leaving directory `/home/giuseppe/src/cvs/pgadmin3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/giuseppe/src/cvs/pgadmin3'
make: *** [all] Error 2

This is with wxWidget 2.6.3.2.1.1 and gcc 4.1.1 on linux.

Do you have any idea on what to check?

Thanks,
Giuseppe Sacco

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Reply With Quote