Thread: Re: SVN Commit by dpage: r4884 - in trunk/pgadmin3:

Re: SVN Commit by dpage: r4884 - in trunk/pgadmin3:

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of Miha Radej
> Sent: 09 January 2006 14:56
> To: pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] SVN Commit by dpage: r4884 -
> in trunk/pgadmin3:
>
> hi!
>
> after checking out revision 4884 make fails with the following error:
>
<snip>

> revision 4883 makes just fine.
>
> system is suse 9.3, gcc 3.3.4, wx 2.6.0.
>
> regards,
> Miha

Does it build if you add 'include "frmQuery.h"' at the top of
pgAdmin3.cpp (see how frmMain and some others are already included)?

Regards, Dave.

Re: SVN Commit by dpage: r4884 - in trunk/pgadmin3:

From
Miha Radej
Date:
hi!

Dave Page wrote:
>>after checking out revision 4884 make fails with the following error:
>>
> <snip>
>
>>revision 4883 makes just fine.
>>
>>system is suse 9.3, gcc 3.3.4, wx 2.6.0.
>>
>>regards,
>>Miha
>
> Does it build if you add 'include "frmQuery.h"' at the top of
> pgAdmin3.cpp (see how frmMain and some others are already included)?

i have just been playing around and tried doing that :) no luck, though:

[mcajvar@alrisha:/net/programs/pgadmin-svn/pgadmin3]$ make
make  all-recursive
make[1]: Entering directory `/usr/net/programs/pgadmin-svn/pgadmin3'
Making all in i18n
make[2]: Entering directory `/usr/net/programs/pgadmin-svn/pgadmin3/i18n'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/net/programs/pgadmin-svn/pgadmin3/i18n'
Making all in src
make[2]: Entering directory `/usr/net/programs/pgadmin-svn/pgadmin3/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..
-DDATA_DIR=\"/usr/local/pgadmin-svn/share/pgadmin3/\" -Wall
-Wno-non-virtual-dtor -I../src/include -I../src/agent/include
-I../src/slony/include -I/usr/include/pgsql -DSSL
-I/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.6
-I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -g -O0
-DDATA_DIR=\"/usr/local/pgadmin-svn/share/pgadmin3/\" -Wall
-Wno-non-virtual-dtor -I../src/include -I../src/agent/include
-I../src/slony/include  -MT pgAdmin3.o -MD -MP -MF ".deps/pgAdmin3.Tpo"
-c -o pgAdmin3.o `test -f './pgAdmin3.cpp' || echo './'`./pgAdmin3.cpp; \
then mv -f ".deps/pgAdmin3.Tpo" ".deps/pgAdmin3.Po"; else rm -f
".deps/pgAdmin3.Tpo"; exit 1; fi
pgAdmin3.cpp: In member function `virtual bool pgAdmin3::OnInit()':
pgAdmin3.cpp:421: error: `CreateConn' undeclared (first use this function)
pgAdmin3.cpp:421: error: (Each undeclared identifier is reported only
once for
    each function it appears in.)
make[2]: *** [pgAdmin3.o] Error 1
make[2]: Leaving directory `/usr/net/programs/pgadmin-svn/pgadmin3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/net/programs/pgadmin-svn/pgadmin3'
make: *** [all] Error 2


regards,
Miha