Thread: Cannot compile anymore

Cannot compile anymore

From
Giuseppe Sacco
Date:
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::GetNodePtr(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::GetNodePtr(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

Re: Cannot compile anymore

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
> Giuseppe Sacco
> Sent: 22 August 2006 07:07
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] Cannot compile anymore
>
> Hi,
> I cannot compile anymore using source from SVN.
>
> I do:
> $ make distclean
> $ sh ./bootstrap
> $ ./configure --prefix=/usr/local --without-wxaui

You cannot build without wxaui (yet).

Regards, Dave.