Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142974 - media-sound/mp3splt does not compile with gcc 4.1.1
Summary: media-sound/mp3splt does not compile with gcc 4.1.1
Status: RESOLVED DUPLICATE of bug 126814
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-06 06:51 UTC by Oleg Eterevsky
Modified: 2006-08-06 07:01 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 Oleg Eterevsky 2006-08-06 06:51:06 UTC
While emerging media-sound/mp3splt with default compiler gcc 4.1.1 Ie got the following error:

if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H      -march=k8 -O3 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT mp3.o -MD -MP -MF ".deps/mp3.Tpo" \
  -c -o mp3.o `test -f 'mp3.c' || echo './'`mp3.c; \
then mv -f ".deps/mp3.Tpo" ".deps/mp3.Po"; \
else rm -f ".deps/mp3.Tpo"; exit 1; \
fi
In file included from mp3.c:37:
splt.h:100: error: array type has incomplete element type
In file included from splt.c:41:
splt.h:100: error: array type has incomplete element type
make[1]: *** [splt.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [mp3.o] Error 1

The package compiled nicely after switching to gcc 3.4.6.

$ emerge --info
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.aiya.ru/pub/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-s"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib acpi alsa apm avi bash-completion bindist bitmap-fonts bluetooth bzip2 cdr cjk cli crypt dlloader dri dts dvd dvdr dvdread encode exif ffmpeg firefox flac flash ftp gd gif glut gnome gpm gstreamer gtk gtk2 hal howl iconv ieee1394 imlib ipv6 isdnlog jabber java javascript jpeg jpeg2k libcaca lzw lzw-tiff mad matroska mng motif mp3 mpeg mpi musepack musicbrainz ncurses nls nptl nsplugin ocaml ogg openal opengl pam pcre pdf pdflib perl png pppd python qt quicktime readline reflection sdl session speex spell spl sqlite3 ssl svg symlink tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis wxwindows xml xorg xpm xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-06 07:01:57 UTC

*** This bug has been marked as a duplicate of 126814 ***