[ wxwindows-Bugs-1692898 ] wxMotif 2.8.3 build breaks
SourceForge.net
noreply at sourceforge.net
Mon Apr 2 06:32:48 PDT 2007
Bugs item #1692898, was opened at 2007-04-02 15:09
Message generated for change (Comment added) made by jroemmler
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1692898&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMotif specific
Group: Fatal
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jochen Roemmler (jroemmler)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxMotif 2.8.3 build breaks
Initial Comment:
wxWidgets 2.8.3 MOTIF build breaks on Linux (RHEL4 Update 4 x86_64):
user at host:/usr/local/wxWidgets-2.8.3/build_Motif_gcc_shared_dbg> gmake -j1
/usr/local/wxWidgets-2.8.3/build_Motif_gcc_shared_dbg/bk-deps g++ -c -o monodll_xh_chckl.o -I.pch/wxprec_monodll -D__WXMOTIF__ -DwxUSE_BASE=1 -DWXMAKINGDLL -fPIC -DPIC -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXDEBUG__ -I/usr/local/wxWidgets-2.8.3/build_Motif_gcc_shared_dbg/lib/wx/include/motif-ansi-debug-2.8 -I../include -I/usr/X11R6/include -pthread -fno-rtti -fno-exceptions -Wall -Wundef -Wno-ctor-dtor-privacy -ggdb -O0 ../src/xrc/xh_chckl.cpp
../src/xrc/xh_chckl.cpp:106:64: macro "wxGetTranslation" passed 2 arguments, but takes just 1
../src/xrc/xh_chckl.cpp: In member function `virtual wxObject* wxCheckListBoxXmlHandler::DoCreateResource()':
../src/xrc/xh_chckl.cpp:106: error: `wxGetTranslation' was not declared in this scope
../src/xrc/xh_chckl.cpp:106: warning: unused variable 'wxGetTranslation'
gmake: *** [monodll_xh_chckl.o] Error 1
wxWidgets 2.8.3 was configured with:
# ../configure \
--with-motif \
--prefix=`pwd` \
--enable-gui \
--enable-monolithic \
--enable-shared \
--enable-no_rtti \
--enable-no_exceptions \
--disable-exceptions \
--enable-nanox \
--disable-expat \
--disable-backtrace \
--disable-compat24 \
--disable-dnd \
--disable-fs-inet \
--disable-intl \
--disable-joystick \
--enable-debug \
--enable-debug_gdb \
--disable-optimise
Configured wxWidgets 2.8.3 for `x86_64-unknown-linux-gnu'
Which GUI toolkit should wxWidgets use? motif
Should wxWidgets be compiled into single library?yes
Should wxWidgets be compiled in debug mode? yes
Should wxWidgets be linked as a shared library? yes
Should wxWidgets be compiled in Unicode mode? no
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.4 no
wxWidgets 2.6 yes
Which libraries should wxWidgets use?
jpeg sys
png sys
regex sys
tiff sys
xpm yes
zlib sys
odbc no
expat sys
libmspack no
sdl no
# uname -a
Linux orion 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
# gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
----------------------------------------------------------------------
>Comment By: Jochen Roemmler (jroemmler)
Date: 2007-04-02 15:32
Message:
Logged In: YES
user_id=1314621
Originator: YES
After manually removing the extra argument from wxGetTranslation call in
several files in src/xrc/, I'm stuck here:
[...]
/usr/local/wxWidgets-2.8.3/build_Motif_gcc_shared_dbg/bk-deps g++ -c -o
monodll_richtextxml.o -I.pch/wxprec_monodll -D__WXMOTIF__
-DwxUSE_BASE=1 -DWXMAKINGDLL -fPIC -DPIC -DWX_PRECOMP
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXDEBUG__
-I/usr/local/wxWidgets-2.8.3/build_Motif_gcc_shared_dbg/lib/wx/include/motif-ansi-debug-2.8
-I../include -I/usr/X11R6/include -pthread -fno-rtti -fno-exceptions -Wall
-Wundef -Wno-ctor-dtor-privacy -ggdb -O0 ../src/richtext/richtextxml.cpp
../src/richtext/richtextxml.cpp: In member function `virtual bool
wxRichTextXMLHandler::DoSaveFile(wxRichTextBuffer*, wxOutputStream&)':
../src/richtext/richtextxml.cpp:547: error: `wxLocale' has not been
declared
../src/richtext/richtextxml.cpp:547: error: `GetSystemEncodingName' was
not declared in this scope
../src/richtext/richtextxml.cpp:547: warning: unused variable
'GetSystemEncodingName'
gmake: *** [monodll_richtextxml.o] Error 1
There is obviously something like this missing:
< fileEncoding = wxLocale::GetSystemEncodingName();
--
> #if !wxUSE_UNICODE && wxUSE_INTL
> fileEncoding = wxLocale::GetSystemEncodingName();
> #endif
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1692898&group_id=9863
More information about the wx-dev
mailing list