Error when building wxPython on Solaris 8 using gcc4
Hi,
I’m trying to build wxPython 2.8.4.2 on Solaris 8 using gcc 4.0.2.
I was able to run configure but if I run gmake I get an error message when compiling wxchar.cpp:
/export/home/schu/wxPython/wxPython-src-2.8.4.2/bld/bk-deps g++ -c -o basedll_wxchar.o -I.pch/wxprec_basedll -D__WXGTK__ -I…/src/tiff -I…/src/jpeg -I…/src/png -I…/src/zlib -I…/src/regex -I…/src/expat/lib -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -fPIC -DPIC -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -I/export/home/schu/wxPython/wxPython-src-2.8.4.2/bld/lib/wx/include/gtk2-unicode-debug-2.8 -I…/include -D_REENTRANT -D_PTHREADS -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/cairo -I/opt/csw/include/pango-1.0 -I/opt/csw/include/gtk-2.0 -I/opt/csw/include/atk-1.0 -I/opt/csw/lib/gtk-2.0/include -isystem /usr/openwin/include -I/usr/openwin/include -pthreads -D_REENTRANT -Wall -Wundef -Wno-ctor-dtor-privacy -g -O0 -I/opt/csw/include/SDL -D_REENTRANT …/src/common/wxchar.cpp
…/src/common/wxchar.cpp: In function `int vswscanf(const wxChar*, const wxChar*, void*)’:
…/src/common/wxchar.cpp:1322: error: `vsscanf’ was not declared in this scope
…/src/common/wxchar.cpp:1322: warning: unused variable ‘vsscanf’
gmake: *** [basedll_wxchar.o] Error 1
Any help appreciated.
Thanks
Andy Schumann