CC sndfile-play.c:63:26: error: sys/audioio.h: No such file or directory sndfile-play.c: In function 'solaris_play': sndfile-play.c:831: error: 'audio_info_t' undeclared (first use in this function) sndfile-play.c:831: error: (Each undeclared identifier is reported only once sndfile-play.c:831: error: for each function it appears in.) sndfile-play.c:831: error: expected ';' before 'audio_info' sndfile-play.c:832: warning: ISO C90 forbids mixed declarations and code sndfile-play.c:857: warning: implicit declaration of function 'AUDIO_INITINFO' sndfile-play.c:857: warning: nested extern declaration of 'AUDIO_INITINFO' sndfile-play.c:857: error: 'audio_info' undeclared (first use in this function) sndfile-play.c:862: error: 'AUDIO_ENCODING_LINEAR' undeclared (first use in this function) sndfile-play.c:863: error: 'AUDIO_MAX_GAIN' undeclared (first use in this function) sndfile-play.c:864: error: 'AUDIO_MID_BALANCE' undeclared (first use in this function) sndfile-play.c:866: error: 'AUDIO_SETINFO' undeclared (first use in this function) make[1]: *** [sndfile-play.o] Error 1 Portage 2.2.00.13621-prefix (prefix/sunos/solaris/5.11/x86, gcc-4.2.4, unavailable, 5.11 i86pc) ================================================================= System uname: Solaris-2.11-i86pc-i386-32bit-ELF Timestamp of tree: Sun, 17 May 2009 22:02:59 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.0_p17-r1 dev-lang/python: 2.5.4-r2, 2.6.2 dev-util/ccache: 2.4-r8 sys-devel/autoconf: 2.63-r01.1 sys-devel/automake: 1.10.2-r00.1 sys-devel/binutils: 2.19.1-r01.1 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6a ACCEPT_KEYWORDS="~x86-solaris" CBUILD="i386-pc-solaris2.11" CFLAGS="-g -O2 -pipe" CHOST="i386-pc-solaris2.11" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-g -O2 -pipe" DISTDIR="/var/cache/distfiles" EPREFIX="/opt/gentoo" FEATURES="collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="it_IT.UTF-8" LDFLAGS="" PKGDIR="/opt/gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/opt/gentoo/" 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="/opt/gentoo/var/tmp" PORTDIR="/opt/gentoo/usr/portage" PORTDIR_OVERLAY="/opt/gentoo/usr/local/portage/my-overlay" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="cracklib midi ncurses prefix readline ssl unicode x86-solaris zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="SunOS" INPUT_DEVICES="keyboard mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
hmmm, it seems we're not the only two who have a couple of missing header files including sys/audioio.h
[05:45:03] <freakabcd> hi all [05:45:25] <freakabcd> can someone tell me which osol package provides the devel headers for SUN audio ? [05:45:41] <freakabcd> <sys/audioio.h> is what i'm looking for [05:46:06] <jbk> SUNWhea ? [05:47:34] <freakabcd> jbk, how do you find out? is there a way to search for specific files and find which package(s) provide it? [05:47:43] <jbk> yes [05:47:45] <Triskelios> if you have the package installed, pkgchk -l -P [05:47:54] <jbk> or [05:47:58] <Triskelios> err, on sx/s10 [05:48:01] <jbk> if using opensolaris and not sxce [05:48:15] <jbk> pkg search -r audioio.h [05:48:15] <jbk> iirc well, for my system: pkg search -r audioio.h INDEX ACTION VALUE PACKAGE basename file usr/include/sys/audioio.h pkg:/SUNWaudh@0.5.11-0.111 installing it makes the package compile nicely. I added a hint to the die message for this, not much we can do about this.
> > I added a hint to the die message for this, not much we can do about this. Thanks for the hint :-)