Jean-Michel POURE wrote:
>Cheers, Jean-Michel
>
>*******************************************
>if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include
>-I/usr/lib/wx/include/gtk2ud-2.5 -D__WXDEBUG__ -D__WXGTK__
>-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include
>-DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g -I./include/ -I
>-g -O2 -MT ctlSQLResult.o -MD -MP -MF ".deps/ctlSQLResult.Tpo" \
> -c -o ctlSQLResult.o `test -f 'ui/ctlSQLResult.cpp' || echo
>'./'`ui/ctlSQLResult.cpp; \
>then mv -f ".deps/ctlSQLResult.Tpo" ".deps/ctlSQLResult.Po"; \
>else rm -f ".deps/ctlSQLResult.Tpo"; exit 1; \
>fi
>
>
There are two problems:
- I used "export" as a variable name, not good for gcc.
- Linkage has been changed again. in stead of
LIB=... -L$(WX_HOME)/lib -l wx_gtk2ud_stc -lwc -l wx_gtk2ud_xrc
which will link static or dynamic libraries as appropriate, it now says
LIB=... -l$(WX_HOME)/lib/libwx_gtk2ud_stc.a,
tying it to the static libraries (I dont have them...) This is done for
stc and xrc, not for the base wx lib.
Please revert it back to the flexible solution.
Regards,
Andreas