| Summary: | media-sound/timidity++-2.13.2 won't compile using gcc-4.0.2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | node <nullcore> |
| Component: | [OLD] GCC Porting | Assignee: | Please assign to toolchain <gcc-porting> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | blog, filipe, nullcore |
| Priority: | High | ||
| Version: | 2005.1 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | gcc4 fix | ||
|
Description
node
2006-02-20 00:18:29 UTC
you neglected to post any real info Created attachment 80250 [details, diff]
gcc4 fix
Fixes static redeclaration of non-static object:
xaw_i.c:264: error: static declaration of 'voices' follows non-static declaration
../timidity/playmidi.h:525: error: previous declaration of 'voices' was here
xaw_i.c: In function 'a_start_interface':
xaw_i.c:3317: warning: pointer targets in passing argument 4 of 'XReadBitmapFile' differ in signedness
xaw_i.c:3317: warning: pointer targets in passing argument 5 of 'XReadBitmapFile' differ in signedness
xaw_i.c:3558: warning: pointer targets in passing argument 4 of 'XReadBitmapFile' differ in signedness
xaw_i.c:3558: warning: pointer targets in passing argument 5 of 'XReadBitmapFile' differ in signedness
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../timidity -I../libarc -I../utils -I/usr/kde/3.4/include/artsc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -DAU_OSS -DAU_ALSA -DAU_ARTS -DAU_ESD -DAU_VORBIS -I/usr/include -I/usr/kde/3.4/include/artsc -pthread -MT xskin_i.o -MD -MP -MF ".deps/xskin_i.Tpo" \
-c -o xskin_i.o `test -f 'xskin_i.c' || echo './'`xskin_i.c; \
then mv -f ".deps/xskin_i.Tpo" ".deps/xskin_i.Po"; \
else rm -f ".deps/xskin_i.Tpo"; exit 1; \
fi
make[3]: *** [xaw_i.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/timidity++-2.13.2/work/TiMidity++-2.13.2/interface'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/timidity++-2.13.2/work/TiMidity++-2.13.2/interface'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/timidity++-2.13.2/work/TiMidity++-2.13.2'
make: *** [all] Error 2
Sorry, here is the relevant output of compilation: xaw_i.c:264: error: static declaration of 'voices' follows non-static declaration ../timidity/playmidi.h:525: error: previous declaration of 'voices' was here xaw_i.c: In function 'a_start_interface': xaw_i.c:3317: warning: pointer targets in passing argument 4 of 'XReadBitmapFile' differ in signedness xaw_i.c:3317: warning: pointer targets in passing argument 5 of 'XReadBitmapFile' differ in signedness xaw_i.c:3558: warning: pointer targets in passing argument 4 of 'XReadBitmapFile' differ in signedness xaw_i.c:3558: warning: pointer targets in passing argument 5 of 'XReadBitmapFile' differ in signedness if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../timidity -I../libarc -I../utils -I/usr/kde/3.4/include/artsc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -DAU_OSS -DAU_ALSA -DAU_ARTS -DAU_ESD -DAU_VORBIS -I/usr/include -I/usr/kde/3.4/include/artsc -pthread -MT xskin_i.o -MD -MP -MF ".deps/xskin_i.Tpo" \ -c -o xskin_i.o `test -f 'xskin_i.c' || echo './'`xskin_i.c; \ then mv -f ".deps/xskin_i.Tpo" ".deps/xskin_i.Po"; \ else rm -f ".deps/xskin_i.Tpo"; exit 1; \ fi make[3]: *** [xaw_i.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/timidity++-2.13.2/work/TiMidity++-2.13.2/interface' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/timidity++-2.13.2/work/TiMidity++-2.13.2/interface' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/timidity++-2.13.2/work/TiMidity++-2.13.2' make: *** [all] Error 2 (In reply to comment #0) > Portage 2.0.53 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r3, > 2.6.12-gentoo-r10 i686) > ================================================================= > System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) M processor 1600MHz > Gentoo Base System version 1.6.14 > dev-lang/python: 2.3.5-r2, 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.16.1 > sys-devel/libtool: 1.5.22 > virtual/os-headers: 2.6.11-r2 > ACCEPT_KEYWORDS="x86" > AUTOCLEAN="yes" > CBUILD="i686-pc-linux-gnu" > CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" > CHOST="i686-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config > /usr/share/config /var/qmail/control" > CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" > CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" > DISTDIR="/usr/portage/distfiles" > FEATURES="autoconfig distlocks sandbox sfperms strict" > GENTOO_MIRRORS="http://distfiles.gentoo.org > http://distro.ibiblio.org/pub/linux/distributions/gentoo" > MAKEOPTS="-j2" > PKGDIR="/usr/portage/packages" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > SYNC="rsync://rsync.gentoo.org/gentoo-portage" > USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups > curl eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb > fortran gdbm gif glut gmp gpm gstreamer idn imlib ipv6 jpeg kde lcms libg++ > libwww mad mikmod mmx mmx2 mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl > oss pam pcre pdflib perl png python qt quicktime readline samba sdl spell sse > sse2 ssh ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb > vorbis xcompmgr xine xml2 xmms xv xvid zlib userland_GNU kernel_linux > elibc_glibc" > Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY > (In reply to comment #0) > Portage 2.0.53 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r3, > 2.6.12-gentoo-r10 i686) > ================================================================= > System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) M processor 1600MHz > Gentoo Base System version 1.6.14 > dev-lang/python: 2.3.5-r2, 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.16.1 > sys-devel/libtool: 1.5.22 > virtual/os-headers: 2.6.11-r2 > ACCEPT_KEYWORDS="x86" > AUTOCLEAN="yes" > CBUILD="i686-pc-linux-gnu" > CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" > CHOST="i686-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config > /usr/share/config /var/qmail/control" > CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" > CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" > DISTDIR="/usr/portage/distfiles" > FEATURES="autoconfig distlocks sandbox sfperms strict" > GENTOO_MIRRORS="http://distfiles.gentoo.org > http://distro.ibiblio.org/pub/linux/distributions/gentoo" > MAKEOPTS="-j2" > PKGDIR="/usr/portage/packages" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > SYNC="rsync://rsync.gentoo.org/gentoo-portage" > USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups > curl eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb > fortran gdbm gif glut gmp gpm gstreamer idn imlib ipv6 jpeg kde lcms libg++ > libwww mad mikmod mmx mmx2 mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl > oss pam pcre pdflib perl png python qt quicktime readline samba sdl spell sse > sse2 ssh ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb > vorbis xcompmgr xine xml2 xmms xv xvid zlib userland_GNU kernel_linux > elibc_glibc" > Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY > this is already fixed in 2.13.2-r2 you're probably going to hit a lot of these things if you try and use gcc-4 with the stable tree *** Bug 135105 has been marked as a duplicate of this bug. *** *** Bug 139762 has been marked as a duplicate of this bug. *** |