Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245591 - media-sound/alsa-utils-1.0.17 - names.c:288: error: 'snd_rawmidi_t' undeclared (first use in this function)
Summary: media-sound/alsa-utils-1.0.17 - names.c:288: error: 'snd_rawmidi_t' undeclare...
Status: RESOLVED DUPLICATE of bug 234184
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo ALSA team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-04 20:59 UTC by Karel De Vriendt
Modified: 2008-11-10 16:09 UTC (History)
0 users

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


Attachments
build log (build.log,9.08 KB, text/plain)
2008-11-04 21:07 UTC, Karel De Vriendt
Details
Build environment (environment,93.62 KB, text/plain)
2008-11-04 21:08 UTC, Karel De Vriendt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karel De Vriendt 2008-11-04 20:59:35 UTC
Unable to emerge alsa-utils(-1.0.17)

Reproducible: Always

Steps to Reproduce:
1. emerge alsa-utils
2. compilation aborts
3.



Error message: 

Making all in alsactl
make[1]: Entering directory `/var/tmp/portage/media-sound/alsa-utils-1.0.17/work/alsa-utils-1.0.17/alsactl'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include     -O2 -march=pentium-m -pipe -MT alsactl.o -MD -MP -MF .deps/alsactl.Tpo -c -o alsactl.o alsactl.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include     -O2 -march=pentium-m -pipe -MT state.o -MD -MP -MF .deps/state.Tpo -c -o state.o state.c
mv -f .deps/alsactl.Tpo .deps/alsactl.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include     -O2 -march=pentium-m -pipe -MT names.o -MD -MP -MF .deps/names.Tpo -c -o names.o names.c
names.c: In function 'probe_rawmidi_virtual':
names.c:288: error: 'snd_rawmidi_t' undeclared (first use in this function)
names.c:288: error: (Each undeclared identifier is reported only once
names.c:288: error: for each function it appears in.)
names.c:288: error: 'rawmidi1' undeclared (first use in this function)
names.c:288: error: 'rawmidi2' undeclared (first use in this function)
names.c:294: error: 'SND_RAWMIDI_NONBLOCK' undeclared (first use in this function)
names.c: In function 'probe_rawmidi_card':
names.c:318: error: 'snd_rawmidi_info_t' undeclared (first use in this function)
names.c:318: error: 'info1' undeclared (first use in this function)
names.c:318: error: 'info2' undeclared (first use in this function)
names.c:335: error: 'SND_RAWMIDI_STREAM_OUTPUT' undeclared (first use in this function)
names.c:339: error: 'SND_RAWMIDI_STREAM_INPUT' undeclared (first use in this function)
names.c:345: warning: assignment makes pointer from integer without a cast
names.c:346: warning: assignment makes pointer from integer without a cast
names.c:353: warning: assignment makes pointer from integer without a cast
names.c:354: warning: assignment makes pointer from integer without a cast
names.c:366: warning: assignment makes pointer from integer without a cast
names.c:368: warning: assignment makes pointer from integer without a cast
make[1]: *** [names.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/state.Tpo .deps/state.Po
make[1]: Leaving directory `/var/tmp/portage/media-sound/alsa-utils-1.0.17/work/alsa-utils-1.0.17/alsactl'
make: *** [all-recursive] Error 1
 * 
 * ERROR: media-sound/alsa-utils-1.0.17 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2524:  Called die
 * The specific snippet of code:
 * emake || die "make failed"
 * The die message:
 * make failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/alsa-utils-1.0.17/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/alsa-utils-1.0.17/temp/environment'.
 * 

>>> Failed to emerge media-sound/alsa-utils-1.0.17, Log file:

>>>  '/var/tmp/portage/media-sound/alsa-utils-1.0.17/temp/build.log'


And emerge --info

emerge --info
Portage 2.2_rc13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-i686-Intel-R-_Pentium-R-_M_processor_1.70GHz-with-glibc2.0
Timestamp of tree: Tue, 04 Nov 2008 20:21:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa apm bash-completion bindist bzip2 cdr cli cpufreq cracklib crypt cups dbus directfb dri dvd exif fbcon ffmpeg flac gdbm gif gpm gtk hal iconv imlib jpeg jpeg2k lm_sensors loop-aes mmx mp3 mudflap ncurses nls nptl nptlonly nsplugin opengl pam pcmcia pcre perl png python raw readline session spl sse sse2 ssl svg svga sysfs tcpd tiff truetype unicode x86 xcomposite xorg zlib" ALSA_CARDS="intel8x0" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Karel De Vriendt 2008-11-04 21:07:51 UTC
Created attachment 170741 [details]
build log
Comment 2 Karel De Vriendt 2008-11-04 21:08:30 UTC
Created attachment 170743 [details]
Build environment
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-04 23:37:32 UTC
Seems like you have USE=-midi.
Comment 4 Karel De Vriendt 2008-11-05 05:39:03 UTC
Right and indeed it compiles when I change that (although I would not know why midi is needed).

Thanks for the hint
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-10 16:09:57 UTC

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