compiling problem

From: Dirk Dil <mejerdil(at)pt(dot)lu>
To: pgadmin-support(at)postgresql(dot)org
Subject: compiling problem
Date: 2004-02-22 10:24:46
Message-ID: 20040222102446.GA531@ddlx1.ddnet
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support


Hello people,

After having downloaded PostgreSQL, wxWindows-pgAdmin3-20031010-7 and
pgadmin3-1.0.2, I'm stuck on the following error:

during make for pgadmin3-1.0.2:

xrcDialogs.o: In function
`wxMemoryFSHandler::wxMemoryFSHandler[in-charge]()':
/home/setup/dirk/pgadmin3-1.0.2/src/ui/common/xrcDialogs.cpp:6058:
undefined reference to
`wxMemoryFSHandlerBase::wxMemoryFSHandlerBase[not-in-charge]()'
xrcDialogs.o: In function
`wxMemoryFSHandler::wxMemoryFSHandler[in-charge]()':
/opt/wxwindows/include/wx/string.h:702: undefined reference to `vtable
for wxMemoryFSHandler'
collect2: ld returned 1 exit status
make[2]: *** [pgadmin3] Error 1
make[2]: Leaving directory `/home/setup/dirk/pgadmin3-1.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/setup/dirk/pgadmin3-1.0.2'
make: *** [all] Error 2

I installed PostgreSQL with
./configure --prefix=/opt/postgresql-7.4.1

wxWindows-pgAdmin3-20031010-7
/configure --prefix=/opt/wxwindows --with-gtk --enable-gtk2 \
--enable-unicode --disable-shared --enable-debug

and pgadmin3-1.0.2 with
./configure --prefix=/opt/postgresql-7.4.1/ --enable-static
--enable-debug --with-pgsql=/opt/postgresql-7.4.1/
--with-wx=/opt/wxwindows

I seem to get lots of the following messages during the make stage:

home/setup/dirk/pgadmin3-1.0.2/src/ui/common/xrcDialogs.cpp:6128:
undefined reference to `wxString::wxString[in-charge](wchar_t const*)'
/home/setup/dirk/pgadmin3-1.0.2/src/ui/common/xrcDialogs.cpp:6128:
undefined reference to `wxXmlResource::Get()'

They all make reference to wxString and wxXmlResource. So I suppose
something went wrong in the second and third compilations of wxwindows.
I have checked the makefile's in contrib/src/stc and xrc and they prefix
/opt/wxindows and I used the commands as prescibed. I can't figure out
what went wrong then.....

my system uses:
gcc 3.2.1
glibc 2.3.1
linux 2.4.20

Any pointers?

Dirk

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Raphaël Enrici 2004-02-22 10:56:04 Re: compiling problem
Previous Message Andreas Pflug 2004-02-21 14:51:03 Re: PgAdmin hangs on search upward