Hi,
now and then I have been trying to build pgadmin for my system. At the
moment, wxW* builds ok (at version 2.5.1), but when I 'make' pgadmin
(both wxW* and pgadmin from CVS), everything compiles until:
source='agent/dlgJob.cpp' object='dlgJob.o' libtool=no \
depfile='.deps/dlgJob.Po' tmpdepfile='.deps/dlgJob.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..
-DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g
-I../src/include -I../src/agent/include -I/usr/local/pgsql/include
-DSSL -I/usr/local/lib/wx/include/macud-2.5 -I/usr/local/include
-D__WXDEBUG__ -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DWX_PRECOMP -DNO_GCC_PRAGMA -I/usr/local/include -no-cpp-precomp
-fno-rtti -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g
-I../src/include -I../src/agent/include -Wall -g -O0 -c -o dlgJob.o
`test -f 'agent/dlgJob.cpp' || echo './'`agent/dlgJob.cpp
agent/dlgJob.cpp:51: error: invalid static_cast from type `void
(dlgJob::*)(wxNotifyEvent&)' to type `void
(wxEvtHandler::*)(wxCommandEvent&)'
agent/dlgJob.cpp:52: error: invalid static_cast from type `void
(dlgJob::*)(wxNotifyEvent&)' to type `void
(wxEvtHandler::*)(wxCommandEvent&)'
agent/dlgJob.cpp:53: error: invalid static_cast from type `void
(dlgJob::*)(wxNotifyEvent&)' to type `void
(wxEvtHandler::*)(wxCommandEvent&)'
agent/dlgJob.cpp:54: error: invalid static_cast from type `void
(dlgJob::*)(wxNotifyEvent&)' to type `void
(wxEvtHandler::*)(wxCommandEvent&)'
agent/dlgJob.cpp:56: error: invalid static_cast from type `void
(dlgJob::*)(wxNotifyEvent&)' to type `void
(wxEvtHandler::*)(wxListEvent&)'
agent/dlgJob.cpp:57: error: invalid static_cast from type `void
(dlgJob::*)(wxNotifyEvent&)' to type `void
(wxEvtHandler::*)(wxCommandEvent&)'
agent/dlgJob.cpp:58: error: invalid static_cast from type `void
(dlgJob::*)(wxNotifyEvent&)' to type `void
(wxEvtHandler::*)(wxCommandEvent&)'
agent/dlgJob.cpp:59: error: invalid static_cast from type `void
(dlgJob::*)(wxNotifyEvent&)' to type `void
(wxEvtHandler::*)(wxCommandEvent&)'
agent/dlgJob.cpp:61: error: invalid static_cast from type `void
(dlgJob::*)(wxNotifyEvent&)' to type `void
(wxEvtHandler::*)(wxListEvent&)'
agent/dlgJob.cpp:62: error: invalid static_cast from type `void
(dlgJob::*)(wxNotifyEvent&)' to type `void
(wxEvtHandler::*)(wxCommandEvent&)'
agent/dlgJob.cpp:63: error: invalid static_cast from type `void
(dlgJob::*)(wxNotifyEvent&)' to type `void
(wxEvtHandler::*)(wxCommandEvent&)'
agent/dlgJob.cpp:64: error: invalid static_cast from type `void
(dlgJob::*)(wxNotifyEvent&)' to type `void
(wxEvtHandler::*)(wxCommandEvent&)'
make[2]: *** [dlgJob.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
jwa@bach:pgadmin3>
I haven't looked a lot into this, but as I have a FreeBSD system here,
I looked at the same process (the tarballs) in that, but there seems to
be no directory with name 'agent' anywhere. Does someone know something
to help me further (to the next problem:-)?
!
! Jyrki Wahlstedt
! Viialankatu 15 as 8 mob. +358-40-502 0164
! FI-32700 Huittinen
!
! Our life is no dream; but it ought to become one and perhaps will.