[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] run XaraLX with gentoo?



Thanks for your great work. It's fixed on the svn.

I compiled wxWidgets-2.6.3-rc2.tar.bz2 as

../configure --disable-shared --enable-unicode --prefix=/home/bobber/eden

compiled XaraLX as ../configure --enable-static-exec --with-wx-config=/home/bobber/eden/bin/wx-config



gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/specs
Configured with: /var/tmp/portage/gcc-3.4.5-r1/work/gcc-3.4.5/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.5 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --enable-java-awt=gtk --enable-languages=c,c++,java,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)

Bests,
Bobber

Alex Bligh wrote:


--On 26 March 2006 23:50 +0100 Luke Hart <LukeH@xxxxxxxx> wrote:

I've found that either if I use >=Gcc4 for only cartctl.cpp or use my fix
the executable will work.

Stepping through the relavent areas of code, I've found that the compiler
seems to be failing to create the unicode constant "class" correct (it
seems
to be create a string with only L'c' in it). I don't think it could have
become
corrupted, since all of the string constants are in a read-only section
and
will cause segmentation fault if they're clobbered.

Bizarre. So wxCamDrawControl should be fixed similarly? I'm not quite
sure why that isn't giving the same error as wxCamArtControl (both
loaded from XRC, both the same code - search & replace job).

Alex