Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225017 - app-emulation/wine-0.9.10 fails to compile: profile.c:70: error: expected ‘,’ or ‘;’ before ‘GetColorDirectoryA’
Summary: app-emulation/wine-0.9.10 fails to compile: profile.c:70: error: expected ‘,’...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-05 17:37 UTC by Albert Zeyer
Modified: 2008-06-07 17:20 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 Albert Zeyer 2008-06-05 17:37:31 UTC
...
dmoreg.c: In function 'IEnumDMO_fnClone':
dmoreg.c:606: warning: unused variable 'This'
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 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith  -O2 -march=athlon-xp -pipe  -o dmort.o dmort.c
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 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith  -O2 -march=athlon-xp -pipe  -o msdmo_main.o msdmo_main.c
LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS   -forsrc.res rsrc.rc
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./msdmo.spec    dmoreg.o dmort.o msdmo_main.o  rsrc.res   -o msdmo.dll.so -L../../dlls -L../../dlls/ole32 -L../../dlls/user32 -L../../dlls/advapi32 -L../../dlls/kernel32 -lole32 -luser32 -ladvapi32 -lkernel32  -L../../libs/wine -lwine -luuid -L../../libs/port -lwine_port
make[2]: Leaving directory `/mnt/hda5/var/tmp/portage/app-emulation/wine-0.9.10/work/wine-0.9.10/dlls/msdmo'
make[2]: Entering directory `/mnt/hda5/var/tmp/portage/app-emulation/wine-0.9.10/work/wine-0.9.10/dlls/msftedit'
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./msftedit.spec         -o msftedit.dll.so -L../../dlls -L../../dlls/riched20 -L../../dlls/kernel32 -lriched20 -lkernel32  -L../../libs/wine -lwine -luuid -L../../libs/port -lwine_port
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 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith  -O2 -march=athlon-xp -pipe  -o profile.o profile.c
make[2]: Leaving directory `/mnt/hda5/var/tmp/portage/app-emulation/wine-0.9.10/work/wine-0.9.10/dlls/msftedit'
make[2]: Entering directory `/mnt/hda5/var/tmp/portage/app-emulation/wine-0.9.10/work/wine-0.9.10/dlls/msacm/msg711'
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 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith  -O2 -march=athlon-xp -pipe  -o msg711.o msg711.c
profile.c:70: warning: data definition has no type or storage class
profile.c:70: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:70: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:70: error: expected ‘,’ or ‘;’ before ‘GetColorDirectoryA’
profile.c:120: warning: data definition has no type or storage class
profile.c:120: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:120: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:120: error: expected ‘,’ or ‘;’ before ‘GetColorDirectoryW’
profile.c:165: warning: data definition has no type or storage class
profile.c:165: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:165: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:165: error: expected ‘,’ or ‘;’ before ‘GetColorProfileElement’
profile.c:220: warning: data definition has no type or storage class
profile.c:220: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:220: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:220: error: expected ‘,’ or ‘;’ before ‘GetColorProfileElementTag’
profile.c:262: warning: data definition has no type or storage class
profile.c:262: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:262: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:262: error: expected ‘,’ or ‘;’ before ‘GetColorProfileFromHandle’
profile.c:306: warning: data definition has no type or storage class
profile.c:306: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:306: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:306: error: expected ‘,’ or ‘;’ before ‘GetColorProfileHeader’
profile.c:337: warning: data definition has no type or storage class
profile.c:337: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:337: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:337: error: expected ‘,’ or ‘;’ before ‘GetCountColorProfileElements’
profile.c:358: warning: data definition has no type or storage class
profile.c:358: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:358: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:358: error: expected ‘,’ or ‘;’ before ‘GetStandardColorSpaceProfileA’
profile.c:422: warning: data definition has no type or storage class
profile.c:422: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:422: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:422: error: expected ‘,’ or ‘;’ before ‘GetStandardColorSpaceProfileW’
profile.c:473: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MSCMS_header_from_file’
profile.c:515: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MSCMS_match_profile’
profile.c:608: warning: data definition has no type or storage class
profile.c:608: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:608: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:608: error: expected ‘,’ or ‘;’ before ‘EnumColorProfilesA’
profile.c:757: warning: data definition has no type or storage class
profile.c:757: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:757: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:757: error: expected ‘,’ or ‘;’ before ‘EnumColorProfilesW’
profile.c:869: warning: data definition has no type or storage class
profile.c:869: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:869: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:869: error: expected ‘,’ or ‘;’ before ‘InstallColorProfileA’
profile.c:906: warning: data definition has no type or storage class
profile.c:906: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:906: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:906: error: expected ‘,’ or ‘;’ before ‘InstallColorProfileW’
profile.c:944: warning: data definition has no type or storage class
profile.c:944: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:944: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:944: error: expected ‘,’ or ‘;’ before ‘IsColorProfileTagPresent’
profile.c:987: warning: data definition has no type or storage class
profile.c:987: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:987: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:987: error: expected ‘,’ or ‘;’ before ‘IsColorProfileValid’
profile.c:1019: warning: data definition has no type or storage class
profile.c:1019: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:1019: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:1019: error: expected ‘,’ or ‘;’ before ‘SetColorProfileElement’
profile.c:1065: warning: data definition has no type or storage class
profile.c:1065: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:1065: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:1065: error: expected ‘,’ or ‘;’ before ‘SetColorProfileHeader’
profile.c:1089: warning: data definition has no type or storage class
profile.c:1089: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:1089: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:1089: error: expected ‘,’ or ‘;’ before ‘UninstallColorProfileA’
profile.c:1128: warning: data definition has no type or storage class
profile.c:1128: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:1128: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:1128: error: expected ‘,’ or ‘;’ before ‘UninstallColorProfileW’
profile.c:1286: warning: data definition has no type or storage class
profile.c:1286: warning: type defaults to ‘int’ in declaration of ‘LCMS_BOOL’
profile.c:1286: warning: ‘__stdcall__’ attribute only applies to function types
profile.c:1286: error: expected ‘,’ or ‘;’ before ‘CloseColorProfile’
make[2]: *** [profile.o] Error 1
make[2]: Leaving directory `/mnt/hda5/var/tmp/portage/app-emulation/wine-0.9.10/work/wine-0.9.10/dlls/mscms'
make[1]: *** [mscms] Error 2
make[1]: *** Waiting for unfinished jobs....
../../../tools/winegcc/winegcc -B../../../tools/winebuild -shared ./msg711.acm.spec    msg711.o     -o msg711.acm.so -L../../../dlls -L../../../dlls/winmm -L../../../dlls/user32 -L../../../dlls/kernel32 -lwinmm -luser32 -lkernel32  -L../../../libs/wine -lwine  -L../../../libs/port -lwine_port
make[2]: Leaving directory `/mnt/hda5/var/tmp/portage/app-emulation/wine-0.9.10/work/wine-0.9.10/dlls/msacm/msg711'
make[1]: Leaving directory `/mnt/hda5/var/tmp/portage/app-emulation/wine-0.9.10/work/wine-0.9.10/dlls'
make: *** [dlls] Error 2
 *
 * ERROR: app-emulation/wine-0.9.10 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2376:  Called die
 * The specific snippet of code:
 *       emake all || die "all"
 *  The die message:
 *   all
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/hda5/var/tmp/portage/app-emulation/wine-0.9.10/temp/build.log'.
 * The ebuild environment file is located at '/mnt/hda5/var/tmp/portage/app-emulation/wine-0.9.10/temp/environment'.
 *
Comment 1 Albert Zeyer 2008-06-05 17:52:40 UTC
gcomputer ~ # emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 AMD Sempron(tm) 2200+
Timestamp of tree: Tue, 03 Jun 2008 08:08:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.3.5-r3, 2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.16.1-r3, 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/     ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/     ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo     ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/private /usr/portage/local/layman/gentoo-de"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi aiglx alsa altenburgcards amazon ao apm applet artworkextra asf audiofile automount avi bash-completion beagle binary-drivers bzip2 cairo cdda cddb cdr cdrom cle266 corba crypt cups curl cursors daap dbus dedicated dga divx4linux djvu dlopen dlz dmi dmx dri dts dv dvd dvdr dvdread dvi ecc editor emacs encode erandom evo evolution exif fame ffmpeg firefox flac font-server foomaticdb fortran fpx freetype ftp galago gcj gcl gdm german gif gimp glade glibc-omitfp glitz glut glx gnome gnome-print gnomecanvas gnomecd gphoto2 graphviz gs gtk gtk2 guile hal i8x0 icons icq id3 ifp imagemagick imlib imlib2 insecure-drivers ipod jack java javascript jbig jpeg jpeg2k jrtplib jumpplay justify kde kdm kerberos lame latex lcms lha linuxthreads-tls live lm_sensors lzo mad matroska mdnsresponder-compat midi mikmod mjpeg mmx mmxext mng motif mozilla mp2 mp3 mp4 mpeg mpeg2 mpeg4 mplayer mtp multislot musepack musicbrainz nautilus ncurses net network networking njb nls nntp nptl nptlonly nsplugin objc ogg oggvorbis ole openal opengl oss pam pcre pdf perl png posix ppds profile python qt quicktime rar rdesktop readline real realmedia reiser4 reiserfs rle rtc rtsp samba scanner scp screen sdl server session sharedext sharedmem slang slp sockets socks5 sounds speex spell sse ssl startup-notification subp subtitles svg t1lib tcltk teamarena tetex tga theora threads tiff timidity tivo tools truetype truetype-fonts type1 type1-fonts unicode usb utf8 vcd vidix vlm vorbis win32codecs wmf wxwindows x264 x86 xanim xattr xcomposite xemacs xforms xine xml xorg xosd xpm xprint xscreensaver xulrunner xv xvid yiff yv12 zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Albert Zeyer 2008-06-05 17:58:32 UTC
The reason why I am using 0.9.10 is that the application OmniPage didn't worked anymore with more recent versions. I have tried these other versions so far:

wine-0.9.11
wine-0.9.12
wine-0.9.13
wine-0.9.14
wine-0.9.15
wine-0.9.17
wine-0.9.18
wine-0.9.20
wine-0.9.21
wine-0.9.22
wine-0.9.23
wine-0.9.28
wine-0.9.29
wine-0.9.31
wine-0.9.33
wine-0.9.34

See also bug 174338 with some additional issue with GCC4.

Though, I will try a more recent Wine soon and report back.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-06 01:26:26 UTC
Bug report upstream against the latest verson is probably the better idea.
Comment 4 SpanKY gentoo-dev 2008-06-07 17:20:33 UTC
yep ... older versions are included as a convenience only

if you have a problem with a program in a newer version, open a bug report upstream