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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org

Reply via email to