Re: pgagent linker problem

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pgagent linker problem
Дата
Msg-id 457A77E4.4070903@postgresql.org
обсуждение исходный текст
Ответ на pgagent linker problem  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список pgadmin-hackers
Zdenek Kotala wrote:
> When I try make pgagent binary (Solaris 10/SS11/wx2.8rc3), linker does
> not recognize some symbols:
>
> Undefined                       first referenced
>  symbol                             in file
> wxRadioButtonNameStr                connection.o
> wxFileDialogNameStr                 connection.o
> wxComboBoxNameStr                   connection.o
> wxToolBarNameStr                    connection.o
> <snip>
>
> If I look into Makefile, there is
> pgagent_LDADD = -L/opt/wxWidgegets-2.8.0/lib -mt   -L/usr/openwin/lib
> -lwx_baseud-2.8
>
> However missing symbols are located in the wx_gtk2ud_core-2.8. If I
> added this library into pgagent_LDADD, it works fine.
>
> Do you have any idea why it does not work - why configure does not setup
> correct LD?

It does on other platforms/wx versions - I guess something changed in
wx2.8rc3 :-(

The easy fix is to add 'core' to the appropriate lines in acinclude.m4:

pgagent_LDADD=`${WX_CONFIG} ${WX_STATIC} --libs base,core --unicode=yes
--debug=yes --version=${WX_VERSION}`

I'll do so later.

Thanks, Dave

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Devrim GUNDUZ
Дата:
Сообщение: Re: Joining EnterpriseDB
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Joining EnterpriseDB