Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64949 - emerge of x11-libs/wxGTK-2.4.2-r2 failed!
Summary: emerge of x11-libs/wxGTK-2.4.2-r2 failed!
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-22 04:00 UTC by Andreas Volz
Modified: 2004-10-06 10:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Volz 2004-09-22 04:00:12 UTC
emerge fails with this error:
g++ -c   -I./lib/wx/include/gtk-2.4 -I../include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES    -D__WXGTK__ -DGTK_NO_CHECK_CASTS -O2 -MMD -march=athlon-xp -O3 -pipe -fomit-frame-pointer -pthread -Wall -fPIC -o accel.o ../src/generic/accel.cpp
g++ -c   -I./lib/wx/include/gtk-2.4 -I../include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES    -D__WXGTK__ -DGTK_NO_CHECK_CASTS -O2 -MMD -march=athlon-xp -O3 -pipe -fomit-frame-pointer -pthread -Wall -fPIC -o busyinfo.o ../src/generic/busyinfo.cpp
In file included from ../include/wx/string.h:62,
                 from ../include/wx/memory.h:20,
                 from ../include/wx/object.h:25,
                 from ../include/wx/event.h:20,
                 from ../src/generic/accel.cpp:33:
../include/wx/buffer.h: In function `wchar_t* wxWcsdupReplacement(const 
   wchar_t*)':
../include/wx/buffer.h:104: error: `wcslen' undeclared (first use this 
   function)
../include/wx/buffer.h:104: error: (Each undeclared identifier is reported only 
   once for each function it appears in.)
In file included from ../include/wx/string.h:62,
                 from ../include/wx/memory.h:20,
                 from ../include/wx/object.h:25,
                 from ../include/wx/event.h:20,
                 from ../include/wx/window.h:23,
                 from ../include/wx/control.h:25,
                 from ../include/wx/stattext.h:6,
                 from ../src/generic/busyinfo.cpp:21:
../include/wx/buffer.h: In function `wchar_t* wxWcsdupReplacement(const 
   wchar_t*)':
../include/wx/buffer.h:104: error: `wcslen' undeclared (first use this 
   function)
../include/wx/buffer.h:104: error: (Each undeclared identifier is reported only 
   once for each function it appears in.)
In file included from ../include/wx/utils.h:29,
                 from ../include/wx/cursor.h:22,
                 from ../include/wx/event.h:25,
                 from ../src/generic/accel.cpp:33:
../include/wx/longlong.h: At global scope:
../include/wx/longlong.h:89: warning: ignoring #pragma warning 
In file included from ../include/wx/utils.h:29,
                 from ../include/wx/cursor.h:22,
                 from ../include/wx/event.h:25,
                 from ../include/wx/window.h:23,
                 from ../include/wx/control.h:25,
                 from ../include/wx/stattext.h:6,
                 from ../src/generic/busyinfo.cpp:21:
../include/wx/longlong.h: At global scope:
../include/wx/longlong.h:89: warning: ignoring #pragma warning 
make: *** [accel.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [busyinfo.o] Error 1

!!! ERROR: x11-libs/wxGTK-2.4.2-r2 failed.
!!! Function src_compile, Line 78, Exitcode 2
!!! make gtk failed


emerge info:
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8.1)
=================================================================
System uname: 2.6.8.1 i686 AMD Duron(tm) 
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apm athena avi berkdb bitmap-fonts bonobo cdr crypt cups curl dga directfb dmx dnd doc dv dvd encode esd f77 faad fbcon foomaticdb gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imlib java joystick jpeg kde ldap libcaca libg++ libsamplerate libwww mad maildir mbox mikmod mmx mozilla moznoirc moznomail mozp3p mozsvg mpeg mule mysql nas ncurses neXt nls objc oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby sasl scanner sdk sdl slang spell sse ssl stencil-buffer svg svga tcltk tcpd tetex tiff truetype unicode wmf x86 xface xml xml2 xmms xprint xrandr xv zlib"

I think it's because of unicode support. But I don't want to deactivate it. wxGTK-2-4-2 compiled and worked without problem with the same compile flags.

Where is the problem?
Comment 1 Andreas Volz 2004-09-22 08:29:05 UTC
Now I tried wxGTK-2.4.2-r3 and it seems to work. So this problem is solved. But perhaps it's a good idea to put -r3 into x86.
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2004-10-06 10:38:09 UTC
I can't reproduce this error. I'm not sure why -r3 worked for you, the only difference is that it includes a header file required to compile wxRuby.