2.8.3 not compiling on IRIX... strtoull issue?

Vadim Zeitlin vadim at wxwindows.org
Thu May 3 18:21:24 PDT 2007


On 3 May 2007 06:39:53 -0700 defreitas at gmail.com wrote:

> I'm a newbie to wxWidgets and I'm trying to compile wxWidgets (gtk)
> 2.8.3 on Irix 6.5 with the mips 7.4.4 compiler.
> 
> My configure options are:
> 
> configure --with-gtk --disable-shared CC=cc CFLAGS=-n32 CXX=CC
> CXXFLAGS=-n32 MAKE=gmake
> 
> Configure seems to run through ok, but I get a problem compiling src/
> common/string.cpp. I get the following error from the compiler:
> 
> 
> /wx/wxGTK/wxGTK-2.8.3/IRIX/bk-deps CC -c -o baselib_string.o -
> D__WXGTK__ -I../src/tiff -I../src/expat/lib -DwxUSE_GUI=0 -
> DwxUSE_BASE=1 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/people/
> mdefreitas/wx/wxGTK/wxGTK-2.8.3/IRIX/lib/wx/include/gtk2-ansi-release-
> static-2.8 -I../include -D_REENTRANT -I/usr/freeware/include/glib-2.0 -
> I/usr/freeware/lib32/glib-2.0/include -I/usr/freeware/include/
> pango-1.0 -I/usr/freeware/include/gtk-2.0 -I/usr/freeware/include/
> atk-1.0 -I/usr/freeware/lib32/gtk-2.0/include -O -woff 3970 -n32 ../
> src/common/string.cpp
> cc-1685 : WARNING
> Invalid error number: 3970.

 It looks like cc is used for compilation but I don't understand why: CC is
clearly specified in bk-deps command line... Could you please try adding
"set -x" to bk-deps script to see what is it doing and how does it end up
running cc instead of CC?

> A few months ago I had the same problem when trying to build wxWidgets
> 2.8.0, but I saw a post on the comp.soft-sys.wxwindows newgroup that
> made me think this problem would be fixed in the next release:
> 
> http://groups.google.com/group/comp.soft-sys.wxwindows/browse_thread/thread/89badb4c952bd545/2ba9925265116838?lnk=st&q=wxwidgets+strtoull&rnum=1&hl=en#2ba9925265116838

 Yes, I thought I had fixed this. But as we don't have access to IRIX for
testing I couldn't check it.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list