Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112146 - wine-0.9.1 fails to compile
Summary: wine-0.9.1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Wine Maintainers
URL: http://bugs.winehq.org/show_bug.cgi?i...
Whiteboard:
Keywords:
: 118472 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-11 00:41 UTC by Edgar Hucek (RETIRED)
Modified: 2006-01-10 20:37 UTC (History)
2 users (show)

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


Attachments
Compile fix (wine-0.9.1-uniciode_fix.patch,433 bytes, patch)
2005-11-11 00:42 UTC, Edgar Hucek (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edgar Hucek (RETIRED) gentoo-dev 2005-11-11 00:41:54 UTC
wine-0.9.1 fails with the fillowing error :

make[2]: Entering directory
`/var/tmp/portage/wine-0.9.1/work/wine-0.9.1/dlls/winmm/joystick'
i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include 
-D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC
-Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -O2 -march=pentium3 -pipe
-I//usr/include/lcms  -o joystick.o joystick.c
In Datei, eingef
Comment 1 Edgar Hucek (RETIRED) gentoo-dev 2005-11-11 00:41:54 UTC
wine-0.9.1 fails with the fillowing error :

make[2]: Entering directory
`/var/tmp/portage/wine-0.9.1/work/wine-0.9.1/dlls/winmm/joystick'
i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include 
-D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC
-Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -O2 -march=pentium3 -pipe
-I//usr/include/lcms  -o joystick.o joystick.c
In Datei, eingefügt von joystick.c:66:
../../../include/winuser.h:3109:1: Warnung: "SW_MAX" redefined
In Datei, eingefügt von /usr/include/linux/joystick.h:33,
                    von joystick.c:56:
/usr/include/linux/input.h:576:1: Warnung: this is the location of the previous
definition
joystick.c: In function `JSTCK_GetDevCaps':
joystick.c:255: Warnung: implizite Deklaration der Funktion »strcpyW«
../../../tools/winegcc/winegcc -B../../../tools/winebuild -shared
./joystick.drv.spec    joystick.o     -o joystick.drv.so -L../../../dlls
-L../../../dlls/winmm -L../../../dlls/user32 -L../../../dlls/kernel32 -lwinmm
-luser32 -lkernel32  -L../../../libs/wine -lwine  -L../../../libs/port -lwine_port
joystick.o(.text+0x2cd): In function `JSTCK_DriverProc':
/var/tmp/portage/wine-0.9.1/work/wine-0.9.1/dlls/winmm/joystick/joystick.c:255:
undefined reference to `strcpyW'
collect2: ld gab 1 als Ende-Status zurück
winegcc: i686-pc-linux-gnu-gcc failed.
make[2]: *** [joystick.drv.so] Fehler 2
make[2]: Leaving directory
`/var/tmp/portage/wine-0.9.1/work/wine-0.9.1/dlls/winmm/joystick'
make[1]: *** [winmm/joystick] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/wine-0.9.1/work/wine-0.9.1/dlls'
make: *** [dlls] Fehler 2



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4-hardenednossp,
glibc-2.3.5-r2, 2.6.14-git13 i686)
=================================================================
System uname: 2.6.14-git13 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distlocks sandbox sfperms sign strict"
GENTOO_MIRRORS="http://gentoo.inode.at/"
LC_ALL="de_AT.utf8"
LINGUAS="de en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/data/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X X509 a52 aac aalib accessibility acl acpi alsa apache2 apm ares arts
artworkextra audiofile automount avi berkdb bidi big-tables bindist bitmap-fonts
bl bluetooth buffysize bzip2 bzlib caps cdb cdparanoia cdr chroot clamav
cpudetection crypt cups curl dbus dga directfb dri dts dv dvb dvd dvdr dvdread
eds emboss encode esd ethereal exif expat f77 fbcon ffmpeg firefox flac flash
foomaticdb fortran gd-external gdbm ggi gif gimpprint glut glx gmp gnome gphoto2
gpm gstreamer gtk gtk2 guile hal howl hpn idea idn ieee1394 imagemagick imap
imlib iproute2 ipv6 irssi jabber java joystick jpeg kde kdeenablefinal kerberos
kernelsupport kqemu krb4 ladcca lcms ldap ldapsam libclamav libedit libg++
libwww lirc live lzo mad matroska mbox mikmod mime mjpeg mmap mmx mng mp3 mpeg
mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses network
new-login nls nntp nptl nvidia oav offensive ogg oggvorbis openal opengl oss pam
pci pcmcia pcre pda pdflib perl physfs plx png ppds python qt quicktime quotas
readline samba sasl scanner sdl sftplogging silverxp skey slang smartcard snmp
socks5 softmmu speex spell sse ssl svg sysfs tcpd theora tiff transcode truetype
truetype-fonts type1-fonts udev unicode ups usb v4l v4l2 vcd vidix vorbis webdav
win32codecs winbind wmf xchat xine xinerama xml2 xosdxv xpm xprint xv xvid xvmc
yahoo yv12 zlib linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS
Comment 2 Edgar Hucek (RETIRED) gentoo-dev 2005-11-11 00:42:56 UTC
Created attachment 72623 [details, diff]
Compile fix

The attached patch fixed the compile problem on my box.
Comment 3 SpanKY gentoo-dev 2005-11-11 06:55:27 UTC
you send the patch upstream ?
Comment 4 Edgar Hucek (RETIRED) gentoo-dev 2005-11-11 08:01:21 UTC
Sorry. Nope.
Comment 5 SpanKY gentoo-dev 2005-11-12 20:31:23 UTC
are you going to ? ;)
Comment 6 Edgar Hucek (RETIRED) gentoo-dev 2005-11-13 02:14:33 UTC
Sended upstream :

http://bugs.winehq.org/show_bug.cgi?id=3829
Comment 7 Edgar Hucek (RETIRED) gentoo-dev 2005-11-24 10:01:47 UTC
Could you please st the bug RESOLVED.
Comment 8 SpanKY gentoo-dev 2005-11-24 12:01:04 UTC
this is fixed in 0.9.2 now yeah ?
Comment 9 Benjamin Hodgetts 2006-01-05 11:28:07 UTC
Just wanted to say as of version 20050930 of Wine on AMD64, Wine is now broken again.

See this thread for a list of people with the issue: http://forums.gentoo.org/viewtopic-t-418441-highlight-wine+joystick.html

My system:
----------
Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-ck7 x86_64)
=================================================================
System uname: 2.6.14-ck7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.0_pre13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -msse3 -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acl acpi aim alsa apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 cddb cdinstall cdparanoia cdr cjk crypt cups curl directfb dri dts dvd dvdr dvdread emboss encode ethereal exif expat fam ffmpeg flac foomaticdb fortran gdbm gif gimp glibc-omitfp glut gnome gpm gstreamer gtk gtk2 guile hal idn imagemagick imlib ipv6 jack java javascript jikes joystick jpeg jpeg2k junit ladspa lcms ldap libcaca libedit libwww lm_sensors lzw lzw-tiff mad matroska mikmod mime mng mozilla mp3 mpeg musepack musicbrainz nas ncurses nls nocd nptl nptlonly nvidia ogg openal opengl pam pcre pdflib perl pic png ppds python qt quicktime readline reiser4 reiserfs samba scanner sdl session sharedmem silc smp speex spell ssl symlink tcltk tcpd tetex tga theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd videos vorbis wmf wxgtk1 wxwindows xine xml xml2 xmms xpm xv xvid xvmc zlib elibc_glibc kernel_linux linguas_en userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 10 SpanKY gentoo-dev 2006-01-07 19:33:55 UTC
fixed in latest 0.9.x versions
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-01-10 01:37:12 UTC
*** Bug 118472 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-01-10 20:37:44 UTC
*** Bug 118472 has been marked as a duplicate of this bug. ***