In file included from xa_x11.c:1434: xa_x11.c: In function `xanim_events': xa_x11.c:1058: incompatible type for argument 0 of `xanim_expose' In file included from xa_x11.c:1474: xa_x11.c:1058: incompatible type for argument 0 of `xanim_expose' In file included from xa_x11.c:1478: xa_x11.c:1081: incompatible type for argument 0 of `xanim_step_prev_action' In file included from xa_x11.c:1481: xa_x11.c:1095: incompatible type for argument 0 of `xanim_step_next_action' In file included from xa_x11.c:1484: xa_x11.c:1321: incompatible type for argument 0 of `xanim_step_prev_int_action' In file included from xa_x11.c:1487: xa_x11.c:1304: incompatible type for argument 0 of `xanim_step_next_int_action' In file included from xa_x11.c:1490: xa_x11.c:1234: incompatible type for argument 0 of `xanim_faster_action' In file included from xa_x11.c:1493: xa_x11.c:1220: incompatible type for argument 0 of `xanim_slower_action' In file included from xa_x11.c:1496: xa_x11.c:1257: incompatible type for argument 0 of `xanim_speed_reset_action' In file included from xa_x11.c:1499: xa_x11.c:1338: incompatible type for argument 0 of `xanim_dec_audio_5' In file included from xa_x11.c:1502: xa_x11.c:1350: incompatible type for argument 0 of `xanim_dec_audio_1' In file included from xa_x11.c:1505: xa_x11.c:1375: incompatible type for argument 0 of `xanim_inc_audio_1' In file included from xa_x11.c:1508: xa_x11.c:1362: incompatible type for argument 0 of `xanim_inc_audio_5' In file included from xa_x11.c:1511: xa_x11.c:1388: incompatible type for argument 0 of `xanim_mute_audio' In file included from xa_x11.c:1514: xa_x11.c:1401: incompatible type for argument 0 of `xanim_speaker_tog' In file included from xa_x11.c:1517: xa_x11.c:1409: incompatible type for argument 0 of `xanim_headphone_tog' In file included from xa_x11.c:1529: xa_x11.c:1032: incompatible type for argument 0 of `xanim_realize_remote' make: *** [xa_x11.o] Error 1 !!! ERROR: media-video/xanim-2.80.1-r4 failed. # emerge info Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.22_pre2-gss i686 AMD Athlon(tm) XP 1600+ GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 3dnow apm avi cups encode foomaticdb gif jpeg libg++ mad mikmod mmx pdflib xml2 xv zlib gdbm berkdb slang readline arts tetex aalib svga ggi tcltk java guile mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr scanner acpi artswrappersuid doc dvd faad innodb joystick maildir mbox moznoir moznomail moznocompose mpeg ncurses nls nocardbus odbc oss png ppds quicktime samba spell sse tiff truetype usb wmf xmms xvid -crypt -gnome -xinerama" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -pipe -O3 " CXXFLAGS="-O3 -march=athlon-xp -pipe -O3 " ACCEPT_KEYWORDS="x86" MAKEOPTS="-j1" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="ccache notitles -sandbox"
This is hardly a kde bug
Also it compiles well for me. Could you attach the full emerge log. Maybe that could give more information as what goes wrong.
I said KDE because nothing else seems to depend on xanim: # qpkg -q xanim media-video/xanim-2.80.1-r4 * DEPENDED ON BY: kde-base/kdemultimedia-3.1.2-r1 media-video/xanim-2.80.1-r4 DEPENDED ON BY: kde-base/kdemultimedia-3.1.2-r1 media-video/xanim-export-2.80.1-r3 DEPENDED ON BY: [16:21 root@kroh ~] # emerge -v xanim Calculating dependencies ...done! >>> emerge (1 of 1) media-video/xanim-2.80.1-r4 to / >>> md5 src_uri ;-) xanim2801.tar.gz >>> md5 src_uri ;-) xa1.0_cyuv_linuxELFg21.o.gz >>> md5 src_uri ;-) xa2.0_cvid_linuxELFg21.o.gz >>> md5 src_uri ;-) xa2.1_iv32_linuxELFg21.o.gz >>> Unpacking source... >>> Unpacking xanim2801.tar.gz to /var/tmp/portage/xanim-2.80.1-r4/work >>> Source unpacked. gcc -I. -march=athlon-xp -pipe -O3 -DXSHM -DXA_DLL -DXA_PRINT -DXA_DLL_PATH=\"/usr/X11R6/lib/xanim/mods\" -DXA_ZLIB -DXA_GSM -DXA_LINUX_AUDIO -DXA_PETUNIA -DXA_KPCD -I/usr/X11R6/include -I/usr/X11R6/include/X11 -c xanim.c gcc -I. -march=athlon-xp -pipe -O3 -DXSHM -DXA_DLL -DXA_PRINT -DXA_DLL_PATH=\"/usr/X11R6/lib/xanim/mods\" -DXA_ZLIB -DXA_GSM -DXA_LINUX_AUDIO -DXA_PETUNIA -DXA_KPCD -I/usr/X11R6/include -I/usr/X11R6/include/X11 -c xa_show.c gcc -I. -march=athlon-xp -pipe -O3 -DXSHM -DXA_DLL -DXA_PRINT -DXA_DLL_PATH=\"/usr/X11R6/lib/xanim/mods\" -DXA_ZLIB -DXA_GSM -DXA_LINUX_AUDIO -DXA_PETUNIA -DXA_KPCD -I/usr/X11R6/include -I/usr/X11R6/include/X11 -c xa_x11.c In file included from xa_x11.c:1434: xa_x11.c: In function `xanim_events': xa_x11.c:1058: incompatible type for argument 0 of `xanim_expose' In file included from xa_x11.c:1474: xa_x11.c:1058: incompatible type for argument 0 of `xanim_expose' In file included from xa_x11.c:1478: xa_x11.c:1081: incompatible type for argument 0 of `xanim_step_prev_action' In file included from xa_x11.c:1481: xa_x11.c:1095: incompatible type for argument 0 of `xanim_step_next_action' In file included from xa_x11.c:1484: xa_x11.c:1321: incompatible type for argument 0 of `xanim_step_prev_int_action' In file included from xa_x11.c:1487: xa_x11.c:1304: incompatible type for argument 0 of `xanim_step_next_int_action' In file included from xa_x11.c:1490: xa_x11.c:1234: incompatible type for argument 0 of `xanim_faster_action' In file included from xa_x11.c:1493: xa_x11.c:1220: incompatible type for argument 0 of `xanim_slower_action' In file included from xa_x11.c:1496: xa_x11.c:1257: incompatible type for argument 0 of `xanim_speed_reset_action' In file included from xa_x11.c:1499: xa_x11.c:1338: incompatible type for argument 0 of `xanim_dec_audio_5' In file included from xa_x11.c:1502: xa_x11.c:1350: incompatible type for argument 0 of `xanim_dec_audio_1' In file included from xa_x11.c:1505: xa_x11.c:1375: incompatible type for argument 0 of `xanim_inc_audio_1' In file included from xa_x11.c:1508: xa_x11.c:1362: incompatible type for argument 0 of `xanim_inc_audio_5' In file included from xa_x11.c:1511: xa_x11.c:1388: incompatible type for argument 0 of `xanim_mute_audio' In file included from xa_x11.c:1514: xa_x11.c:1401: incompatible type for argument 0 of `xanim_speaker_tog' In file included from xa_x11.c:1517: xa_x11.c:1409: incompatible type for argument 0 of `xanim_headphone_tog' In file included from xa_x11.c:1529: xa_x11.c:1032: incompatible type for argument 0 of `xanim_realize_remote' make: *** [xa_x11.o] Error 1 !!! ERROR: media-video/xanim-2.80.1-r4 failed. !!! Function src_compile, Line 108, Exitcode 2 !!! (no error message)
Does changing -O3 to -O2 in your cxxflags help at al?
Good call Caleb. It even builds OK with O3. It fails with CFLAGS="-O3 -march=athlon-xp -pipe -O3 " but is OK with CFLAGS="-O3 -march=athlon-xp -pipe". I don't know how I managed to get -O3 there twice but that is what caused the failure. I was doing `emerge -eUu world` at the time and only xanim failed. Thanks.
Looks like we figured it out.