Date: Sun, 22 Jul 2007 00:29:36 GMT From: Alex Ivasyuv aka SIEGERSTEIN <siegerstein@pochta.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/114801: audio/openal Message-ID: <200707220029.l6M0TaxX094540@www.freebsd.org> Resent-Message-ID: <200707220030.l6M0U2WQ007796@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114801 >Category: misc >Synopsis: audio/openal >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 22 00:30:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Alex Ivasyuv aka SIEGERSTEIN >Release: 6.2 >Organization: >Environment: FreeBSD siegerstein 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Jun 25 13:54:31 EEST 2007 siegerstein@siegerstein:/usr/obj/usr/src/sys/kernel-2007-06-25 i386 >Description: Fail to build port audio/openal ...................... gmake[4]: Leaving directory `/usr/ports/audio/openal/work/openal-0.0.8/src/arch' gmake[3]: Leaving directory `/usr/ports/audio/openal/work/openal-0.0.8/src/arch' gmake[3]: Entering directory `/usr/ports/audio/openal/work/openal-0.0.8/src' if /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../common/include -I../include -I../src/arch/i386 -I/usr/local/include -Wall -ansi -pedantic -finline-functions -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -I/usr/local/include/artsc -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -I/usr/local/include -I/usr/local/include/smpeg -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=athlon-xp -MT libopenal_la-alc_backend_bsd.lo -MD -MP -MF ".deps/libopenal_la-alc_backend_bsd.Tpo" -c -o libopenal_la-alc_backend_bsd.lo `test -f 'backends/alc_backend_bsd.c' || echo './'`backends/alc_backend_bsd.c; \ then mv -f ".deps/libopenal_la-alc_backend_bsd.Tpo" ".deps/libopenal_la-alc_backend_bsd.Plo"; else rm -f ".deps/libopenal_la-alc_backend_bsd.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I.. -I../common/include -I../include -I../src/arch/i386 -I/usr/local/include -Wall -ansi -pedantic -finline-functions -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -I/usr/local/include/artsc -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -I/usr/local/include -I/usr/local/include/smpeg -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=athlon-xp -MT libopenal_la-alc_backend_bsd.lo -MD -MP -MF .deps/libopenal_la-alc_backend_bsd.Tpo -c backends/alc_backend_bsd.c -fPIC -DPIC -o .libs/libopenal_la-alc_backend_bsd.o In file included from backends/alc_backend_bsd.c:18: /usr/local/include/sys/soundcard.h:939: warning: ISO C90 does not support `long long' /usr/local/include/sys/soundcard.h:1385: warning: ISO C90 does not support `long long' backends/alc_backend_bsd.c: In function `set_write_native': backends/alc_backend_bsd.c:356: error: `SOUND_PCM_WRITE_CHANNELS_is_obsolete_use_SNDCTL_DSP_CHANNELS_instead' undeclared (first use in this function) backends/alc_backend_bsd.c:356: error: (Each undeclared identifier is reported only once backends/alc_backend_bsd.c:356: error: for each function it appears in.) backends/alc_backend_bsd.c: In function `grab_read_native': backends/alc_backend_bsd.c:410: warning: `return' with no value, in function returning non-void gmake[3]: *** [libopenal_la-alc_backend_bsd.lo] Ошибка 1 gmake[3]: Leaving directory `/usr/ports/audio/openal/work/openal-0.0.8/src' gmake[2]: *** [all-recursive] Ошибка 1 gmake[2]: Leaving directory `/usr/ports/audio/openal/work/openal-0.0.8/src' gmake[1]: *** [all-recursive] Ошибка 1 gmake[1]: Leaving directory `/usr/ports/audio/openal/work/openal-0.0.8' gmake: *** [all] Ошибка 2 *** Error code 2 Stop in /usr/ports/audio/openal. *** Error code 1 Stop in /usr/ports/audio/openal. *** Error code 1 >How-To-Repeat: cd /usr/ports/audio/openal make install clean >Fix: /usr/ports/audio/openal/work/openal-0.0.8/src/backends/alc_backend_bsd.c replase line 356 if(ioctl(dsp_fd, SOUND_PCM_WRITE_CHANNELS, &channels)) { with if(ioctl(dsp_fd, SNDCTL_DSP_CHANNELS, &channels)) { and line 410 return; with return AL_FALSE; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707220029.l6M0TaxX094540>